News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Websocket Connection Failed
Tags: webhooks
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

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  

@Lloyd Hause Could you send over the code to I tried with my own example code and it worked OK.


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

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

Resource center
Product Releases
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us