Symptom
When using the JavaScript SDK, I received a RumorSocket or sessionDisconnect error.
Applies To
- JavaScript SDK
- RumorSocket
- Disconnection
- Video API
Resolution
- In the case of receiving a sessionDisconnected event, the best way to reconnect is to call Session.connect() once more. If this fails, that would mean that the user is unable to reach Vonage's messaging servers. This would indicate that either the user has no internet connection, or our services are down at the moment.
- The next step would be to have the user refresh the page with location.reload(true). This forces the browser to refresh the page while ignoring the cache. If the user is unable to refresh the page, it's most likely that they have no internet connectivity.
- If the user is able to refresh the page, but still cannot connect to the Video session, then it's possible that the Video server the session was on is down. If this is the case, then you can try creating a new session, which should then be routed to a different messaging server that is available.
- In most cases, the inability to connect with Vonage's servers is temporary. If the user is unable to connect to Vonage's servers for an extended period of time, submit a support request with the date, time, and session ID of the incident, any information that can identify the user having the problem, and any results of the debugging steps listed above.
Cause
Whenever an end-user sees a RumorSocket error, this indicates that the end-user's connection to the Vonage Video API protocol messaging server was disrupted, typically due to the connection being unreliable. The SDK will attempt to reconnect when this happens, but if it fails to do so, the user will receive a sessionDisconnected event.
Articles in this section
- Android SDK 2.28.2 error when using the application context
- What happens if your session lasts more than 8 hours?
- Updates to using the Vonage Media Library in Native SDKs from version 2.27.x onwards
- React-Native Zoom In/Out Feature
- Why has the size of the iOS/Android SDKs increased so much from version 2.25.2?
- Integrating Picture-in-Picture with Vonage Video Web
- How to Use the Vonage Media Processor Library for Audio and Video Transformations
- Screen Sharing Support on Mobile Devices
- How to change the strength of the Background Blur?
- What are the minimum system requirements to use Video Filters or Transformers?