# Intermittent Connection Drops and Multiple Reconnects in Zoom Video SDK

**URL:** <https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [June 19, 2024, 8:11am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194 "2024-06-19T08:11:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [June 19, 2024, 8:11am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/1 "2024-06-19T08:11:50Z")

</div>

**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==

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 19, 2024, 9:24am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/2 "2024-06-19T09:24:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [June 20, 2024, 12:00am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/3 "2024-06-20T00:00:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 2, 2024, 4:38am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/4 "2024-07-02T04:38:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 2, 2024, 5:57am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/5 "2024-07-02T05:57:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 3, 2024, 12:09am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/6 "2024-07-03T00:09:00Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 3, 2024, 2:04am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/7 "2024-07-03T02:04:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 3, 2024, 2:27am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/8 "2024-07-03T02:27:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 3, 2024, 7:44am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/9 "2024-07-03T07:44:21Z")

</div>

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==

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 3, 2024, 8:30am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/10 "2024-07-03T08:30:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 17, 2024, 12:15am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/11 "2024-07-17T00:15:54Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 17, 2024, 3:25am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/12 "2024-07-17T03:25:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 17, 2024, 5:08am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/13 "2024-07-17T05:08:49Z")

</div>

Hi @vic.yang

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

Thank you.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 18, 2024, 6:59am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/14 "2024-07-18T06:59:40Z")

</div>

Hey @yusuke.yamashita

We analyzed the log.

In the Video SDK, we use [web socket](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers) 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?

> **[WebSocket Echo Server](https://websocket.org/tools/websocket-echo-server/)**
>
> Public free endpoint used for testing Websockets, SSE and HTTP

[https://echo.websocket.org/.ws](https://echo.websocket.org/.ws)

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 19, 2024, 12:28am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/15 "2024-07-19T00:28:34Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 19, 2024, 6:01am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/16 "2024-07-19T06:01:08Z")

</div>

Hey @yusuke.yamashita

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

> **[Zoom network firewall or proxy server settings](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0060548)**
>
> On Zoom Status, Zoom announces scheduled maintenance when IP address updates are planned. Customers can

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 19, 2024, 6:23am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/17 "2024-07-19T06:23:33Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 19, 2024, 6:30am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/18 "2024-07-19T06:30:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 19, 2024, 6:43am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/19 "2024-07-19T06:43:02Z")

</div>

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?

> **[Zoom のネットワーク ファイアウォールまたはプロキシ サーバーの設定](https://support.zoom.com/hc/ja/article?id=zm_kb&sysparm_article=KB0060561)**
>
> アプリが「接続中」モードのままか、「ネットワーク エラーです。もう一度やり直してください」または「当社のサービスに接続できません。ネットワーク接続を確認してもう一度やり直してください」というエラーによりタイムアウトした場合は、ネットワーク接続、ネットワーク

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 25, 2024, 12:13am UTC](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/20 "2024-07-25T00:13:25Z")

</div>

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.

> [@Intermittent Connection Drops and Multiple Reconnects in Zoom Video SDK](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194/14):
>
> Hey @yusuke.yamashita We analyzed the log. In the Video SDK, we use [web socket](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers) 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 …

[Next page](https://devforum.zoom.us/t/intermittent-connection-drops-and-multiple-reconnects-in-zoom-video-sdk/112194.md?page=2)
