Socket.io Stuck in long pulling on production #4035
-
I have a socket.io server that accepts connection and i have deployed it for production use and it's working well except that it is stuck in long pulling and never upgrade to websocket connection i have tried the solution as specified here yet is still stuck in long pulling, i also use the https and supplied my key and ca yet when the connection is upgrading to wss://messenger.watunet.com the connection never upgrades at all and the status for this request on chrome browser is finished. Please is they a way i can resolve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
In most cases it's a misconfiguration of the reverse proxy in front of the server. Did you check https://socket.io/docs/v4/reverse-proxy/ ? Besides, it seems I can't access the server at the URL you provided:
|
Beta Was this translation helpful? Give feedback.
In most cases it's a misconfiguration of the reverse proxy in front of the server. Did you check https://socket.io/docs/v4/reverse-proxy/ ?
Besides, it seems I can't access the server at the URL you provided: