尝试推送Heroku时出错:code = H10 desc =“应用程序崩溃” method = GET path =“ / cable”

时间:2018-10-06 11:09:22

标签: ruby-on-rails heroku push sidekiq

昨天,在我上次推送10小时后,我的应用崩溃了。这是Heroku日志:

2018-10-06T10:58:55.525544+00:00 app[web.1]: I, [2018-10-
06T10:58:55.525483 #4]  INFO -- : [5c620c08-d5de-48ef-a72f-ad1405e7661c] Started GET "/cable/" [WebSocket] for 108.162.229.119 at 2018-10-06 10:58:55 +0000
2018-10-06T10:58:55.525622+00:00 app[web.1]: I, [2018-10-06T10:58:55.525569 #4]  INFO -- : [5c620c08-d5de-48ef-a72f-ad1405e7661c] Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
2018-10-06T10:58:55.594765+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.4.0/bin/puma)
2018-10-06T10:58:55.596750+00:00 app[web.1]: Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)
2018-10-06T10:58:55.596752+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:344:in `rescue in establish_connection'
2018-10-06T10:58:55.596754+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:328:in `establish_connection'
2018-10-06T10:58:55.596755+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:99:in `block in connect'
2018-10-06T10:58:55.596756+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:291:in `with_reconnect'
2018-10-06T10:58:55.596757+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:98:in `connect'
2018-10-06T10:58:55.596758+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:274:in `with_socket_timeout'
2018-10-06T10:58:55.596759+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:131:in `call_loop'
2018-10-06T10:58:55.596760+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/subscribe.rb:43:in `subscription'
2018-10-06T10:58:55.596761+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/subscribe.rb:12:in `subscribe'
2018-10-06T10:58:55.596762+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:2824:in `_subscription'
2018-10-06T10:58:55.596763+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:2192:in `block in subscribe'
2018-10-06T10:58:55.596764+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:45:in `block in synchronize'
2018-10-06T10:58:55.596765+00:00 app[web.1]: /app/vendor/ruby-2.4.3/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
2018-10-06T10:58:55.596766+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:45:in `synchronize'
2018-10-06T10:58:55.596782+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:2191:in `subscribe'
2018-10-06T10:58:55.596784+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/actioncable-5.1.5/lib/action_cable/subscription_adapter/redis.rb:77:in `block in listen'
2018-10-06T10:58:55.596784+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis/client.rb:291:in `with_reconnect'
2018-10-06T10:58:55.596785+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:51:in `block in with_reconnect'
2018-10-06T10:58:55.596786+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:45:in `block in synchronize'
2018-10-06T10:58:55.596787+00:00 app[web.1]: /app/vendor/ruby-2.4.3/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
2018-10-06T10:58:55.596788+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:45:in `synchronize'
2018-10-06T10:58:55.596789+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:50:in `with_reconnect'
2018-10-06T10:58:55.596790+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/redis-4.0.1/lib/redis.rb:57:in `without_reconnect'
2018-10-06T10:58:55.596791+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/actioncable-5.1.5/lib/action_cable/subscription_adapter/redis.rb:74:in `listen'
2018-10-06T10:58:55.596793+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/actioncable-5.1.5/lib/action_cable/subscription_adapter/redis.rb:148:in `block in ensure_listener_running'
2018-10-06T10:58:55.715275+00:00 heroku[web.1]: Process exited with status 1
2018-10-06T10:58:55.727521+00:00 heroku[web.1]: State changed from up to crashed
2018-10-06T10:58:55.660905+00:00 heroku[router]: at=info method=GET path="/cable" host=www.weekendr.eu request_id=5c620c08-d5de-48ef-a72f-ad1405e7661c fwd="109.25.114.222,108.162.229.119" dyno=web.1 connect=0ms service=135ms status=101 bytes=174 protocol=https
2018-10-06T10:59:04.114229+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=1a24e1d9-d7cc-493e-b215-0fee9e2246f8 fwd="109.25.114.222,108.162.229.118" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T10:59:08.160454+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=34ca9651-0f67-492f-988f-deba89851276 fwd="109.25.114.222,108.162.229.119" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T10:59:14.167813+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=4b2aa6c0-6c84-45e5-9234-3adae0e6d092 fwd="109.25.114.222,108.162.229.118" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T10:59:21.448465+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=8d08d7da-5ff0-4378-b88d-336caa5ae3cd fwd="109.25.114.222,108.162.229.121" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T10:59:30.378010+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=04bdff74-a8a5-4c1a-950b-4958b66593bc fwd="109.25.114.222,108.162.229.122" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T10:59:40.428590+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=610a0018-c84a-4f46-997f-44536c77c48d fwd="109.25.114.222,108.162.229.119" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T10:59:50.360866+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=fe611a6f-c815-47d1-b53d-64c70c155873 fwd="109.25.114.222,108.162.229.122" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T11:00:01.088785+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=031863ce-c9b3-435e-b029-a7b0abce98db fwd="109.25.114.222,108.162.229.123" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T11:00:12.509042+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=b7f9e83e-2583-43d4-850e-4a47a456c7b6 fwd="109.25.114.222,108.162.229.123" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T11:00:24.107333+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=www.weekendr.eu request_id=3602db5d-939e-4322-a122-958b3904d245 fwd="109.25.114.222,108.162.229.123" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T11:00:35.647742+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.weekendr.eu request_id=162a6723-418e-4845-b323-da7173db164f fwd="92.151.64.208,172.69.226.78" dyno= connect= service= status=503 bytes= protocol=https
2018-10-06T11:00:36.239776+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=www.weekendr.eu request_id=f4d1a2a9-d263-46f3-8238-e15ea77296fd fwd="92.151.64.208,108.162.229.179" dyno= connect= service= status=503 bytes= protocol=https

您是否知道可能会发生什么?我试图重新启动测功机,而我的分支正在使用另一个Heroku应用程序。您认为这是Heroku设置的问题吗?顺便说一下,我们不再使用sideqik。

0 个答案:

没有答案