操作超时 - 连接(2)(Errno :: ETIMEDOUT) [英] Operation timed out - connect(2) (Errno::ETIMEDOUT)

查看:1041
本文介绍了操作超时 - 连接(2)(Errno :: ETIMEDOUT)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在heroku上部署我的rails应用程序。我使用命令


heroku运行rake db:migrate


我收到以下错误


运行 rake db:migrate 附加到终端... up,run.2846!

Heroku客户端内部错误。 !搜索帮助:
https://help.heroku.com !或者报告错误:
https://github.com/heroku/heroku/issues / new

 错误:操作超时 -  connect(2)(Errno :: ETIMEDOUT)


我昨天尝试了相同的命令,工作完美。

解决方案

我在这里找到答案: http://www.orhancanceylan.com/heroku-run-command-operation-timed-out/
您的网络提供商正在阻止端口:5000,但您仍然可以部署。

  heroku run:detached rake db:migrate 


I am trying deploy my rails application on heroku. I used the command

heroku run rake db:migrate

and I am getting the following error

Running rake db:migrate attached to terminal... up, run.2846 !
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:       Operation timed out - connect(2) (Errno::ETIMEDOUT)

I tried the same command yesterday it worked perfectly.

解决方案

I found the answer here: http://www.orhancanceylan.com/heroku-run-command-operation-timed-out/ You internet provider is blocking port:5000, but you can still deploy.

heroku run:detached rake db:migrate

这篇关于操作超时 - 连接(2)(Errno :: ETIMEDOUT)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆