libp2p / libp2p/js-libp2p

Circuit relay stops accepting relay requests

Open
#2,833 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/support
Dominant language
TypeScript
Stars
2.6k
Forks
546
Avg merge
8h 18m
Merged PRs (30d)
16

Description

  • Version: 2.2.1

  • Platform: Issue encountered on Ubuntu and MacOS

  • Subsystem: Circuit relay v2

Severity: High
Description:

The circuit relay stops accepting new reservations after 5-10 connections by peers. Rebooting the relay temporarily solves the issue. The problem seems to occur independently of whether the reconnecting peers are the same peer or different peers. While peers can always connect to the relay, they are unable to connect to each other through p2p-circuit.

Steps to reproduce the error:
  1. Start a circuit relay.
  2. Connect a few peers to the relay.
  3. Disconnect and reconnect 5-10 times.
  4. Eventually, peers will be unable to connect to each other through p2p-circuit on the relay.

Contributor guide

Open the contributing guide

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 with the Circuit relay v2 implementation and reproduce the failure using the reported sequence: connect peers, disconnect and reconnect 5–10 times, then attempt p2p-circuit connections. Trace reservation handling after reconnects and verify that the relay continues accepting reservations and connecting peers without requiring a reboot.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.