Open teriyakisauce opened 6 years ago
my code:
var opts = { proxy: proxy }
download(url, './', opts).then(() => { console.log('done!'); });
the error:
(node:16580) UnhandledPromiseRejectionWarning: RequestError: tunneling socket could not be established, cause=socket hang up
the proxy format: https://proxy:port
the proxy works correctly in other parts of the code, i can provide any additional info needed,
my code:
var opts = { proxy: proxy }
download(url, './', opts).then(() => { console.log('done!'); });
the error:
(node:16580) UnhandledPromiseRejectionWarning: RequestError: tunneling socket could not be established, cause=socket hang up
the proxy format: https://proxy:port
the proxy works correctly in other parts of the code, i can provide any additional info needed,