Not able to connect to atom.io for themes and packages

Alex Mooney picture Alex Mooney · Jul 24, 2014 · Viewed 19.8k times · Source

I believe my work proxy is preventing me from being able to add themes and packages to Atom. From the preferences menu, I get:

Fetching featured packages and themes failed. Hide output…

tunneling socket could not be established, cause=140499728967552:error:140770FC:SSL  routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:766:

Is it possible to make it use my $https_proxy variable? Is there some way to configure it to not use https?

Answer

Alex Mooney picture Alex Mooney · Jul 25, 2014

You can configure your proxy settings in ~/.atom/.apmrc (or Atom\resources\app\apm\node_modules\atom-package-manager\.apmrc in Windows). Per the apm README:

If you are using a proxy you can configure apm to use it by setting the https-proxy config in your ~/.atom/.apmrc file like so:

https-proxy = https://9.0.2.1:0