Skip to content

Socket hangup error #299

@avmey

Description

@avmey

In both testing and deployment, since upgrading to the beta 7.0.x, I've starting seeing socket hangup errors with larger datasets. Seems to affect both rasters and vectors.

In test:

Serialized Error: { errno: 'ECONNRESET', code: 'ECONNRESET', erroredSysCall: undefined }
This error originated in "src/functions/kelpSmoke.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled Rejection
FetchError: request to http://127.0.0.1:8080/kelp2016central_br.tif failed, reason: socket hang up
 ❯ ClientRequest.<anonymous> node_modules/node-fetch/src/index.js:108:11
 ❯ ClientRequest.emit node:events:518:28
 ❯ ClientRequest.emit node:domain:488:12
 ❯ Socket.socketOnEnd node:_http_client:524:9
 ❯ Socket.emit node:events:530:35
 ❯ Socket.emit node:domain:488:12
 ❯ endReadableNT node:internal/streams/readable:1696:12
 ❯ processTicksAndRejections node:internal/process/task_queues:82:21

In deployment:

Geoprocessing exception: FetchError: request to https://gp-california-reports-datasets.s3.us-west-1.amazonaws.com/rocky_shores.fgb failed, reason: socket hang up at ClientRequest.<anonymous> (file:///var/task/shoretypesHandler.mjs:953587:15) at ClientRequest.emit (node:events:519:28) at ClientRequest.emit (node:domain:488:12) at TLSSocket.socketOnEnd (node:_http_client:524:9) at TLSSocket.emit (node:events:531:35) at TLSSocket.emit (node:domain:488:12) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

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