yarn icon indicating copy to clipboard operation
yarn copied to clipboard

SOCKS Proxy Support

Open jfahrenkrug opened this issue 6 years ago • 6 comments

Do you want to request a feature or report a bug? I'd like to request/propose a feature.

What is the current behavior? Currently yarn does not seem to support SOCKS proxies, but only HTTP and HTTPS proxies.

What is the expected behavior? It would be great if yarn could work behind a SOCKS proxy. Especially socks5h:// would be great, so that DNS requests could be handled on "the other side" of the proxy. This would make the following possible:

  • working with private npm registries that only exist inside of a corporate network
  • connecting to that corporate network through an SSH tunnel which is locally exposed as a SOCKS proxy

Please mention your node.js, yarn and operating system version. I'm on node 8.9.4, yarn v1.10.1 and macOS 10.13.6

jfahrenkrug avatar Oct 10 '18 17:10 jfahrenkrug

Was this really triaged?

clarfonthey avatar Jul 07 '19 20:07 clarfonthey

I'm having trouble with this too

acrogenesis avatar Aug 27 '19 17:08 acrogenesis

Any updates on this? It is particularly useful in WSL environment.

Felix-Indoing avatar Oct 17 '19 13:10 Felix-Indoing

Wait for it

wisetc avatar Nov 24 '21 01:11 wisetc

Wow. Four years for just simple proxy support.

samadadi avatar Jan 05 '23 07:01 samadadi

What about proxy guys?

freebeego avatar Dec 12 '23 20:12 freebeego