You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Comment out '/dnsaddr/bootstrap.libp2p.io.. or change to '/dns4/bootstrap.libp2p.io... and the process exits as expected.
Does not happen with libp2p-websockets as a transport, only libp2p-tcp.
The text was updated successfully, but these errors were encountered:
achingbrain
changed the title
/dnsaddr multiaddrs hang forever/dnsaddr multiaddrs in bootstrap list hang forever
Mar 22, 2021
achingbrain
changed the title
/dnsaddr multiaddrs in bootstrap list hang forever/dnsaddr multiaddrs in bootstrap list cause stopping a libp2p node to hang forever
Mar 22, 2021
Looking into this, the node is in theory stopped as the the stop promise is resolved. However, the ongoing dials are not being properly stopped, which ends up with the process hanging as libp2p/js-libp2p#779
The difference of using /dnsaddr seems to be that it will result in a set of other addresses to dial and the dial queue will be working when the stop happens.
Comment out
'/dnsaddr/bootstrap.libp2p.io..
or change to'/dns4/bootstrap.libp2p.io...
and the process exits as expected.Does not happen with
libp2p-websockets
as a transport, onlylibp2p-tcp
.The text was updated successfully, but these errors were encountered: