Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ECONNRESET #433

Open
danfuzz opened this issue Nov 10, 2024 · 0 comments
Open

Uncaught ECONNRESET #433

danfuzz opened this issue Nov 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@danfuzz
Copy link
Owner

danfuzz commented Nov 10, 2024

Describe the bug

Sometimes it seems like an ECONNRESET ends up uncaught from a callback (not an unhandled promise rejection). Unclear where the culprit actually is; this project's code does not appear in the stack trace.

To reproduce

Steps to reproduce the problem:

Unclear. Shows up in production.

Expected behavior

No exception.

Actual behavior

Exception along the lines of this (excerpt from a process.json file):

    "problems": [
      {
        "type": "uncaughtException",
        "problem": {
          "@Error": {
            "code": "ECONNRESET",
            "message": "read ECONNRESET",
            "stack": [
              {
                "name": "TCP.onStreamRead",
                "file": "node:internal/stream_base_commons",
                "line": 217,
                "col": 20
              },
              {
                "name": "TCP.callbackTrampoline",
                "file": "node:internal/async_hooks",
                "line": 130,
                "col": 17
              }
            ],
            "errno": -104,
            "syscall": "read"
          }
        }
      }
    ],

Environment

  • OS: Amazon Linux 2023
  • Node: 20
  • Browser: n/a
@danfuzz danfuzz added the bug Something isn't working label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant