質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Q&A

解決済

1回答

1431閲覧

heroku で at=error code=H10 desc="App crached というエラーが出ます

bouyomisan

総合スコア87

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

0グッド

0クリップ

投稿2017/04/14 13:27

runby

1$ heroku logs 2 32017-04-14T12:39:35.161473+00:00 apfrom /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `block in load_interlock' 42017-04-14T12:39:35.161475+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:12:in `block in loading' 52017-04-14T12:39:35.161475+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/concurrency/share_lock.rb:117:in `exclusive' 62017-04-14T12:39:35.161493+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:11:in `loading' 72017-04-14T12:39:35.161493+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `load_interlock' 82017-04-14T12:39:35.161495+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:358:in `require_or_load' 92017-04-14T12:39:35.161520+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:336:in `depend_on' 102017-04-14T12:39:35.161521+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!' 112017-04-14T12:39:35.161521+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:252:in `require_dependency' 122017-04-14T12:39:35.161522+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/engine.rb:475:in `each' 132017-04-14T12:39:35.161526+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/engine.rb:354:in `eager_load!' 142017-04-14T12:39:35.161523+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/engine.rb:475:in `block in eager_load!' 152017-04-14T12:39:35.161525+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/engine.rb:473:in `each' 162017-04-14T12:39:35.161525+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/engine.rb:473:in `eager_load!' 172017-04-14T12:39:35.161549+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run' 182017-04-14T12:39:35.161546+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>' 192017-04-14T12:39:35.161547+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec' 202017-04-14T12:39:35.161527+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:59:in `each' 212017-04-14T12:39:35.161550+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers' 222017-04-14T12:39:35.161563+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each' 232017-04-14T12:39:35.161564+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 242017-04-14T12:39:35.161565+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from' 252017-04-14T12:39:35.161566+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component' 262017-04-14T12:39:35.161583+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each' 272017-04-14T12:39:35.161597+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers' 282017-04-14T12:39:35.161580+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each' 292017-04-14T12:39:35.161581+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call' 302017-04-14T12:39:35.161581+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component' 312017-04-14T12:39:35.161583+00:00 app[web.1]: from /app/vendor/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each' 322017-04-14T12:39:35.161597+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!' 332017-04-14T12:39:35.161599+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>' 342017-04-14T12:39:35.161600+00:00 app[web.1]: from /app/config.ru:3:in `require_relative' 352017-04-14T12:39:35.161613+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>' 362017-04-14T12:39:35.161614+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/builder.rb:55:in `instance_eval' 372017-04-14T12:39:35.161615+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/builder.rb:55:in `initialize' 382017-04-14T12:39:35.161629+00:00 app[web.1]: from /app/config.ru:in `new' 392017-04-14T12:39:35.161629+00:00 app[web.1]: from /app/config.ru:in `<main>' 402017-04-14T12:39:35.161631+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/builder.rb:49:in `eval' 412017-04-14T12:39:35.161632+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/builder.rb:49:in `new_from_string' 422017-04-14T12:39:35.161646+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/builder.rb:40:in `parse_file' 432017-04-14T12:39:35.161647+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:318:in `build_app_and_options_from_config' 442017-04-14T12:39:35.161648+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:218:in `app' 452017-04-14T12:39:35.161649+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:59:in `app' 462017-04-14T12:39:35.161662+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:353:in `wrapped_app' 472017-04-14T12:39:35.161663+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:282:in `start' 482017-04-14T12:39:35.161665+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in 2017-04-14T12:39:35.161663+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:282:in `start'2017-04-14T12:39:35.161665+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in server' 492017-04-14T12:39:35.161664+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:79:in `start' 502017-04-14T12:39:35.161679+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap' 512017-04-14T12:39:35.161680+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server' 522017-04-14T12:39:35.161681+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!' 532017-04-14T12:39:35.161683+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>' 542017-04-14T12:39:35.161702+00:00 app[web.1]: from bin/rails:9:in `require' 552017-04-14T12:39:35.161702+00:00 app[web.1]: from bin/rails:9:in `<main>' 562017-04-14T12:39:35.261010+00:00 heroku[web.1]: Process exited with status 1 572017-04-14T12:39:35.267632+00:00 heroku[web.1]: State changed from starting to crashed 582017-04-14T12:39:36.295849+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/articles" host=fierce-cliffs-90585.herokuapp.com request_id=71829a97-5c2f-4bb2-a999-ec08ec899c72 fwd="202.229.251.133" dyno= connect= service= status=503 bytes= protocol=https

こんな風にでるのですが、エラー原因がさっぱり推測できません。どうしたらいいのでしょうか?

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

恐らくエラーログの途中からしか取得出来ていないようなので、まずは起動ログから該当リクエストまでのログ一式を全て取得してから原因究明に当たるのが良いかと思います。

$ heroku logs -t

でログを継続的に表示しつつ、別のターミナルからherokuアプリを再起動して、問題のURLを叩いてみてください。これで何かヒントが得られるのではないかと思います。

投稿2017/04/14 22:58

編集2017/04/14 23:12
tbn.sh

総合スコア173

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問