The heroku run command 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.runtime.heroku.com. A
successful session will look like this:
$ telnet rendezvous.runtime.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 run command throws timeout await
有效地尝试:
我从heroku文档中得到了这个,可以找到here
所以快跑
在你的壳上。您在命令中省略了“运行时”。在
相关问题 更多 >
编程相关推荐