This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
offline boot: does not (re)bind #1837
Closed
Description
When using js-ipfs v0.34.2 and websocket-star-multi with the ignore_no_online
option, I'm able to start an js-ipfs embedded node while I have no internet connection.
But, if I regain connectivity, the transport doesn't try to bind to any of the given ws-star servers, rendering the current process unreachable.
What I would like to happen is to be able to bind (and rebind) if connectivity is intermitted, in spite of the node starting offline.
Is this something that should be handled by a) the app (and how?) b) libp2p or c) the ws-star-multi transport?
/cc @parkan