# How to handle internet disconnection properly

**URL:** <https://devforum.zoom.us/t/how-to-handle-internet-disconnection-properly/65018>\
**Category:** Web\
**Created:** [March 1, 2022, 4:50am UTC](https://devforum.zoom.us/t/how-to-handle-internet-disconnection-properly/65018 "2022-03-01T04:50:42Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [March 28, 2022, 7:44am UTC](https://devforum.zoom.us/t/how-to-handle-internet-disconnection-properly/65018/14 "2022-03-28T07:44:11Z")

</div>

Hey @shoaib

The `state:'Fail',reason:'connection error')` return value indicates the video sdk cannot reach any available servers. It usually occurs when the network is disconnected.

And for why others can still see the disconnected user in the session, our server has a hearbeat detection mechanism, when the disconnection exceeds two minutes, the user will be shown as leaving(disappeared in the user list).

We do this so that others don’t see you rejoining the session due to a short-term network disconnection or network switch.

Thanks  
Vic

---

_[View the full topic](https://devforum.zoom.us/t/how-to-handle-internet-disconnection-properly/65018)._
