Skip to content

bug: circuit-relay connectivity fails sometimes #1143

@chaitanyaprem

Description

@chaitanyaprem

Describe the bug
During dogfooding session, a node trying to connect to a circuit-relay address of another desktop node failed to connect first time, but subsequently succeeded in connecting in 2nd try.

To Reproduce
Steps to reproduce the behavior:

  1. run a status-desktop node n1 which doesn't have public port exposed(due to upnp failure or something else)
  2. Get its addresses and note down circuit relay address
  3. connect from another status-desktop n2 to n1 using its circuit-relay address.
  4. tail geth.log in node2 grepping peerID of node1
    tail -f geth.log | grep <n1 peerID>
  5. Observe that connection happens at first and then n1 disconnects after trying to initiate metadata on its own. Note that metadata from n1 to n2 req/resp would have happened successfully.

Expected behavior
Circuit relay connection should succeed always.

Logs of 2 tries where first time connection failed after some time. Second time connection was successful

failed_circuit-relay.log

As per logs, n2's address is 16Uiu2HAkwZiPPrXBPuFg2HthDYm6zL5hyvLsVmS22UossWNcLDGX

Possible issus:

  1. either with nwaku node that is acting as relay-server which is flaky
  2. or sequence of events the receiving go-waku node n2 caused this failure

cc @richard-ramos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions