Skip to content

RabbitMQ race condition #4

Description

@obrienma

When firing up the server, it sometimes encounters a race condition where the application attempts to connect before RabbitMQ is fully initialized. This triggers an ECONNRESET because the TCP port is open but the service isn't ready for handshakes. To fix this, we need to implement a "wait-on" check in the dev:all script and add exponential backoff to the connection logic. These changes will ensure the infrastructure is healthy before the Node.js processes attempt to sync.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions