Jump to content

Connection lost very frequently


sriramb12

Recommended Posts

  • 2 months later...
  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

We're not sure what's going on here. We haven't been able to reproduce this ourselves, and our understanding is that Safari isn't supposed to throttle inactive tabs if they use WebSockets, which is how our app communicates with the server. If it happens again, can you let us know the time so we can check our server logs?

2.5 years later, but I remembered you saying that when I happened to come across this thread today:

 

https://github.com/socketio/socket.io/issues/2924

 

which was about how Safari *did* sporadically drop WebSocket connections when the page wasn't in focus, and a fix was put in place in SocketIO late last year. Might be of interest..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...