Skip to content

Improve libp2p connectivity #3137

@shawn-zil

Description

@shawn-zil

Some nodes seem to experience connectivity issues from time to time. This may be caused by some underlying networking issue e.g. double-NAT, dynamic-IP, etc.

A symptom might be that the node gets stuck for no other apparent reason e.g. on empty blocks, and exhibits high error counts when trying to sync.

A temporary mitigation would be to manually restart the node, which tends to fix things.

A better solution might involve some mitigations:

  1. Support the use of QUIC, which might be more resilient against some of these issues; and
  2. Use ping health checks, to detect and reconnect a node when it crosses some threshold.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions