Heroku运行控制台获得“超时等待过程” [英] Heroku run console get "Timeout awaiting process"
问题描述
最近没有控制台与Heroku连线的方法:
lsoave @ ubuntu:〜/ rails / github / gitwatcher $ heroku运行控制台
pre>
运行控制台连接到终端...
超时等待进程
lsoave @ ubuntu:〜/ rails / github / gitwatcher $
这是否发生在任何人?
解决方案From: http://devcenter.heroku.com/articles/oneoff-admin-ps
heroku运行过程打开一个连接到Heroku在端口5000.如果
您的本地网络或ISP阻塞端口5000,或者您是
遇到连接问题,您会看到类似的错误:$ heroku run rails console
运行rails控制台连接到终端...
超时等待进程
您可以通过使用telnet到rendezvous.heroku.com尝试直接连接
到端口5000来测试与Heroku的连接。成功的
会话将如下所示:$ telnet rendezvous.heroku.com 5000
尝试50.19 .103.36 ...
连接到ec2-50-19-103-36.compute-1.amazonaws.com。
转义字符是'^]'。
如果您没有得到此输出,您的计算机将被阻止从
访问我们的服务。我们建议您与IT部门(
ISP或防火墙制造商)联系,以便解决此问题。
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 ?
解决方案From: http://devcenter.heroku.com/articles/oneoff-admin-ps
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
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 '^]'.
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屋!