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

Handle read ECONNRESET #26

Open
DenisCarriere opened this issue Feb 18, 2024 · 0 comments
Open

Handle read ECONNRESET #26

DenisCarriere opened this issue Feb 18, 2024 · 0 comments
Assignees

Comments

@DenisCarriere
Copy link
Contributor

Happens quite frequently where the gRPC connection is dropped, webhook exits when that happens

ConnectError: [unknown] read ECONNRESET
    at ConnectError.from (/Users/denis/Github/substreams-sink-webhook/node_modules/@connectrpc/connect/dist/cjs/connect-error.js:75:20)
    at abort (/Users/denis/Github/substreams-sink-webhook/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js:109:55)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async run (/Users/denis/Github/substreams-sink-webhook/node_modules/@connectrpc/connect/dist/cjs/callback-client.js:78:84) {
  rawMessage: 'read ECONNRESET',
  code: 2,
  metadata: HeadersList {
    cookies: null,
    [Symbol(headers map)]: Map(0) {},
    [Symbol(headers map sorted)]: null
  },
  details: [],
  cause: Error: read ECONNRESET
      at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
    errno: -54,
    code: 'ECONNRESET',
    syscall: 'read'
  }
}
@DenisCarriere DenisCarriere self-assigned this Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant