Need help with this reconnecting issue #1260
-
Describe the bug To Reproduce
Expected behavior Logs polling connection accepted with {'sid': '', 'upgrades': ['websocket'], 'pingInterval': 10000, 'pingTimeout': 5000, 'maxPayload': 1000000} Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The issues board is for issues with this project, not for help with issues on your own application. Next time please use the discussions board to ask questions. I have moved your post this time. The error is an unexpected packet from the server:
This mean that the server stopped communicating with the client. The server indicated that it was going to send a |
Beta Was this translation helpful? Give feedback.
-
okay i will post it in discussions next time sorry for that , can you help me run like function separated that the socket ping and responds without waiting |
Beta Was this translation helpful? Give feedback.
-
nvm fixed |
Beta Was this translation helpful? Give feedback.
The issues board is for issues with this project, not for help with issues on your own application. Next time please use the discussions board to ask questions. I have moved your post this time.
The error is an unexpected packet from the server:
This mean that the server stopped communicating with the client. The server indicated that it was going to send a
PING
packet every 10 seconds with the'pingInterval': 10000
. If the client does not see PINGs at the declared interval it ends the connection assuming the server is unresponsive.