无法修复Heroku H10错误

亚历克·威尔逊

我已经阅读了关于H10错误的所有SO解答,但仍然无法解决该问题。我的应用程序在开发人员中运行正常,但在生产中,我收到了无用的“应用程序错误”消息,并且日志仅给了我少量信息。该应用程序正在运行,此后所做的唯一主要更改是在生产中使用了Puma(创建了config / puma.rb文件和Procfile),就像我一直在关注Rails教程一样。

日志:

    2015-03-01T00:21:46.250486+00:00 app[web.1]: => Ctrl-C to shutdown server
    2015-03-01T00:21:46.250482+00:00 app[web.1]: => Rails 4.2.0 application starting in production on http://0.0.0.0:36909
    2015-03-01T00:21:46.250452+00:00 app[web.1]: => Booting Puma
    2015-03-01T00:21:47.672814+00:00 app[web.1]: * Listening on tcp://0.0.0.0:36909
    2015-03-01T00:21:47.672797+00:00 app[web.1]: Puma 2.11.1 starting...
    2015-03-01T00:21:47.672812+00:00 app[web.1]: * Environment: production
    2015-03-01T00:21:47.672804+00:00 app[web.1]: * Min threads: 0, max threads: 16
    2015-03-01T00:21:47.995124+00:00 heroku[web.1]: State changed from starting to up
    2015-03-01T01:25:01.069619+00:00 heroku[web.1]: Idling
    2015-03-01T01:25:01.070164+00:00 heroku[web.1]: State changed from up to down
    2015-03-01T01:25:03.868187+00:00 heroku[web.1]: Stopping all processes with SIGTERM
    2015-03-01T01:25:04.655669+00:00 app[web.1]: Exiting
    2015-03-01T01:25:05.901550+00:00 heroku[web.1]: Process exited with status 143
    2015-03-03T18:18:29.133217+00:00 heroku[web.1]: Unidling
    2015-03-03T18:18:29.133564+00:00 heroku[web.1]: State changed from down to starting
    2015-03-03T18:18:34.226482+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 32028 -e production`
    2015-03-03T18:18:39.475492+00:00 app[web.1]: => Booting Puma
    2015-03-03T18:18:39.475519+00:00 app[web.1]: => Rails 4.2.0 application starting in production on http://0.0.0.0:32028
    2015-03-03T18:18:39.475521+00:00 app[web.1]: => Run `rails server -h` for more startup options
    2015-03-03T18:18:39.475522+00:00 app[web.1]: => Ctrl-C to shutdown server
    2015-03-03T18:18:40.951238+00:00 app[web.1]: * Min threads: 0, max threads: 16
    2015-03-03T18:18:40.951182+00:00 app[web.1]: Puma 2.11.1 starting...
    2015-03-03T18:18:40.951281+00:00 app[web.1]: * Environment: production
    2015-03-03T18:18:40.951344+00:00 app[web.1]: * Listening on tcp://0.0.0.0:32028
    2015-03-03T18:18:41.226254+00:00 app[web.1]: Started GET "/about" for 108.94.29.164 at         2015-03-03 18:18:41 +0000
    2015-03-03T18:18:41.711420+00:00 app[web.1]: Processing by StaticPagesController#about as HTML
    2015-03-03T18:18:41.776431+00:00 app[web.1]:   Rendered layouts/_shim.html.erb (0.5ms)
    2015-03-03T18:18:41.055292+00:00 heroku[web.1]: State changed from starting to up
    2015-03-03T18:18:41.769299+00:00 app[web.1]:   Rendered static_pages/about.html.erb within layouts/application (0.7ms)
    2015-03-03T18:18:41.780270+00:00 app[web.1]:   Rendered layouts/_header.html.erb (0.8ms)
    2015-03-03T18:18:41.780272+00:00 app[web.1]:   Rendered layouts/_footer.html.erb (0.6ms)
    2015-03-03T18:18:41.780273+00:00 app[web.1]: Completed 200 OK in 58ms (Views: 40.4ms | ActiveRecord: 0.0ms)
    2015-03-03T18:18:41.785426+00:00 heroku[router]: at=info method=GET path="/about" host=alecfwilson-sample-rails-app.herokuapp.com request_id=f01990b2-55ef-4bb5-99ba-635bd06d211d fwd="108.94.29.164" dyno=web.1 connect=0ms service=585ms status=200 bytes=2600
    2015-03-03T18:18:43.046815+00:00 heroku[router]: at=info method=GET path="/assets/application-3693022c438b060c15d38fbd42afb0dd.css" host=alecfwilson-sample-rails-app.herokuapp.com request_id=4777c80d-585c-4e9a-a260-df8e498d5aef fwd="108.94.29.164" dyno=web.1 connect=1ms service=4ms status=304 bytes=100
    2015-03-03T18:18:43.088423+00:00 heroku[router]: at=info method=GET path="/assets/application-40a1932d75f4dbff6f274ab2c04c99ef.js" host=alecfwilson-sample-rails-app.herokuapp.com request_id=3418bdae-28fa-45c0-adf4-e121b7a65341 fwd="108.94.29.164" dyno=web.1 connect=5ms service=2ms status=304 bytes=114
    2015-03-03T18:18:45.693979+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=1ec2d858-f4f4-4130-83ed-9835a6b8aee4 fwd="108.94.29.164" dyno=web.1 connect=0ms service=1ms status=200 bytes=143
    2015-03-03T19:25:51.614540+00:00 heroku[web.1]: Idling
    2015-03-03T19:25:51.615133+00:00 heroku[web.1]: State changed from up to down
    2015-03-03T19:25:54.642520+00:00 heroku[web.1]: Stopping all processes with SIGTERM
    2015-03-03T19:25:55.360332+00:00 app[web.1]: Exiting
    2015-03-03T19:25:56.374683+00:00 heroku[web.1]: Process exited with status 143
    2015-03-04T02:32:30.738201+00:00 heroku[api]: Deploy ada64bd by [email protected]
    2015-03-04T02:32:30.738201+00:00 heroku[api]: Release v15 created by [email protected]
    2015-03-04T02:32:43.267564+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by [email protected]
    2015-03-04T02:32:47.471977+00:00 heroku[run.5036]: Awaiting client
    2015-03-04T02:32:47.501831+00:00 heroku[run.5036]: Starting process with command `bundle exec rake db:migrate`
    2015-03-04T02:32:47.757400+00:00 heroku[run.5036]: State changed from starting to up
    2015-03-04T02:32:53.981368+00:00 heroku[run.5036]: Process exited with status 0
    2015-03-04T02:32:53.997726+00:00 heroku[run.5036]: State changed from up to complete
    2015-03-04T02:33:00.228053+00:00 heroku[web.1]: Unidling
    2015-03-04T02:33:00.228382+00:00 heroku[web.1]: State changed from down to starting
    2015-03-04T02:33:05.010249+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
    2015-03-04T02:33:07.896116+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `_load_from'
    2015-03-04T02:33:07.896123+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/bin/puma:10:in `<top (required)>'
    2015-03-04T02:33:07.896099+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `read': No such file or directory @ rb_sysopen - config/puma.rb (Errno::ENOENT)
    2015-03-04T02:33:07.896127+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `load'
    2015-03-04T02:33:07.896120+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:308:in `parse_options'
    2015-03-04T02:33:07.896118+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:40:in `load'
    2015-03-04T02:33:07.896121+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:453:in `run'
    2015-03-04T02:33:07.896128+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `<main>'
    2015-03-04T02:33:08.726223+00:00 heroku[web.1]: State changed from starting to crashed
    2015-03-04T02:33:08.726988+00:00 heroku[web.1]: State changed from crashed to starting
    2015-03-04T02:33:08.714157+00:00 heroku[web.1]: Process exited with status 1
    2015-03-04T02:33:12.828442+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
    2015-03-04T02:33:16.051228+00:00 heroku[web.1]: State changed from starting to crashed
    2015-03-04T02:33:16.031660+00:00 heroku[web.1]: Process exited with status 1
    2015-03-04T02:33:17.607265+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=cc813454-8a73-46b1-9f2f-398653e718b6 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:33:17.807509+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=0f04159b-e864-4a16-8c6d-aee891f112b3 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:33:18.286091+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/about" host=alecfwilson-sample-rails-app.herokuapp.com request_id=bdee0496-b545-4f15-88fc-1ebd92869e64 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:33:18.965330+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=364c0e82-2cb8-4613-845a-093a09bfb663 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:33:15.303042+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:308:in `parse_options'
    2015-03-04T02:33:15.303046+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:453:in `run'
    2015-03-04T02:33:15.303018+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `read': No such file or directory @ rb_sysopen - config/puma.rb (Errno::ENOENT)
    2015-03-04T02:33:15.303051+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `<main>'
    2015-03-04T02:33:15.303040+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:40:in `load'
    2015-03-04T02:33:15.303049+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `load'
    2015-03-04T02:33:15.303037+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `_load_from'
    2015-03-04T02:33:15.303047+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/bin/puma:10:in `<top (required)>'
    2015-03-04T02:33:22.485187+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=68be4767-c94f-41b1-84fe-9f7fc95e6f4c fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:33:22.954529+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=65918dc8-be1f-4875-997d-a9507b141182 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:33:23.061083+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=ea5e39cf-0b11-482b-a0c2-53f9068eca5f fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:37:48.220193+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=be8d1130-94d0-42b7-95ae-e73e5bae3c2d fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:37:49.023244+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=7b8ba657-f700-4519-8cda-7ee709aacdf1 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:37:49.322225+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=53642f7e-a8ad-4279-b619-2e482155e792 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:38:25.709950+00:00 heroku[api]: Release v16 created by [email protected]
    2015-03-04T02:38:25.709950+00:00 heroku[api]: Deploy bf99108 by [email protected]
    2015-03-04T02:38:26.037514+00:00 heroku[web.1]: State changed from crashed to starting
    2015-03-04T02:38:29.655020+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
    2015-03-04T02:38:32.015466+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `read': No such file or directory @ rb_sysopen - config/puma.rb (Errno::ENOENT)
    2015-03-04T02:38:32.015483+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:179:in `_load_from'
    2015-03-04T02:38:32.015486+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/configuration.rb:40:in `load'
    2015-03-04T02:38:32.015487+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:308:in `parse_options'
    2015-03-04T02:38:32.015493+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/bin/puma:10:in `<top (required)>'
    2015-03-04T02:38:32.015495+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `load'
    2015-03-04T02:38:32.015491+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/gems/puma-2.11.1/lib/puma/cli.rb:453:in `run'
    2015-03-04T02:38:32.015497+00:00 app[web.1]:  from /app/vendor/bundle/ruby/2.2.0/bin/puma:23:in `<main>'
    2015-03-04T02:38:32.719386+00:00 heroku[web.1]: Process exited with status 1
    2015-03-04T02:38:32.739368+00:00 heroku[web.1]: State changed from starting to crashed
    2015-03-04T02:38:34.073282+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=alecfwilson-sample-rails-app.herokuapp.com request_id=d97ef726-cdcc-4724-ad8d-506f71c36da6 fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:38:34.756462+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=b64b5c74-00de-406a-a769-a6771b5ffabd fwd="73.162.223.27" dyno= connect= service= status=503 bytes=
    2015-03-04T02:38:35.037847+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=alecfwilson-sample-rails-app.herokuapp.com request_id=90f3b563-de59-4107-a8fe-d613cf98aefd fwd="73.162.223.27" dyno= connect= service= status=503 bytes=

我已经运行了$ heroku run rake db:migrate$ heroku restart并且重置了生产数据库。我还能在这里做什么?

亚历克·威尔逊

固定的。逐行浏览日志,发现我的puma.rb文件位于错误的位置。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

nodejs heroku被击碎(H10错误)(defined_crc)

来自分类Dev

Heroku部署错误H10应用程序崩溃

来自分类Dev

Django:Heroku无法启动,错误代码为= H10 desc =“ App崩溃”

来自分类Dev

Heroku部署错误H10“未找到配置/app/config.ru”

来自分类Dev

Heroku说应用程序错误,并且在日志中说code = H10

来自分类Dev

Java Spring MVC无法在Heroku上启动应用程序。错误H10(找不到webapp运行程序)

来自分类Dev

将Dash应用程序部署到Heroku:错误代码= H10,H13

来自分类Dev

Heroku H10可在localhost上运行,无法在部署中运行

来自分类Dev

为什么我的heroku node.js应用程序给出at =错误代码= H10 desc =“应用程序崩溃”方法= GET路径=“ /”?

来自分类Dev

带有 Maven 应用程序的 Spring Boot 的 Heroku jar 部署给出代码 = H10

来自分类Dev

Heroku + Node.js 部署:H10 崩溃 - 找不到模块 ./lib/websocket

来自分类Dev

即使我使用的是 PORT 环境变量,Heroku H10 启动超时

来自分类Dev

无法修复MSDTC错误

来自分类Dev

无法修复Windows 10自动修复

来自分类Dev

使用CodeIgniter无法修复错误

来自分类Dev

摩卡中无法修复的错误

来自分类Dev

启动修复无法修复您的PC(缺少Windows 10 bootmgr)

来自分类Dev

如何修复Heroku部署中未找到的错误

来自分类Dev

无法修复抽象方法错误(Java)

来自分类Dev

无法修复格式错误的条目1

来自分类Dev

django无法修复完整性错误

来自分类Dev

Firebase函数引发无法修复的错误

来自分类Dev

正在使用evalExpr ::无法修复错误?

来自分类Dev

收到语法错误,我无法修复

来自分类Dev

无法修复语法错误:意外令牌'<'

来自分类Dev

AS3 | 错误1009无法修复

来自分类Dev

我似乎无法修复的Netbeans错误

来自分类Dev

如何修复错误“无法解析索引名称”

来自分类Dev

无法修复GPG错误NO_PUB_KEY

Related 相关文章

  1. 1

    nodejs heroku被击碎(H10错误)(defined_crc)

  2. 2

    Heroku部署错误H10应用程序崩溃

  3. 3

    Django:Heroku无法启动,错误代码为= H10 desc =“ App崩溃”

  4. 4

    Heroku部署错误H10“未找到配置/app/config.ru”

  5. 5

    Heroku说应用程序错误,并且在日志中说code = H10

  6. 6

    Java Spring MVC无法在Heroku上启动应用程序。错误H10(找不到webapp运行程序)

  7. 7

    将Dash应用程序部署到Heroku:错误代码= H10,H13

  8. 8

    Heroku H10可在localhost上运行,无法在部署中运行

  9. 9

    为什么我的heroku node.js应用程序给出at =错误代码= H10 desc =“应用程序崩溃”方法= GET路径=“ /”?

  10. 10

    带有 Maven 应用程序的 Spring Boot 的 Heroku jar 部署给出代码 = H10

  11. 11

    Heroku + Node.js 部署:H10 崩溃 - 找不到模块 ./lib/websocket

  12. 12

    即使我使用的是 PORT 环境变量,Heroku H10 启动超时

  13. 13

    无法修复MSDTC错误

  14. 14

    无法修复Windows 10自动修复

  15. 15

    使用CodeIgniter无法修复错误

  16. 16

    摩卡中无法修复的错误

  17. 17

    启动修复无法修复您的PC(缺少Windows 10 bootmgr)

  18. 18

    如何修复Heroku部署中未找到的错误

  19. 19

    无法修复抽象方法错误(Java)

  20. 20

    无法修复格式错误的条目1

  21. 21

    django无法修复完整性错误

  22. 22

    Firebase函数引发无法修复的错误

  23. 23

    正在使用evalExpr ::无法修复错误?

  24. 24

    收到语法错误,我无法修复

  25. 25

    无法修复语法错误:意外令牌'<'

  26. 26

    AS3 | 错误1009无法修复

  27. 27

    我似乎无法修复的Netbeans错误

  28. 28

    如何修复错误“无法解析索引名称”

  29. 29

    无法修复GPG错误NO_PUB_KEY

热门标签

归档