Answer the question
In order to leave comments, you need to log in
Why won't browsers connect to wss?
I'm making a WebRTC video chat with JS and Django.
There was a need for HTTPS.
I don't know much about this, so I need help.
The script says to use ws for http, and wss for https. When I run https through ngrok, everything works.
But these aren't real certificates, are they?
According to this instruction , I installed self-signed certificates, I run it, but Firefox returns:
Firefox cannot connect to wss server
WebSocket connection to ' wss://127.0.0.1:8000/ ' failed:
WebSocket is already in CLOSING or CLOSED state.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question