Skip to content

Kubernetes probe causes ECONNRESET #660

@mjiderhamn

Description

@mjiderhamn

Running this in a Kubernetes environment with K8s probe(s) configured, such as

          livenessProbe:
            httpGet:
              path: /health
              port: 7801
            timeoutSeconds: 60

causes errors to be logged, seemingly upon each probe.

Example:

Mon Jun 02 2025 13:24:11 GMT+0000 [verbose] - [health.js] GET /health [200] - returning server health.
Mon Jun 02 2025 13:24:11 GMT+0000 [error] - [server] Client error: read ECONNRESET, destroying socket. 
 Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
Mon Jun 02 2025 13:24:11 GMT+0000 [error] - [server] Socket error: read ECONNRESET 
 Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:217:20)

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