我在rails应用程序上使用Heroku CI时遇到问题。我刚刚升级到Rails 7.0.1
以前的版本是Rails 6.1.4.4
# Ferrum::TimeoutError:
# Timed out waiting for response. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the :timeout option to a higher value might help.
这就是我的Procfile看起来像的样子
web: bundle exec puma -C config/puma.rb
release: bundle exec rails db:migrate
可能您收到此错误是因为Dynos中缺少:timeout
参数。尝试创建一个Procfile并传递一个:timeout
变量
您可以在此处找到一些更有用的帮助:https://devcenter.heroku.com/articles/request-timeout