-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic with signed peer records in go-lib2p v0.9.0 #939
Comments
maybe relevant: we're staring our test |
also, it's worth noting that not all the instances failed - it was about 80 / 1000. so there may be a race condition that only happens rarely. I'm going to try making a minimal testground test case to reproduce the issue & will link it here |
Hm. Somehow we're not creating the signed peer record, or somehow deleting it. We should return an error when we fail to create/store this record, so something weird is happening. |
It looks like this only happens if you create the host with no listen addrs, e.g. by calling Then if you call The good news is, this is probably won't affect many real-world users. We're hitting it in our test plans because we're using the |
We upgraded to the latest go-libp2p in the pubsub testplans in
libp2p/test-plans
(see libp2p/test-plans#7) and now identify no longer works.The smoking gun is this panic:
The text was updated successfully, but these errors were encountered: