无法连接到atom.io的主题和包 [英] Not able to connect to atom.io for themes and packages

查看:192
本文介绍了无法连接到atom.io的主题和包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为我的工作代理使我无法向Atom添加主题和程序包.从首选项菜单中,我得到:

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:

是否可以使用我的$https_proxy变量?有什么方法可以将其配置为不使用https?

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

推荐答案

您可以在~/.atom/.apmrc(或Windows中的Atom\resources\app\apm\node_modules\atom-package-manager\.apmrc)中配置代理设置.根据 apm自述文件:

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:

如果您使用的是代理,则可以通过在~/.atom/.apmrc文件中设置https-proxy的配置来配置apm以使用它,如下所示:

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

这篇关于无法连接到atom.io的主题和包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆