Skip to content

WebSocket connections stop accepting new clients after prolonged uptime on Nano Node #4966

Description

@anarkrypto

Summary

There's a bug in the official Nano Node that's been affecting WebSocket connections for at least a few months.
I don't know the exact cause yet, but it seems that after several weeks with WebSocket connections working normally (sometimes connected, sometimes not), the Node simply stops accepting new connections.

This is affecting my NanoPay service.

The problem is only resolved after restarting Node.

However, there are no additional error logs during the problem.

Node version

V28.2

Build details

Docker: nanocurrency/nano:V28.2

OS and version

Ubuntu 20.04.6 LTS

Steps to reproduce the behavior

  1. Start Nano Node
  2. Use the websockets normally for a few weeks
  3. Verify that websockets connections are not accepted anymore
  4. Restart and verify again

Expected behavior

The websockets should work normally without interruptions

Actual behavior

The websocket stops working after several days

Possible solution

No response

Supporting files

Image

Screenshot of a manual websocket connection failing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions