当它“挂断”或没有响应时,如何推送到Heroku或获取信息/状态?
尝试将更新的应用程序推送到Heroku时出现错误(可能与此问题相同):
> git push heroku master ssh: connect to host heroku.com port 22: Bad file number fatal: The remote end hung up unexpectedly
我无法连接到APIurl
> heroku info ! Unable to connect to api.heroku.com
我也无法获得身份
> heroku status C:/Ruby192/lib/ruby/1.9.1/net/http.rb:644:in `initialize': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to resp ond. - connect(2) Errno::ETIMEDOUT)
今天在两个不同的场合发生了这个错误。 有一次在咖啡馆的WIFI上。 据推测,22号港口被封锁,但未经证实。 第二次发生在家里,而VPN连接到办公室。 可能是由于某种防火墙规则。 它现在与VPN断开连接正常。 结论是这是一个网络问题。