Sessions seem to "time out" and sometimes never connect
See original GitHub issueI’ve come back to bugout after a hiatus and have been playing around with basic chat.
What I’ve been noticing is that the sessions are timing out if the user is idle. The other party isn’t able send or receive messages in that room either because my session isn’t active any longer. Sometimes the session never reconnects until the first instance is refreshed several times, or unless I duplicate the tab to “kickstart” the session.
Is this something that you have seen before and/or do you have any ideas on how to improve connectivity? By the way, I am doing a simple p2p room, not server/client based, if that matters.
I added b.heartbeat()
thinking it might help, but it has not.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to Fix Session Has Expired Error on the Internet
If your Internet connection is unstable, periodically disconnecting and reconnecting, it can cause a website session to expire. When the ...
Read more >Help corner: Timeout problems when initiating an RDP session
“When the issue arises, users attempting to initiate an RDP session are able to enter their login credentials no problem, but the session...
Read more >Session Timeout - an overview | ScienceDirect Topics
Session timeout is a fairly popular option that needs to be used carefully. ... It is used to determine how long a device...
Read more >Identifying and troubleshooting VPN session timeout issues
Potential VPN timeout issues include the following: The internet connection is spotty. The internet connection at a certain location blocks VPN access. The...
Read more >So many timeouts all of a sudden! (Remote Control session ...
With Comcast (our old provider) I would get timeouts/closed sessions maybe once or twice a day, always when the connection was idle.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a long running service using Bugout which connects find even after being online for a year. I think the difference here is you want the connection itself to be long running and/or reconnect when it goes offline. I haven’t tested this use-case much, but have marked this as a bug and will investigate next time I am working on Bugout. In the meantime if you discover anything please note it here. You can turn on extra debugging in the console with:
localStorage["debug"] = "bugout,webtorrent"
Thanks for reporting this.
@draeder I have upgraded the tracker server to the latest version of
bittorrent-tracker
which was long overdue. Hopefully this brings some stability.