got Error: connect ETIMEDOUT when running wrangler dev --remote
I'm using proxy so it begin with: "Proxy environment variables detected. We'll use your proxy for fetch requests", then, after a while, this error appears.
By the way, the proxy works well.
1 Reply
I added the https-proxy config for npm, now it become an ECONNRESET error, here's the log:
/home/bob/.nvm/versions/node/v18.17.1/lib/node_modules/wrangler/wrangler-dist/cli.js:29374
throw a;
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (/home/bob/.nvm/versions/node/v18.17.1/lib/node_modules/wrangler/wrangler-dist/cli.js:108144:17)
at ClientRequest.<anonymous> (/home/bob/.nvm/versions/node/v18.17.1/lib/node_modules/wrangler/wrangler-dist/cli.js:108044:9)
at ClientRequest.emit (node:events:514:28)
at TLSSocket.socketErrorListener (node:_http_client:501:9)
at TLSSocket.emit (node:events:514:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
Node.js v18.17.1
Any ideas?
Tried again, this time it's :
Error while creating remote dev session: TypeError: fetch failed
Seems wrangler have issue when using proxy.