WebSockets TLS ERR_CONNECTION_RESET
I have a WPF application running as "Server" that sends data to the browser via WebSockets "Server" sends this data over the top http://localhost:8181
to my site successfully.
The problem is that I recently updated my site to be accessible over HTTPS, but now all requests to websites are being blocked because it is not secure. ws://localhost:8181.
I changed the server to send data via TLS ( https://localhost:8443
) and my site to receive sockets via wss: // localhost: 8443.
But now I always get the following error:
WebSocket connection with 'wss: // localhost: 8443 / MyData / stream' failed: error establishing connection: net :: ERR_CONNECTION_RESET
Access-Control-Allow-Origin is set to *
What am I doing wrong here?
source to share
No one has answered this question yet
Check out similar questions: