Skip to content

Inconsistency between implementations on connect #327

Closed
@vasco-santos

Description

@vasco-santos
  • Version: 0.25.0-rc.0
  • Platform: Mac os
  • Subsystem: Dial

Type: Inconsistency between implementations

Severity: Medium

Description:

In the context of creating interop tests for guaranteeing that peers implemented in a specific language are able to connect with other nodes, regardless of their implementation language, I found out a different behavior when connecting two JS nodes.

Connecting JS -> Go, Go -> JS and Go -> Go all work fine. However, when connecting JS A -> JS B, JS B takes some time to have its known peers updated.

Testing: https://github.com/libp2p/interop/pull/4/files#diff-cfbb48e0364acbf79524761f7b1b125fR53

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps upexp/expertHaving worked on the specific codebase is importantkind/bugA bug in existing code (including security flaws)status/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions