Socket.io is not connecting when using /socket.io/?EIO=4&transport=websocket #4671
-
I am using nodejs backend and nodejs ejs frontend and my deployment server is apache. I have successfully run flow on localhost but when I move the code to production it gives me 400 bad request error on https://serverURL/socket.io/?EIO=4&transport=websocket but it send response on https://serverURL/socket.io/?EIO=4&transport=polling I am stuck can any one please help. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi! Please check the documentation for apache: https://socket.io/docs/v4/reverse-proxy/#apache-httpd |
Beta Was this translation helpful? Give feedback.
Hi! Please check the documentation for apache: https://socket.io/docs/v4/reverse-proxy/#apache-httpd