-
Notifications
You must be signed in to change notification settings - Fork 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
Unable to dial bootstrap nodes InvalidKey
#2971
Comments
You are dialing RSA keys but probably have not enabled the I gotten bitten by the same thing, the error message should really be better! |
Uff, can confirm that is the issue, but this is a pretty big footgun |
I am working on a patch to improve this situation :) |
thomaseizinger
added a commit
that referenced
this issue
Oct 3, 2022
This should make for better error messages when support for certain keys is disabled. Fixes #2971.
4 tasks
mergify bot
pushed a commit
that referenced
this issue
Nov 23, 2022
In case support for e.g. RSA keys is disabled at compile-time, we will now print a better error message. For example: > Failed to dial Some(PeerId("QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt")): Failed to negotiate transport protocol(s): [(/dnsaddr/bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt): : Handshake failed: Handshake failed: Invalid public key: Key decoding error: RSA keys are unsupported)] Fixes #2971.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I just upgraded my fork to the current
master
, but am now getting the following error when dialing the boostrap nodesMy current noise setup looks like this:
The text was updated successfully, but these errors were encountered: