- 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/
我将一个 div 设置为 100% 宽度,当以 1024 分辨率查看页面时,宽度应从 100% 变为 1000px,我让它与@media 查询一起正常工作,并且在 FF、safari chrome 上
希望有人能帮助我,我已经被困了几天了。 将我的 Domino 服务器更新到 9.01 Fix 3 后,我在 javascript 控制台上不断收到错误消息: TypeError: this.edito
我们正在使用一个基于RMI的java应用程序。当我们运行应用程序时,即使应用程序处于理想阶段,内存使用量仍然不断增加。我们主要使用Vector和散列图数据结构。如何最大限度地减少java内存使用/修复
概述 Internet Download Manager (IDM)是最流行的 Windows 下载管理器。如果你平时工作中使用过IDM,您会惊叹 IDM 下载文件的速度有多快。IDM
当我打开 brave 浏览器时,会打开一个窗口(如下所示)。它并没有真正干扰浏览器的处理。但令人担忧的是为什么这种情况一直发生...... Error On Opening Brave Browser
这是我今天在求职面试中被问到的一个问题: 看下面的代码: int n=20; for (int i =0; i
我不小心删除了/opt/local/bin/perl5.8.9 ,这似乎是 macports 编译的 perl 的主要二进制文件。 现在我有很多取决于 perl5 的端口,但不想卸载并重新安装所有端口
>>>flip fix (0 :: Int) (\a b -> putStrLn "abc") Output: "abc" 这是使用翻转修复的简化版本。 我在一些 YouTube 视频中看到了这种使用
这个问题已经有答案了: How can I fix 'android.os.NetworkOnMainThreadException'? (64 个回答) 已关闭 3 年前。 我在 Android 应
def main(): cash = float(input("How much money: ")) coins = 0 def changeCounter(n): whil
前一周我遇到了类似的问题,查询需要永远运行。在编写此查询时,我尝试应用从其他查询中学到的一些知识,但执行起来需要很长时间。 运行查询的两个单独部分时,每个部分需要 2 分钟才能完成,这是可以接受的,但
下午,我的 CSS 有问题。第三个下拉菜单放错了,我没有解决办法。 这是我想要的: 之前: http://i53.tinypic.com/2qu85z8.png 之后: http://i51.tiny
更新方法: override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingS
我知道这是一个很多人都遇到过的问题,但我不熟悉 Less 并且是 Bootstrap 的新手,我正在寻找一种全 CSS 解决方案来防止我的导航栏折叠到 768 像素以下:
在我的布局中,我创建了以下 jsfiddle 托管的可调整大小的粘性页脚。但是,在调整大小时它与内容重叠。有没有办法让它在所有浏览器上都能响应? http://jsfiddle.net/9aLc0mg
我想要实现的目标 racer-offset 是为了让用户可以设置图像可以以 px 为单位移动多远。偏移量管理偏移量。 Speed-racer 告诉我们图像在滚动过程中移动的速度。我的问题是它不会停止。
我有一个简单的自动换行函数,它接受一个长字符串作为输入,然后将该字符串分成更小的字符串,并将它们添加到一个数组中,以便稍后输出。现在最后一两个字没有输出。这是主要问题。但是,我还想改进功能。我知道这有
我试图在使用每个 slider 之前禁用“下一步”按钮,我不确定为什么在单击不再是 class="not-clicked"的同一个 slider 时取消禁用该按钮. JSFiddle: (这里看起来有
这个问题已经有答案了: What is a NullPointerException, and how do I fix it? (12 个回答) 已关闭 8 年前。 如何让程序输出所有信息? IT
On this page ,在“生活”下有一个带有自动生成的子菜单的菜单。子菜单存在一些问题(它会闪烁并改变大小——如果你滚动它就会看到)。我需要以某种方式覆盖它当前正在读取的 css 并使其统一。
我是一名优秀的程序员,十分优秀!