Heroku 运行控制台获取“超时等待进程" [英] Heroku run console get "Timeout awaiting process"

查看:11
本文介绍了Heroku 运行控制台获取“超时等待进程"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近无法将控制台与 Heroku 连接:

No way to have console wired with Heroku lately:

lsoave@ubuntu:~/rails/github/gitwatcher$ heroku run console
Running console attached to terminal... 
Timeout awaiting process
lsoave@ubuntu:~/rails/github/gitwatcher$ 

它发生在其他人身上吗?

Does it happen to anyone else ?

推荐答案

来自:http://devcenter.heroku.com/articles/oneoff-admin-ps

heroku 运行进程在端口 5000 上打开与 Heroku 的连接.如果您的本地网络或 ISP 阻止了端口 5000,或者您是遇到连接问题,您将看到类似于以下内容的错误:

The heroku run process opens a connection to Heroku on port 5000. If your local network or ISP is blocking port 5000, or you are experiencing a connectivity issue, you will see an error similar to:

$ heroku run rails console
Running rails console attached to terminal... 
Timeout awaiting process

您可以通过尝试直接连接来测试您与 Heroku 的连接使用 telnet 到rendezvous.heroku.com 到端口5000.一个成功的会话将如下所示:

You can test your connection to Heroku by trying to connect directly to port 5000 by using telnet to rendezvous.heroku.com. A successful session will look like this:

$ telnet rendezvous.heroku.com 5000
Trying 50.19.103.36...
Connected to ec2-50-19-103-36.compute-1.amazonaws.com.
Escape character is '^]'. 

如果你没有得到这个输出,你的电脑被阻止了访问我们的服务.我们建议联系您的 IT 部门,ISP 或防火墙制造商来解决这个问题.

If you do not get this output, your computer is being blocked from accessing our services. We recommend contacting your IT department, ISP, or firewall manufacturer to move forward with this issue.

这篇关于Heroku 运行控制台获取“超时等待进程"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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