Answer the question
In order to leave comments, you need to log in
Error in logs due to socket.io?
When connecting to the socket server, I see an error in the browser console:
WebSocket connection to 'ws://......./socket.io/?EIO=3&transport=websocket&sid=j-0_lBVNns0EDS73AAAJ' failed: Error during WebSocket handshake: Unexpected response code: 400
server {
listen 80;
server_name ***.**.**.***;
location / {
proxy_pass http://***.**.**.***:8000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
location ^~ /public/ {
root /srv/webapp;
}
}
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