0

This error happens on Ubuntu 24.04 and Debian 12. When I hit an API using Axios I keep getting this error, but it works on Windows.

cause: Error: socket hang up
      at connResetException (node:internal/errors:720:14)
      at TLSSocket.socketOnEnd (node:_http_client:525:23)
      at TLSSocket.emit (node:events:529:35)
      at endReadableNT (node:internal/streams/readable:1400:12)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    code: 'ECONNRESET'
  }
karel
  • 122,695
  • 134
  • 305
  • 337
  • 2
    You've provided no Ubuntu product & release details, and given no context for the paste (is this the result of a command? program issue? etc) – guiverc Oct 07 '24 at 09:21
  • the error happens on Ubuntu 24.04 LTS and debian 12 . when i hit an API using axios i keep getting this error . but i works on windows – yechale degu Oct 07 '24 at 10:27

0 Answers0