-
Notifications
You must be signed in to change notification settings - Fork 1.2k
The libp2p node is not started yet #1761
Comments
@Elexy mind doing a |
I pulled down benchmark and wasn't able to reproduce the issue. I ran the |
FWIW I have seen this a few times in CI recently. I think there is a bug here somewhere. |
@alanshaw if you could point me to a CI build with it when you have one I can take a look at that; seeing what's going on around the failure would be helpful. We should probably look at changing that behavior in libp2p regardless. More immediately we could just return an error if the node isn't started, rather than throwing an assertion. Longer term, it might be worth looking at having a queue for dials that are attempted offline that can then be initiated once startup has been completed. |
Okay, that looks like there are some dials trying to happen from bitswap after libp2p is or has shut down. I'll look into switching the assert over to a returned error instead and make sure we don't hit any side effects from that change. |
@Elexy this should now be fixed in master (thanks to libp2p/js-libp2p#297) - please open a new issue if you notice this error happening again. |
Version: commit 593334b
Platform: Linux js-ipfs-benchmarking 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Subsystem: ibp2p
running any of the tests from https://github.com/ipfs/benchmarks results in the error below, whereas earlier this week the tests ran without this error.
Type: bug
Critical - System crash, application panic.
The text was updated successfully, but these errors were encountered: