API goes to ECONNRESET while trying to configure OS,

ECONNRESET: request to https://api.balena-trial.com/download-config failed, reason: socket hang up

FetchError: request to https://api.balena-trial.com/download-config failed, reason: socket hang up
at ClientRequest. (/snapshot/balena-cli/node_modules/node-fetch/lib/index.js:1505:11)
at ClientRequest.emit (node:events:539:35)
at ClientRequest.emit (node:domain:475:12)
at TLSSocket.socketOnEnd (node:_http_client:478:9)
at TLSSocket.emit (node:events:539:35)
at TLSSocket.emit (node:domain:475:12)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)

For further help or support, visit:

I tried searching of similar error online with no luck

Hello @ndu could you please confirm what are you trying to achieve here?

Thanks!

Solved

Hi @ndu, can you please explained how you solved this I’m having same error when trying to configure OS but with this endpoint:
ECONNRESET: request to https://api.openbalena.lan/device-types/v1 failed, reason: socket hang u

I’m using OpenBalena

I just performed multiple restart. In my case I was trying to to configure OS I also extracted a new OS file.
If its in VM also make sure your VM do have enough system resources.

1 Like