Closed aarthi-mallow closed 2 years ago
Which browser is this happening in? Does this happen in other browsers as well?
@aarthi-mallow did you find any solution for reconnecting. I am also facing the same issue. If the network is back within 10 min it is successfully able to reconnect, after that, it tries to establish the connection even there was a network.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
I am using AWS IOT for the socket connection. Below is the code which connects the client to the AWS IoT. Everything works fine until the browser tab becomes idle for a while.
The socket reconnects fails when trying to reconnect. Attached screenshot of the same. Is there anything that I am missing here?
I came across this issue(https://github.com/aws/aws-iot-device-sdk-js/issues/393) and we are following everything suggested there(Using
ats endpoint
, using different clientId for each tab, we are not clearing local storage).