Ruby on rails 我如何推送到Heroku或获取信息/状态;挂断“;还是没有回应?
尝试将更新的应用程序推送到Heroku时出错(可能与以下内容相同): 我无法连接到API URLRuby on rails 我如何推送到Heroku或获取信息/状态;挂断“;还是没有回应?,ruby-on-rails,git,heroku,Ruby On Rails,Git,Heroku,尝试将更新的应用程序推送到Heroku时出错(可能与以下内容相同): 我无法连接到API URL > 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 par
> 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连接后,它现在可以正常工作。 结论是,这是一个网络问题
> 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)