Skip to content

[BUG] Peer-relay connection being unstable #61

@kushagra0902

Description

@kushagra0902

🐛 What's the problem?

Peers get disconnected from the public relay unexpectedly. This causes the network to become unstable and prevents proper P2P communication.

🔍 Where did this happen?

  • 🌐 Website (React web client)
  • 📱 Mobile app (Flutter mobile client)
  • 🔧 Core Protocol (Go - main LIBR logic)
  • 🌐 Network Layer (Go - P2P networking)
  • 🔗 Smart contracts (Blockchain)
  • 📚 Documentation
  • 🛠️ Development tools

📋 How can we reproduce this bug?

  1. Start the Go P2P node connected to the public relay.
  2. Connect multiple peers to the relay.
  3. Let the network run for some time (usually after three hours).
  4. Observe that peers get disconnected unexpectedly from the public relay.
  5. The peers may or may not be notified about this leading to more instability.

💭 What did you expect to happen?

Peers should maintain stable connections to the public relay unless intentionally disconnected or network issues occur.

📱💻 Your Setup

If you're a developer:

  • Go version: 1.21

📸 Screenshots or Videos

N/A

📝 Error Messages

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions