Next.js Discord

Discord Forum

This site can’t provide a secure connection

Unanswered
Champagne D’Argent posted this in #help-forum
Open in Discord
Avatar
Champagne D’ArgentOP
When running yarn build && yarn start and trying to run the dev server, I get the message "This site can’t provide a secure connection" because the dev server is forcing https for some reason when opening in the browser. The critical issue is that even when trying to run yarn dev again, this issue persists and it's very hard to get rid of (I have succeeded by trying a lot of things, including deleting then next folder, but I'm not sure exactly what fixes it). Can anyone shed some light on why this happens?

0 Replies