Open
Description
I thought we had an issue for this as I'm sure we've seen this on rare occassions before, but @RafaelGSS hit this while promoting Node.js 23:
node:events:491
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on DestroyableTransform instance at:
at ClientRequest.<anonymous> (/usr/lib/node_modules/nodejs-dist-indexer/node_modules/hyperquest/index.js:14:19)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
This prevented index.json
and index.tab
from being updated.
Part of the reason I thought we already had an issue for this is IIRC hyperquest is no longer maintained.
Activity
rvagg commentedon Oct 16, 2024
nodejs-dist-indexer/dist-indexer.js
Lines 85 to 103 in 91d60f1
this could just be replaced with a native http fetch now