无法连接到 atom.io 的主题和包 [英] Not able to connect to atom.io for themes and packages
问题描述
我相信我的工作代理阻止了我向 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
(或 Atom
esourcesappapm
ode_modulesatom-package-manager.apmrc
在 Windows 中).根据 apm README:
You can configure your proxy settings in ~/.atom/.apmrc
(or Atom
esourcesappapm
ode_modulesatom-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屋!