Trying to deploy on Heroku.
App crashed after successful deploy and during the starting process.
web: bundle exec rails s -p 3000 -b 0.0.0.0
worker: bundle exec sidekiq -q mailers -q default -q notifications -L log/sidekiq.log
ws: anycable-go --host=0.0.0.0 --port=3334
rpc: bundle exec anycable --rpc_host=0.0.0.0:50051
2018-12-07T00:21:07.332913+00:00 heroku[web.1]: Starting process with command `/bin/sh -c bundle\ exec\ foreman\ start\ -f\ Procfile.prod`
2018-12-07T00:21:20.187126+00:00 app[web.1]: D, [2018-12-07T00:21:20.186947 #5] DEBUG -- : [1m[35m (1.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(5837494677641363520)[0m
2018-12-07T00:21:20.266438+00:00 app[web.1]: D, [2018-12-07T00:21:20.266299 #5] DEBUG -- : [1m[35m (7.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
2018-12-07T00:21:20.294461+00:00 app[web.1]: D, [2018-12-07T00:21:20.294339 #5] DEBUG -- : [1m[36mActiveRecord::InternalMetadata Load (4.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
2018-12-07T00:21:20.316648+00:00 app[web.1]: D, [2018-12-07T00:21:20.316521 #5] DEBUG -- : [1m[35m (7.4ms)[0m [1m[35mBEGIN[0m
2018-12-07T00:21:20.319563+00:00 app[web.1]: D, [2018-12-07T00:21:20.319494 #5] DEBUG -- : [1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
2018-12-07T00:21:20.320958+00:00 app[web.1]: D, [2018-12-07T00:21:20.320904 #5] DEBUG -- : [1m[35m (0.9ms)[0m [1m[34mSELECT pg_advisory_unlock(5837494677641363520)[0m
2018-12-07T00:21:21.345809+00:00 app[web.1]: 00:21:21 web.1 | started with pid 10
2018-12-07T00:21:21.345874+00:00 app[web.1]: 00:21:21 worker.1 | started with pid 11
2018-12-07T00:21:21.345973+00:00 app[web.1]: 00:21:21 ws.1 | started with pid 14
2018-12-07T00:21:21.346068+00:00 app[web.1]: 00:21:21 rpc.1 | started with pid 17
2018-12-07T00:21:21.373556+00:00 app[web.1]: 00:21:21 ws.1 | I 2018-12-07T00:21:21.368Z context=main Starting AnyCable 0.6.0-unknown (pid: 18)
2018-12-07T00:21:21.374165+00:00 app[web.1]: 00:21:21 ws.1 | I 2018-12-07T00:21:21.373Z context=main Handle WebSocket connections at /cable
2018-12-07T00:21:21.375908+00:00 app[web.1]: 00:21:21 ws.1 | I 2018-12-07T00:21:21.375Z context=rpc RPC pool initialized: localhost:50051
2018-12-07T00:21:21.379287+00:00 app[web.1]: 00:21:21 ws.1 | I 2018-12-07T00:21:21.378Z context=http Starting HTTP server at 0.0.0.0:3334
2018-12-07T00:21:21.469793+00:00 app[web.1]: 00:21:21 ws.1 | I 2018-12-07T00:21:21.469Z context=pubsub Subscribed to Redis channel: __anycable__
2018-12-07T00:21:21.469879+00:00 app[web.1]: 00:21:21 ws.1 |
2018-12-07T00:21:27.843728+00:00 app[web.1]: 00:21:27 web.1 | => Booting Puma
2018-12-07T00:21:27.843966+00:00 app[web.1]: 00:21:27 web.1 | => Rails 5.2.1 application starting in staging
2018-12-07T00:21:27.844145+00:00 app[web.1]: 00:21:27 web.1 | => Run `rails server -h` for more startup options
2018-12-07T00:21:32.953939+00:00 app[web.1]: 00:21:32 web.1 | [13] Puma starting in cluster mode...
2018-12-07T00:21:32.954206+00:00 app[web.1]: 00:21:32 web.1 | [13] * Version 3.12.0 (ruby 2.5.3-p105), codename: Llamas in Pajamas
2018-12-07T00:21:32.954356+00:00 app[web.1]: 00:21:32 web.1 | [13] * Min threads: 0, max threads: 2
2018-12-07T00:21:32.954513+00:00 app[web.1]: 00:21:32 web.1 | [13] * Environment: development
2018-12-07T00:21:32.954694+00:00 app[web.1]: 00:21:32 web.1 | [13] * Process workers: 2
2018-12-07T00:21:32.954843+00:00 app[web.1]: 00:21:32 web.1 | [13] * Preloading application
2018-12-07T00:21:32.954962+00:00 app[web.1]: 00:21:32 web.1 | [13] * Listening on tcp://0.0.0.0:3000
2018-12-07T00:21:32.955213+00:00 app[web.1]: 00:21:32 web.1 | [13] Use Ctrl-C to stop
2018-12-07T00:21:32.973172+00:00 app[web.1]: 00:21:32 web.1 | [13] - Worker 0 (pid: 40) booted, phase: 0
2018-12-07T00:21:32.989519+00:00 app[web.1]: 00:21:32 web.1 | [13] - Worker 1 (pid: 49) booted, phase: 0
2018-12-07T00:21:34.340624+00:00 app[web.1]: 00:21:34 rpc.1 | I, [2018-12-07T00:21:34.340246 #19] INFO -- : Starting AnyCable gRPC server (pid: 19)
2018-12-07T00:21:34.340978+00:00 app[web.1]: 00:21:34 rpc.1 | I, [2018-12-07T00:21:34.340406 #19] INFO -- : AnyCable version: 0.6.0
2018-12-07T00:21:34.341138+00:00 app[web.1]: 00:21:34 rpc.1 | I, [2018-12-07T00:21:34.340460 #19] INFO -- : gRPC version: 1.17.0
2018-12-07T00:21:34.341341+00:00 app[web.1]: 00:21:34 rpc.1 | I, [2018-12-07T00:21:34.340509 #19] INFO -- : Serving Rails application from ./config/environment.rb
2018-12-07T00:21:34.357525+00:00 app[web.1]: 00:21:34 rpc.1 | I, [2018-12-07T00:21:34.355046 #19] INFO -- : Broadcasting Redis channel: __anycable__
2018-12-07T00:21:34.357842+00:00 app[web.1]: 00:21:34 rpc.1 | I, [2018-12-07T00:21:34.355157 #19] INFO -- : RPC server is starting...
2018-12-07T00:21:34.509536+00:00 app[web.1]: 00:21:34 rpc.1 | I, [2018-12-07T00:21:34.506729 #19] INFO -- : RPC server is listening on 0.0.0.0:50051
2018-12-07T00:21:47.169518+00:00 app[web.1]: 00:21:47 worker.1 | D, [2018-12-07T00:21:47.167828 #12] DEBUG -- : [1m[36mAppointment Load (1.7ms)[0m [1m[34mSELECT "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
2018-12-07T00:21:47.191064+00:00 app[web.1]: 00:21:47 worker.1 | I, [2018-12-07T00:21:47.190728 #12] INFO -- : [Rollbar] Scheduling item
2018-12-07T00:21:47.194068+00:00 app[web.1]: 00:21:47 worker.1 | I, [2018-12-07T00:21:47.193793 #12] INFO -- : [Rollbar] Details: https://rollbar.com/instance/uuid?uuid=657d6c86-bd42-4f03-9b8e-de3b1cd3699a (only available if report was successful)
2018-12-07T00:22:07.838698+00:00 heroku[web.1]: State changed from starting to crashed
2018-12-07T00:22:07.634512+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2018-12-07T00:22:07.634753+00:00 heroku[web.1]: Stopping process with SIGKILL
2018-12-07T00:22:07.787393+00:00 heroku[web.1]: Process exited with status 137