无法连接到Heroku API,请检查网络连接并重试 [英] Unable to connect to Heroku API, please check internet connectivity and try again
本文介绍了无法连接到Heroku API,请检查网络连接并重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我得到这个错误,但显然我已经连接了!我在15个小时前与Heroku一起进入了一张票,但没有收到任何回应。
C:\> heroku config
输入您的Heroku证书。
电子邮件:myemail @ mydomain
密码(输入将被隐藏):
!无法连接到Heroku API,请检查网络连接并重试。
$ heroku状态
!无法连接到Heroku API,请检查网络连接并重试。
我甚至重新安装了Heroku客户端。我甚至在通过Git发生这个问题时推送到Heroku。 解决方案
这是因为缺少证书颁发机构文件。
SSL_CERT_FILE = C:\ ruby200 \cacert.pem这个环境变量指向一个不存在的文件。
我希望它给出错误信息。
I'm getting this error, but obviously I'm connected! I entered a ticket with Heroku 15 hours ago but received no response.
C:\>heroku config
Enter your Heroku credentials.
Email: myemail@mydomain
Password (typing will be hidden):
! Unable to connect to Heroku API, please check internet connectivity and try again.
$ heroku status
! Unable to connect to Heroku API, please check internet connectivity and try again.
I even re-installed Heroku client. I even pushed to Heroku while this problem was happening through Git.
解决方案
It was because of a missing certificate authority file. The environment variable was pointing to a file that wasn't there.
SSL_CERT_FILE=C:\ruby200\cacert.pem
I wish it gave an error message.
这篇关于无法连接到Heroku API,请检查网络连接并重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文