Skip to content
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

Connect API between go-libp2p & jvm-libp2p returns error #234

Open
ShwetaTripathi05 opened this issue Mar 4, 2022 · 3 comments
Open

Connect API between go-libp2p & jvm-libp2p returns error #234

ShwetaTripathi05 opened this issue Mar 4, 2022 · 3 comments

Comments

@ShwetaTripathi05
Copy link

I am trying to establish connection between a go-libp2p host and another jvm-libp2p host. When I use the host.connect() API from the go-libp2p node by passing the multiaddress and peerID of the jvm-libp2p node, it returns an error : “failed to negotiate security protocol: protocol not supported”.

Any help on resolution of the above error would be appreciated!

@Nashatyrev
Copy link
Collaborator

What security protocols are set up for hosts on both Go and Jvm sides?

@vikinatora
Copy link

Experiencing the same issue as @ShwetaTripathi05.

@vikinatora
Copy link

@ShwetaTripathi05 I managed to resolved the issue by validating that both jvm and go peer announce identical protocols. If there's no match between the protocol identifiers, then it throws this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants