Replies: 1 comment 2 replies
-
Hard to know what the problem is, but the error does mean that the WebSocket connection request is missing something. You may need to hand edit the server.py file of the python-engineio package which issues this error to log the request at the time the error is printed. That would be a relatively easy way to figure out what is missing. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
script
nginx
This problem is shown after move socket.io to https under nginx.
Before i ran in independent docker container without nginx configuration.
If i try to connect via postman (socket.io request) - i get "Error: Unexpected server response: 400".
In terminal i have only this:
INFO:engineio.server:Invalid websocket upgrade
It seems like postman doesnt send Upgrade header, but it does:
Has someone faced this problem before?
Beta Was this translation helpful? Give feedback.
All reactions