Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ネットワークの設定によっては heroku run がTIMEOUTする #29

Closed
chiastolite opened this issue Jun 22, 2019 · 1 comment
Closed

Comments

@chiastolite
Copy link

heroku run rails db:migrate など heroku runの実行時 heroku に 5000番ポートで接続できないとタイムアウトエラーになってしまうようです

https://devcenter.heroku.com/articles/one-off-dynos#troubleshooting

ゲストネットワークではこのような制限をかけられている会社さんも多いと思いますので、オフィスをお借りする際に事前に確認しておくといいかもしれません。

なお、このような場合は heroku run:detached rails db:migrate とするとコマンド自体は上手く行きます(ただしSTDOUTで出るような内容が見れなくなる)

@chiastolite
Copy link
Author

あとでガイドのほうにも追記しておきます

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant