災難的一天:“SSL_connect SYSCALL”和“the scheme https does not accept registry part”兩種錯誤

標題寫的不好,但是昨天糾結的錯誤就是上面的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. 先易後難,遇到困難先放到一邊,解決別的事情優先

以上

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章