Websocket Connection Failed
Nov 15, 2023 at 8:05am • 2 replies • 0 likes
Lloyd Hause
The websocket connection was successfully established and server notifications were received but timed out after a few minutes. How can we restore it and keep it alive? Any help regarding would be appreciated.
2 Answers
answered on Nov 20, 2023 at 10:49am
@Da Kong could you please share your code where you implement ping pong mechanism to keep it active. Thanks
0
on Nov 20, 2023 at 8:34pm • 0 likes
There's a recover_connection method but nothing built-in to keep it alive. Let me add that and get back to you when it's added.
on Nov 21, 2023 at 6:56am • 0 likes
@Da Kong when you will recover_connection method?
on Nov 21, 2023 at 9:05pm • 0 likes
for whatever reason that might disconnect websockets, eg. Internet down. It should be used as a "try to recover" emergency plan whenever the connection is lost. But keep-alive is a valid case as well, for normal use.
answered on Nov 15, 2023 at 10:24pm
1
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.
We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!
Try RingCentral Workflow Builder