- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我已经阅读了我能找到的关于 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 alec.f.wilson@gmail.com
2015-03-04T02:32:30.738201+00:00 heroku[api]: Release v15 created by alec.f.wilson@gmail.com
2015-03-04T02:32:43.267564+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by alec.f.wilson@gmail.com
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 alec.f.wilson@gmail.com
2015-03-04T02:38:25.709950+00:00 heroku[api]: Deploy bf99108 by alec.f.wilson@gmail.com
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 文件位于错误的位置。
关于ruby-on-rails - 无法修复 Heroku H10 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28846081/
我已经使用 vue-cli 两个星期了,直到今天一切正常。我在本地建立这个项目。 https://drive.google.com/open?id=0BwGw1zyyKjW7S3RYWXRaX24tQ
您好,我正在尝试使用 python 库 pytesseract 从图像中提取文本。请找到代码: from PIL import Image from pytesseract import image_
我的错误 /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference
我已经训练了一个模型,我正在尝试使用 predict函数但它返回以下错误。 Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]])
根据Microsoft DataConnectors的信息我想通过 this ODBC driver 创建一个从 PowerBi 到 PostgreSQL 的连接器使用直接查询。我重用了 Micros
我已经为 SoundManagement 创建了一个包,其中有一个扩展 MediaPlayer 的类。我希望全局控制这个变量。这是我的代码: package soundmanagement; impo
我在Heroku上部署了一个应用程序。我正在使用免费服务。 我经常收到以下错误消息。 PG::Error: ERROR: out of memory 如果刷新浏览器,就可以了。但是随后,它又随机发生
我正在运行 LAMP 服务器,这个 .htaccess 给我一个 500 错误。其作用是过滤关键字并重定向到相应的域名。 Options +FollowSymLinks RewriteEngine
我有两个驱动器 A 和 B。使用 python 脚本,我在“A”驱动器中创建一些文件,并运行 powerscript,该脚本以 1 秒的间隔将驱动器 A 中的所有文件复制到驱动器 B。 我在 powe
下面的函数一直返回这个错误信息。我认为可能是 double_precision 字段类型导致了这种情况,我尝试使用 CAST,但要么不是这样,要么我没有做对...帮助? 这是错误: ERROR: i
这个问题已经有答案了: Syntax error due to using a reserved word as a table or column name in MySQL (1 个回答) 已关闭
我的数据库有这个小问题。 我创建了一个表“articoli”,其中包含商品的品牌、型号和价格。 每篇文章都由一个 id (ID_ARTICOLO)` 定义,它是一个自动递增字段。 好吧,现在当我尝试插
我是新来的。我目前正在 DeVry 在线学习中级 C++ 编程。我们正在使用 C++ Primer Plus 这本书,到目前为止我一直做得很好。我的老师最近向我们扔了一个曲线球。我目前的任务是这样的:
这个问题在这里已经有了答案: What is an undefined reference/unresolved external symbol error and how do I fix it?
我的网站中有一段代码有问题;此错误仅发生在 Internet Explorer 7 中。 我没有在这里发布我所有的 HTML/CSS 标记,而是发布了网站的一个版本 here . 如您所见,我在列中有
如果尝试在 USB 设备上构建 node.js 应用程序时在我的树莓派上使用 npm 时遇到一些问题。 package.json 看起来像这样: { "name" : "node-todo",
在 Python 中,您有 None单例,在某些情况下表现得很奇怪: >>> a = None >>> type(a) >>> isinstance(a,None) Traceback (most
这是我的 build.gradle (Module:app) 文件: apply plugin: 'com.android.application' android { compileSdkV
我是 android 的新手,我的项目刚才编译和运行正常,但在我尝试实现抽屉导航后,它给了我这个错误 FAILURE: Build failed with an exception. What wen
谁能解释一下?我想我正在做一些非常愚蠢的事情,并且急切地等待着启蒙。 我得到这个输出: phpversion() == 7.2.25-1+0~20191128.32+debian8~1.gbp108
我是一名优秀的程序员,十分优秀!