我正在尝试运行heroku run rake db:migrate
,这是我得到的错误。为什么会出现此错误?我以前做了很多次,从未见过这个错误。
提前致谢
Heroku client internal error.
Error: Operation timed out - connect(2) (Errno::ETIMEDOUT)
Backtrace: /Users/johndoe/.heroku/client/lib/heroku/client/rendezvous.rb:39:in `initialize'
/Users/johndoe/.heroku/client/lib/heroku/client/rendezvous.rb:39:in `open'
/Users/johndoe/.heroku/client/lib/heroku/client/rendezvous.rb:39:in `block in start'
/usr/local/heroku/ruby/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/Users/johndoe/.heroku/client/lib/heroku/client/rendezvous.rb:31:in `start'
/Users/johndoe/.heroku/client/lib/heroku/command/run.rb:113:in `rendezvous_session'
/Users/johndoe/.heroku/client/lib/heroku/command/run.rb:100:in `run_attached'
/Users/johndoe/.heroku/client/lib/heroku/command/run.rb:21:in `index'
/Users/johndoe/.heroku/client/lib/heroku/command.rb:206:in `run'
/Users/johndoe/.heroku/client/lib/heroku/cli.rb:28:in `start'
/usr/local/heroku/bin/heroku:24:in `<main>'
Command: heroku run rake db:migrate
Version: heroku-toolbelt/2.35.0 (x86_64-darwin10.8.0) ruby/1.9.3
答案 0 :(得分:1)
经常发生在我身上。只需重新启动命令即可。