灾难的一天:“SSL_connect SYSCALL”和“the scheme https does not accept registry part”两种错误

来源:互联网 发布:汉高薪资待遇 知乎 编辑:程序博客网 时间:2024/06/11 08:27

标题写的不好,但是昨天纠结的错误就是上面的2个。
我按照heroku官网上的教程安装好了Heroku Toolbelt,然后执行heroku login时总是报

SSL_connect SYSCALL returned=5 errno=0 state=unknown state (OpenSSL::SSL::SS…

在google和百度上各种查都无果!
然后我又重新审视了一下heroku的教程,发现他们

Authenticating is required to allow both the heroku and git commands to operate.

Note that if you’re behind a firewall that requires use of a proxy to connect with >external HTTP/HTTPS services, you can set the HTTP_PROXY or HTTPS_PROXY >environment variables in your local development environment before running >the heroku command.

就开始报

the scheme https does not accept registry part

的错!

之间还涉及到安装openssl的各种尝试,还考虑了是否时ruby版本的问题!都失败了
最重点是,当我回到寝室,居然发现!!!

只要连上有线,这个问题就解决了!

总结:

  1. 不要一天都在一件事情里面纠结,分配好任务,任务细化,每天做多件小事。
  2. 先易后难,遇到困难先放到一边,解决别的事情优先

以上

0 0