Intermittent Connection Drops and Multiple Reconnects in Zoom Video SDK

Description
We are providing a service that involves video calls using the Zoom Video SDK. Some users have reported intermittent connection drops. Upon checking the dashboard, we noticed that the affected users had multiple entries and exits.

The connection-change event shows that the state was “reconnecting” and the reason was “failover” multiple times.

Could this be due to issues with the participants’ network? Additionally, is there anything we can do within the application to improve the quality of experience for users with such network conditions?

We would appreciate your guidance.

Browser Console Error
The full error message or issue you are running into.

Which Web Video SDK version?
@zoom /videosdk: 1.11.6

Additional context
sessionIDs
zS9oPw02R6+VYodItPApAg==
O/Z05PULQuiQmwz2/eAx5w==
rAsXxDaHRiCv4W/OAnqiXw==

Hey @yusuke.yamashita

Thanks for your feedback.

We apologize for the poor experience you had.

We are working on analyzing the session ID you provided and will keep you updated.

Thanks
Vic

Thank you for your investigation.
I look forward to your response.

Hi @vic.yang
I hope you’re doing well. I wanted to follow up on my previous post regarding the issue I mentioned.

Since I haven’t received any responses yet, I was wondering if there might be any updates or additional information needed from my side to help address this issue.

Thank you in advance for your assistance.

Hey @yusuke.yamashita

Sorry for the late reply.

We carefully analyzed the session IDs you provided and found some issues, all of which might be related to the network.

zS9oPw02R6+VYodItPApAg==

15 instances of reconnecting, due to socket disconnections.

O/Z05PULQuiQmwz2/eAx5w==

8 instances of reconnecting, sometimes due to reloading page, sometimes due to socket disconnections.

rAsXxDaHRiCv4W/OAnqiXw==

12 instances of reconnecting, the reason is similar to the session mentioned above.

We’re also analyzing why there are so many reconnects. It could be related to firewall settings in the network or the stability of the network itself.

If this issue persists, could you share us with the corresponding session IDs and network environment configuration again?

Thanks
Vic

@vic.yang

This inquiry is from a user utilizing our service, and we do not have access to detailed information about the user’s network configuration. Is there anything we can do on the application side to ensure a good user experience for users in such communication environments?

We look forward to receiving your detailed investigation results.

Hey @yusuke.yamashita

We recommend prompting users to check their network connection when experiencing frequent reconnections.

Under poor network conditions, we dynamically adjust the video resolution. However, if there is a prolonged network lost, reconnections will occur.

Thanks
Vic

Hi @vic.yang

Understood.
Thank you for investigating.
I would appreciate it if you could let me know as soon as you identify the detailed cause of the issue.

Looking forward to your response.

Hi @vic.yang

Similar cases are occurring continuously.
Upon investigation, it appears that the disconnection and reconnection are happening regularly, approximately every two minutes.
Could you please look into the cause of this issue as well?

session id
lO0Io3dDQPi1Xuzeyb0yxg==
f+hfi67qStKJJKB0sSi0SA==
0lZpEGgRSeS1of0Vjq3ExQ==

Hey @yusuke.yamashita

Thanks for sharing the session IDs with us.

We are currently analyzing and troubleshooting the cause of this issue and will keep you updated.

Thanks
Vic

Hi @vic.yang

Is there any progress on this issue?
We are still experiencing this problem with some users, and it is causing significant difficulties.

I am not sure if this is helpful, but could using HTTP/1.1 for requests negatively impact the video call experience when using the Zoom Video SDK?

Hey @yusuke.yamashita

I’m sorry for not getting back to you sooner.

Using HTTP/1.1 does not affect the Video SDK.

We analyzed the sessions you provided and noticed that the connection drops approximately every 2 minutes. While we suspect it might be a network issue, we don’t have concrete evidence yet.

If possible, could you share some additional session IDs with us for troubleshooting purposes?

Thanks
Vic

Hi @vic.yang

Thank you for looking into this.
Here is the session ID where the issue is occurring:
RGX543UOQkeciMlJNHORWA==

Thank you.

Hey @yusuke.yamashita

We analyzed the log.

In the Video SDK, we use web socket to establish a connection between the browser and the server. However, after about 1 minute, the server stops receiving any data. We have a heartbeat detection mechanism, and if no heartbeat packets are received for around 40 seconds, the connection will be dropped, causing the Video SDK to attempt reconnection.

We suspect that there might be some issues with the user’s network configuration, possibly related to a firewall, causing long connections to be blocked.

Could you ask the user to test the WebSocket demo to see if they can continuously send and receive messages for more than 2 minutes?

https://echo.websocket.org/.ws

Thanks
Vic

Hi @vic.yang

Thank you for your investigation.
I will ask our customers to verify the issue.
We have received similar reports from multiple companies. Does this mean that it is a firewall issue on the customer’s side rather than a problem on Zoom’s side?

Additionally, if there is an issue with the firewall settings, are there any specific items that Zoom recommends reviewing?

Hey @yusuke.yamashita

We have a general network configuration guide for Zoom services, which will be helpful for you to refer to.

Thanks
Vic

Hi @vic.yang

Thank you. This is very helpful.

From what I can see on the dashboard, similar cases have occurred several times.
Is there anything else we can do besides reviewing the users’ internet environment?
Also, are there any plans to improve the heartbeat detection mechanism for web sockets to reduce such reconnection cases?

Hey @yusuke.yamashita

We will be releasing a probe service in the future to check network conditions and audio/video device status before joining a session. This might help with such issues.

Thanks
Vic

Thank you. I am looking forward to the release!

When using Zoom Video SDK Web for video calls, which section of the firewall settings provided earlier should be addressed?

Hi @vic.yang

As a result of the testing we requested, the first attempt resulted in an error after about 60 seconds, while the second attempt returned a response without any issues.