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

Connection timeout on delete request #450

Open
ivyrze opened this issue Oct 2, 2022 · 0 comments
Open

Connection timeout on delete request #450

ivyrze opened this issue Oct 2, 2022 · 0 comments

Comments

@ivyrze
Copy link

ivyrze commented Oct 2, 2022

I'm getting the following error when running client.deleteTileset or client.deleteTilesetSource:

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[  RequestError: socket hang up
  
  - index.js:970 ClientRequest.<anonymous>
    [transit-a11y]/[got]/dist/source/core/index.js:970:111
  
  - node:events:642 Object.onceWrapper
    node:events:642:26
  
  - node:events:539 ClientRequest.emit
    node:events:539:35
  
  - index.js:43 ClientRequest.origin.emit
    [transit-a11y]/[@szmarczak]/http-timer/dist/source/index.js:43:20
  
  - node:_http_client:478 TLSSocket.socketOnEnd
    node:_http_client:478:9
  
  - node:events:539 TLSSocket.emit
    node:events:539:35
  
  - readable:1345 endReadableNT
    node:internal/streams/readable:1345:12
  
  - task_queues:83 processTicksAndRejections
    node:internal/process/task_queues:83:21
  
  
  - errors:692 connResetException
    node:internal/errors:692:14
  
  - node:_http_client:478 TLSSocket.socketOnEnd
    node:_http_client:478:23
  
  - node:events:539 TLSSocket.emit
    node:events:539:35
  
  - readable:1345 endReadableNT
    node:internal/streams/readable:1345:12
  
  - task_queues:83 processTicksAndRejections
    node:internal/process/task_queues:83:21
  
] {
  code: 'ECONNRESET',
  timings: {
    start: 1664728409973,
    socket: 1664728409973,
    lookup: 1664728409999,
    connect: 1664728410024,
    secureConnect: 1664728410058,
    upload: undefined,
    response: undefined,
    end: undefined,
    error: 1664728440048,
    abort: undefined,
    phases: {
      wait: 0,
      dns: 26,
      tcp: 25,
      tls: 34,
      request: undefined,
      firstByte: undefined,
      download: undefined,
      total: 30075
    }
  }
}

It hangs for several seconds before crashing. It doesn't occur for me with client.createTileset, client.createTilesetSource, or client.publishTileset. This is a new issue relating to 0.13.5, since specifying 0.13.4 eliminates the error.

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