-
Notifications
You must be signed in to change notification settings - Fork 90
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
Sometimes only peerId is passed to libp2p dialer #2027
Comments
How much of a delay do we think this causes? |
Note: we think this is already fixed in the branch with libp2p fixes for #2055 |
I don't think it causes a delay because before dialing peer we convert peer address string to multiaddr and it immediately screams that the address is incorrect.
During nest(?) refactoring saving peer stats format to leveldb changed -> before key in saved object was a full peer address, after refactoring it became a peerID. This led to the bugs in other parts of the code. |
Okay. Why is this in "blocked"?
If this is the case, it seems like we should fix it, since initial connection when joining or returning is a place where we're really sensitive to problems. |
I don't know why you put it to blocked. |
Ha, woops. I don't either! Thanks for clarifying! |
Version: 2.0.3-alpha.10 Fixed as a part of #1982 |
I did not investigate it further but I noticed that when joining or reopening the app I can see that dialer receives only peerId instead of whole peer address:
It doesn't seem like a serious issue because libp2p eventually connects (maybe uses its internal addressBook, I don't know).
The text was updated successfully, but these errors were encountered: