libp2p / libp2p/jvm-libp2p

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

Open
#234 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
366
Forks
85
Avg merge
2d 39m
Merged PRs (30d)
6

Description

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!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the host.connect() call from the go-libp2p node with the jvm-libp2p multiaddress and peerID, and capture the security negotiation error. Read the security protocol negotiation on both sides to identify the interoperability mismatch; done means the two hosts establish a connection without the protocol-not-supported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kotlin
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.