In my case the baseURL configured in the playwright.config.ts file was on a different domain than the one I was trying to navigate to. Making them equal fixed it for me.
baseURL
playwright.config.ts