Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbetter offline reconnect behavior #318
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
Reconnect behavior could still be improved. I don't see https://instant.io reconnecting to the websocket tracker after my laptop battery has died, or I've shut the lid. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This is fixed now. You can go offline, come back online, and the download should resume. Also, remote peers who may be waiting for peers (because they have 0), will be able to connect to you. There were many bugs that I squashed to close this issue: simple-websocket
bittorrent-tracker
This fix is live on https://instant.io, and in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.

When internet connectivity is lost, webtorrent (websocket) tracker connections are lost and no reconnect happens. We should detect this condition and improve how it's handled.
This module might help: https://github.com/feross/connectivity