heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Heroku Connection problem from windows machine #864

Open SujanHalder opened 11 years ago

SujanHalder commented 11 years ago

Hi , I am facing this issue while trying to login to Heroku from terminal in an windows environment.

I am new to heroku, so not able to figure out where lies a problem . Thanks in advance

isapsjd@AGXP074344 /c/dev/WebEngine (master) $ heroku login Enter your Heroku credentials. Email: sujan.halder@XXX.XXX Password (typing will be hidden): ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       A connection attempt failed because the connected party did not

properly respond after a period of time, or established connection failed becau se connected host has failed to respond. - connect(2) (Errno::ETIMEDOUT) (Excon: :Errors::SocketError) Backtrace: c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/socket.rb:166: in connect' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/socket.rb:166: inblock (2 levels) in connect' c:/opt/Heroku/ruby-1.9.2/lib/ruby/1.9.1/timeout.rb:69:in timeo ut' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/socket.rb:165: inblock in connect' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/socket.rb:152: in each' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/socket.rb:152: inconnect' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/ssl_socket.rb: 92:in connect' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/socket.rb:32:i ninitialize' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/ssl_socket.rb: 8:in initialize' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/connection.rb: 367:innew' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/connection.rb: 367:in socket' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/connection.rb: 105:inrequest_call' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/middlewares/mo ck.rb:42:in request_call' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/middlewares/in strumentor.rb:22:inrequest_call' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/middlewares/ba se.rb:15:in request_call' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/middlewares/ba se.rb:15:inrequest_call' c:/opt/Heroku/vendor/gems/excon-0.22.1/lib/excon/connection.rb: 246:in request' c:/opt/Heroku/vendor/gems/heroku-api-0.3.11/lib/heroku/api.rb:7 6:inrequest' c:/opt/Heroku/vendor/gems/heroku-api-0.3.11/lib/heroku/api/logi n.rb:9:in post_login' c:/opt/Heroku/lib/heroku/auth.rb:80:inapi_key' c:/opt/Heroku/lib/heroku/auth.rb:189:in ask_for_credentials' c:/opt/Heroku/lib/heroku/auth.rb:221:inask_for_and_save_crede ntials' c:/opt/Heroku/lib/heroku/auth.rb:84:in get_credentials' c:/opt/Heroku/lib/heroku/auth.rb:41:inlogin' c:/opt/Heroku/lib/heroku/command/auth.rb:31:in login' c:/opt/Heroku/lib/heroku/command.rb:206:inrun' c:/opt/Heroku/lib/heroku/cli.rb:28:in start' c:/opt/Heroku/bin/heroku:29:in

'

Command:     heroku login
Version:     heroku/toolbelt/2.39.5 (i386-mingw32) ruby/1.9.3
startingup commented 10 years ago

I am facing the same problem, if anyone has the answer then please reply here.

Thanks!

catsby commented 10 years ago

@startingup what version of the Toolbelt are you using?

$ heroku version
heroku-toolbelt/3.6.0 (x86_64-darwin10.8.0) ruby/1.9.3