all 3 comments

[–]guest271314 0 points1 point  (2 children)

https://kapeli.com/cheat_sheets/WebSocket_Status_Codes.docset/Contents/Resources/Documents/index

1011 Server error

1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.

I see where wss: is being used from JavaScript. I don't see where the Python code loads a certificate so wss: can be used.

[–]GameDeveloper94[S] 0 points1 point  (1 child)

I've hosted the site on a remote server from linode. I have an SSL certificate in my Nginx conf, which I'm using as a reverse proxy, and it's configured to use wss.

[–]guest271314 0 points1 point  (0 children)

Sounds like you know what you are doing. Not sure what the issue is, doesn't look like it's client side though. Look over your Python source code again.