Got that error when trying to push updated app to Heroku (probably the same as this question):
> git push heroku master
ssh: connect to host heroku.com port 22: Bad file number
fatal: The remote end hung up unexpectedly
I cannot connect to the API URL
> heroku info
! Unable to connect to api.heroku.com
Nor can I get status
> 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)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…