crashing frequently in Heroku
sidd9433 opened this issue · comments
I have deployed postfacto in heroku as per the deployment instruction. The deployment was successful & the application is loading initially but frequently the app is crashing.
It's running on free dynos & upon restarting the dynos the app is up again but crashing again
Here is the log & screenshot. Any help is really welcome.
2021-09-30T07:54:16.006061+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=0ec655bb-2b70-4f48-b6a4-4f49e201156a fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:54:20.056058+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=51c650a8-6b81-4702-9678-acd3853c19c3 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:54:26.069615+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=910864fd-1fc5-4790-9115-d7c073ec97f7 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:54:33.158674+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=da1e268a-4729-47a5-a0fa-32cc89379d85 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:54:41.200332+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=e220afa2-c1e3-415c-98d6-571413cf062f fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:54:50.272781+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=8ff44489-57b0-4415-a243-1b757feb4307 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:55:00.362719+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=7d41996f-06f1-44ed-96ab-9431479515a1 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:55:01.176251+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/config" host=h4h-retro.herokuapp.com request_id=5bfea7d2-6979-4d4a-acbb-39c0dcae62f4 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:55:01.213430+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.png" host=h4h-retro.herokuapp.com request_id=a565c869-02e7-4e87-8b99-de95e4311ddf fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:55:01.217263+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/static/media/face-dead.becf8ac4.svg" host=h4h-retro.herokuapp.com request_id=08754d07-0556-431c-87b8-9bbb6627e0d1 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:55:11.464582+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=6a3fc17a-bca0-475f-a83e-69d34e14b360 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:55:23.400206+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=2e8c5166-ea94-4c15-a564-0bad81fe7cbc fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:55:41.271657+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=1c8b1931-d282-4815-9461-afe9c327553b fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:56:08.023284+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=b0297340-f1ba-4d1b-96b1-8645f1a10730 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:56:48.105830+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=2e387b45-e865-4c11-85f1-f39d8eccf669 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T07:57:48.187871+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=h4h-retro.herokuapp.com request_id=ee22a01e-ff83-401a-bb6f-05d3eb4f09f0 fwd="86.82.242.14" dyno= connect= service= status=503 bytes= protocol=https
2021-09-30T08:08:56.904167+00:00 heroku[web.1]: Starting process with command `bin/rails server -p ${PORT:-5000} -e production`
2021-09-30T08:09:01.223673+00:00 app[web.1]: => Booting Puma
2021-09-30T08:09:01.223691+00:00 app[web.1]: => Rails 6.1.3.2 application starting in production
2021-09-30T08:09:01.223691+00:00 app[web.1]: => Run `bin/rails server --help` for more startup options
2021-09-30T08:09:03.459442+00:00 heroku[web.1]: State changed from starting to up
2021-09-30T08:09:03.203368+00:00 app[web.1]: Puma starting in single mode...
2021-09-30T08:09:03.203446+00:00 app[web.1]: * Puma version: 5.3.1 (ruby 2.7.3-p183) ("Sweetnighter")
2021-09-30T08:09:03.203460+00:00 app[web.1]: * Min threads: 5
2021-09-30T08:09:03.203483+00:00 app[web.1]: * Max threads: 5
2021-09-30T08:09:03.203501+00:00 app[web.1]: * Environment: production
2021-09-30T08:09:03.203554+00:00 app[web.1]: * PID: 4
2021-09-30T08:09:03.206736+00:00 app[web.1]: * Listening on http://0.0.0.0:54547
2021-09-30T08:09:03.245924+00:00 app[web.1]: Use Ctrl-C to stop
2021-09-30T08:09:04.721731+00:00 app[web.1]: I, [2021-09-30T08:09:04.721659 #4] INFO -- : [d7a4ba27-8c84-42fe-aac5-e118d0d91a5e] Started GET "/admin/" for 86.82.242.14 at 2021-09-30 08:09:04 +0000
2021-09-30T08:09:04.724223+00:00 app[web.1]: I, [2021-09-30T08:09:04.724147 #4] INFO -- : [d7a4ba27-8c84-42fe-aac5-e118d0d91a5e] Processing by Admin::DashboardController#index as HTML
2021-09-30T08:09:04.733626+00:00 app[web.1]: I, [2021-09-30T08:09:04.733537 #4] INFO -- : [d7a4ba27-8c84-42fe-aac5-e118d0d91a5e] Completed 401 Unauthorized in 9ms (Allocations: 294)
2021-09-30T08:09:04.764715+00:00 app[web.1]: I, [2021-09-30T08:09:04.764638 #4] INFO -- : [062107a1-7a8f-4806-aa86-a3ff7b8fa79d] Started GET "/cable" for 86.82.242.14 at 2021-09-30 08:09:04 +0000
2021-09-30T08:09:04.780312+00:00 app[web.1]: I, [2021-09-30T08:09:04.780244 #4] INFO -- : [122bd76b-f4dc-45fb-9ba2-caf5b365ee52] Started GET "/admin/login" for 86.82.242.14 at 2021-09-30 08:09:04 +0000
2021-09-30T08:09:04.781499+00:00 app[web.1]: I, [2021-09-30T08:09:04.781443 #4] INFO -- : [122bd76b-f4dc-45fb-9ba2-caf5b365ee52] Processing by ActiveAdmin::Devise::SessionsController#new as HTML
2021-09-30T08:09:04.799462+00:00 app[web.1]: I, [2021-09-30T08:09:04.799396 #4] INFO -- : [062107a1-7a8f-4806-aa86-a3ff7b8fa79d] Started GET "/cable/" [WebSocket] for 86.82.242.14 at 2021-09-30 08:09:04 +0000
2021-09-30T08:09:04.799540+00:00 app[web.1]: I, [2021-09-30T08:09:04.799495 #4] INFO -- : [062107a1-7a8f-4806-aa86-a3ff7b8fa79d] Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
2021-09-30T08:09:04.807744+00:00 app[web.1]: I, [2021-09-30T08:09:04.807662 #4] INFO -- : Registered connection (35df64d4c8e02dcb77a3ae34cb30d7cf)
2021-09-30T08:09:04.816646+00:00 app[web.1]: #<Thread:0x000055a9bca99730 /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:150 run> terminated with exception (report_on_exception is true):
2021-09-30T08:09:04.816687+00:00 app[web.1]: /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:345:in `rescue in establish_connection': Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
2021-09-30T08:09:04.816699+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:330:in `establish_connection'
2021-09-30T08:09:04.816701+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:101:in `block in connect'
2021-09-30T08:09:04.816703+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.816706+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:100:in `connect'
2021-09-30T08:09:04.816716+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:276:in `with_socket_timeout'
2021-09-30T08:09:04.816718+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:133:in `call_loop'
2021-09-30T08:09:04.816720+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:43:in `subscription'
2021-09-30T08:09:04.816738+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:12:in `subscribe'
2021-09-30T08:09:04.816738+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2775:in `_subscription'
2021-09-30T08:09:04.816738+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2143:in `block in subscribe'
2021-09-30T08:09:04.816739+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.816741+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.816743+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.816745+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.816754+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2142:in `subscribe'
2021-09-30T08:09:04.816754+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:83:in `block in listen'
2021-09-30T08:09:04.816757+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.816775+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:64:in `block in with_reconnect'
2021-09-30T08:09:04.816776+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.816778+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.816778+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.816778+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.816778+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:63:in `with_reconnect'
2021-09-30T08:09:04.816780+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:70:in `without_reconnect'
2021-09-30T08:09:04.816797+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:80:in `listen'
2021-09-30T08:09:04.816800+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:154:in `block in ensure_listener_running'
2021-09-30T08:09:04.816833+00:00 app[web.1]: /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `__connect_nonblock': Connection refused - connect(2) for 127.0.0.1:6379 (Errno::ECONNREFUSED)
2021-09-30T08:09:04.816834+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `connect_nonblock'
2021-09-30T08:09:04.816834+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:206:in `rescue in connect_addrinfo'
2021-09-30T08:09:04.816836+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:198:in `connect_addrinfo'
2021-09-30T08:09:04.816845+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:239:in `block in connect'
2021-09-30T08:09:04.816846+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each'
2021-09-30T08:09:04.816848+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each_with_index'
2021-09-30T08:09:04.816850+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `connect'
2021-09-30T08:09:04.816858+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:313:in `connect'
2021-09-30T08:09:04.816860+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:336:in `establish_connection'
2021-09-30T08:09:04.816862+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:101:in `block in connect'
2021-09-30T08:09:04.816872+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.816874+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:100:in `connect'
2021-09-30T08:09:04.816876+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:276:in `with_socket_timeout'
2021-09-30T08:09:04.816887+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:133:in `call_loop'
2021-09-30T08:09:04.816889+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:43:in `subscription'
2021-09-30T08:09:04.816891+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:12:in `subscribe'
2021-09-30T08:09:04.816904+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2775:in `_subscription'
2021-09-30T08:09:04.816904+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2143:in `block in subscribe'
2021-09-30T08:09:04.816906+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.816918+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.816918+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.816918+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.816919+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2142:in `subscribe'
2021-09-30T08:09:04.816921+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:83:in `block in listen'
2021-09-30T08:09:04.816923+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.816925+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:64:in `block in with_reconnect'
2021-09-30T08:09:04.816934+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.816934+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.816936+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.816945+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.816948+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:63:in `with_reconnect'
2021-09-30T08:09:04.816948+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:70:in `without_reconnect'
2021-09-30T08:09:04.816960+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:80:in `listen'
2021-09-30T08:09:04.816962+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:154:in `block in ensure_listener_running'
2021-09-30T08:09:04.817044+00:00 app[web.1]: /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `__connect_nonblock': Operation now in progress - connect(2) would block (IO::EINPROGRESSWaitWritable)
2021-09-30T08:09:04.817045+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `connect_nonblock'
2021-09-30T08:09:04.817045+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:199:in `connect_addrinfo'
2021-09-30T08:09:04.817045+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:239:in `block in connect'
2021-09-30T08:09:04.817045+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each'
2021-09-30T08:09:04.817063+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each_with_index'
2021-09-30T08:09:04.817065+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `connect'
2021-09-30T08:09:04.817067+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:313:in `connect'
2021-09-30T08:09:04.817088+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:336:in `establish_connection'
2021-09-30T08:09:04.817088+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:101:in `block in connect'
2021-09-30T08:09:04.817088+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.817089+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:100:in `connect'
2021-09-30T08:09:04.817097+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:276:in `with_socket_timeout'
2021-09-30T08:09:04.817098+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:133:in `call_loop'
2021-09-30T08:09:04.817110+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:43:in `subscription'
2021-09-30T08:09:04.817110+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:12:in `subscribe'
2021-09-30T08:09:04.817112+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2775:in `_subscription'
2021-09-30T08:09:04.817114+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2143:in `block in subscribe'
2021-09-30T08:09:04.817127+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.817129+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.817129+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.817141+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.817144+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2142:in `subscribe'
2021-09-30T08:09:04.817146+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:83:in `block in listen'
2021-09-30T08:09:04.817148+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.817168+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:64:in `block in with_reconnect'
2021-09-30T08:09:04.817170+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.817171+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.817171+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.817171+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.817172+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:63:in `with_reconnect'
2021-09-30T08:09:04.817174+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:70:in `without_reconnect'
2021-09-30T08:09:04.817175+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:80:in `listen'
2021-09-30T08:09:04.817191+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:154:in `block in ensure_listener_running'
2021-09-30T08:09:04.824051+00:00 app[web.1]: Exiting
2021-09-30T08:09:04.824863+00:00 app[web.1]: I, [2021-09-30T08:09:04.824794 #4] INFO -- : [122bd76b-f4dc-45fb-9ba2-caf5b365ee52] Completed 401 Unauthorized in 43ms (Allocations: 7165)
2021-09-30T08:09:04.829071+00:00 app[web.1]: /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:345:in `rescue in establish_connection': Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
2021-09-30T08:09:04.829106+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:330:in `establish_connection'
2021-09-30T08:09:04.829118+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:101:in `block in connect'
2021-09-30T08:09:04.829129+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.829140+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:100:in `connect'
2021-09-30T08:09:04.829151+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:276:in `with_socket_timeout'
2021-09-30T08:09:04.829177+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:133:in `call_loop'
2021-09-30T08:09:04.829188+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:43:in `subscription'
2021-09-30T08:09:04.829199+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:12:in `subscribe'
2021-09-30T08:09:04.829209+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2775:in `_subscription'
2021-09-30T08:09:04.829219+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2143:in `block in subscribe'
2021-09-30T08:09:04.829230+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.829253+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.829263+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.829274+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.829284+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2142:in `subscribe'
2021-09-30T08:09:04.829295+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:83:in `block in listen'
2021-09-30T08:09:04.829305+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.829330+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:64:in `block in with_reconnect'
2021-09-30T08:09:04.829341+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.829351+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.829362+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.829372+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.829382+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:63:in `with_reconnect'
2021-09-30T08:09:04.829408+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:70:in `without_reconnect'
2021-09-30T08:09:04.829418+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:80:in `listen'
2021-09-30T08:09:04.829429+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:154:in `block in ensure_listener_running'
2021-09-30T08:09:04.829509+00:00 app[web.1]: /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `__connect_nonblock': Connection refused - connect(2) for 127.0.0.1:6379 (Errno::ECONNREFUSED)
2021-09-30T08:09:04.829520+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `connect_nonblock'
2021-09-30T08:09:04.829530+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:206:in `rescue in connect_addrinfo'
2021-09-30T08:09:04.829548+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:198:in `connect_addrinfo'
2021-09-30T08:09:04.829563+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:239:in `block in connect'
2021-09-30T08:09:04.829573+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each'
2021-09-30T08:09:04.829583+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each_with_index'
2021-09-30T08:09:04.829594+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `connect'
2021-09-30T08:09:04.829604+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:313:in `connect'
2021-09-30T08:09:04.829615+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:336:in `establish_connection'
2021-09-30T08:09:04.829640+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:101:in `block in connect'
2021-09-30T08:09:04.831162+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.831190+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:100:in `connect'
2021-09-30T08:09:04.831201+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:276:in `with_socket_timeout'
2021-09-30T08:09:04.831212+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:133:in `call_loop'
2021-09-30T08:09:04.831223+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:43:in `subscription'
2021-09-30T08:09:04.831234+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:12:in `subscribe'
2021-09-30T08:09:04.831261+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2775:in `_subscription'
2021-09-30T08:09:04.831272+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2143:in `block in subscribe'
2021-09-30T08:09:04.831283+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.831294+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.831304+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.831315+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.831339+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2142:in `subscribe'
2021-09-30T08:09:04.831350+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:83:in `block in listen'
2021-09-30T08:09:04.831361+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.831371+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:64:in `block in with_reconnect'
2021-09-30T08:09:04.831381+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.831392+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.831416+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.831427+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.831437+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:63:in `with_reconnect'
2021-09-30T08:09:04.831448+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:70:in `without_reconnect'
2021-09-30T08:09:04.831458+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:80:in `listen'
2021-09-30T08:09:04.831469+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:154:in `block in ensure_listener_running'
2021-09-30T08:09:04.831581+00:00 app[web.1]: /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `__connect_nonblock': Operation now in progress - connect(2) would block (IO::EINPROGRESSWaitWritable)
2021-09-30T08:09:04.831599+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/socket.rb:1214:in `connect_nonblock'
2021-09-30T08:09:04.831615+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:199:in `connect_addrinfo'
2021-09-30T08:09:04.831626+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:239:in `block in connect'
2021-09-30T08:09:04.831636+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each'
2021-09-30T08:09:04.831647+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `each_with_index'
2021-09-30T08:09:04.831657+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:237:in `connect'
2021-09-30T08:09:04.831668+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/connection/ruby.rb:313:in `connect'
2021-09-30T08:09:04.831693+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:336:in `establish_connection'
2021-09-30T08:09:04.831703+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:101:in `block in connect'
2021-09-30T08:09:04.831713+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.831724+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:100:in `connect'
2021-09-30T08:09:04.831734+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:276:in `with_socket_timeout'
2021-09-30T08:09:04.831744+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:133:in `call_loop'
2021-09-30T08:09:04.831782+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:43:in `subscription'
2021-09-30T08:09:04.831801+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/subscribe.rb:12:in `subscribe'
2021-09-30T08:09:04.831811+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2775:in `_subscription'
2021-09-30T08:09:04.831822+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2143:in `block in subscribe'
2021-09-30T08:09:04.833313+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.833337+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.833348+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.833364+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.833374+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:2142:in `subscribe'
2021-09-30T08:09:04.833385+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:83:in `block in listen'
2021-09-30T08:09:04.833411+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'
2021-09-30T08:09:04.833422+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:64:in `block in with_reconnect'
2021-09-30T08:09:04.833432+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'
2021-09-30T08:09:04.833443+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
2021-09-30T08:09:04.833453+00:00 app[web.1]: from /app/vendor/ruby-2.7.3/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
2021-09-30T08:09:04.833463+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'
2021-09-30T08:09:04.833489+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:63:in `with_reconnect'
2021-09-30T08:09:04.833500+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/redis-3.3.5/lib/redis.rb:70:in `without_reconnect'
2021-09-30T08:09:04.833511+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:80:in `listen'
2021-09-30T08:09:04.833521+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.7.0/gems/actioncable-6.1.3.2/lib/action_cable/subscription_adapter/redis.rb:154:in `block in ensure_listener_running'
2021-09-30T08:09:05.008037+00:00 heroku[web.1]: Process exited with status 1
2021-09-30T08:09:05.096599+00:00 heroku[web.1]: State changed from up to crashed
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
I wouldn't expect it to be trying to connect to Redis on localhost in the Heroku dyno, what should happen is that the Redis addon causes a connection string to be provided as the REDIS_URL
environment variable. Postfacto picks this up and uses that, as opposed to the default localhost connection, to access Redis (which is used by ActionCable to sync the websocket connections).
In theory this addon is created by the deploy.sh
script:
You can check if there's an addon with heroku addons -a <my-app>
and whether the env var is being set with heroku config -a <my-app>
.
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
I wouldn't expect it to be trying to connect to Redis on localhost in the Heroku dyno, what should happen is that the Redis addon causes a connection string to be provided as the
REDIS_URL
environment variable. Postfacto picks this up and uses that, as opposed to the default localhost connection, to access Redis (which is used by ActionCable to sync the websocket connections).In theory this addon is created by the
deploy.sh
script:You can check if there's an addon with
heroku addons -a <my-app>
and whether the env var is being set withheroku config -a <my-app>
.
Spot on. That was the problem indeed, My heroku account was not verified and as a reason the deployment script couldn't provision the redis add-on. Not its working perfectly.