zcli behind a proxy | Community
Skip to main content

zcli behind a proxy

  • September 22, 2022
  • 0 replies
  • 0 views

How is it possible to get zcli running behind a proxy?
NPM is set up with the proxy but how can I setup zcli to use it?
I always get this error

Error: connect ETIMEDOUT 140.82.121.9:443
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16)
Emitted 'error' event on ClientRequest instance at:
    at TLSSocket.socketErrorListener (node:_http_client:481: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: -4039,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '140.82.121.9',
  port: 443
}