PG::ConnectionBad: could not connect to server: Connection refused
Is the server running on host "ec2-54-83-53-120.compute-1.amazonaws.com" (10.144.44.161) and accepting
TCP/IP connections on port 5432?
#135
PG::ConnectionBad: could not connect to server: Connection refused
Is the server running on host "ec2-54-83-53-120.compute-1.amazonaws.com" (10.144.44.161) and accepting
TCP/IP connections on port 5432?
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 671, in initialize
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 671, in new
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 671, in connect
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 217, in initialize
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 37, in new
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 37, in postgresql_connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 721, in new_connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 765, in checkout_new_connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 744, in try_to_checkout_new_connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 705, in acquire_connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 501, in checkout
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 364, in connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 875, in retrieve_connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb", line 128, in retrieve_connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb", line 91, in connection
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/sanitization.rb", line 170, in replace_bind_variables
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/sanitization.rb", line 159, in sanitize_sql_array
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/sanitization.rb", line 33, in sanitize_sql_for_conditions
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation/where_clause_factory.rb", line 14, in build
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation/query_methods.rb", line 632, in where!
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/relation/query_methods.rb", line 625, in where
File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/querying.rb", line 10, in where
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job_active_record-4.1.1/lib/delayed/backend/active_record.rb", line 48, in ready_to_run
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job_active_record-4.1.1/lib/delayed/backend/active_record.rb", line 66, in reserve
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 310, in reserve_job
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 305, in reserve_and_run_one_job
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 213, in block in work_off
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 212, in times
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 212, in work_off
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 175, in block (4 levels) in start
File "/app/vendor/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb", line 308, in realtime
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 174, in block (3 levels) in start
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 61, in block in initialize
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 66, in execute
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 40, in run_callbacks
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 173, in block (2 levels) in start
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 172, in loop
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 172, in block in start
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/plugins/clear_locks.rb", line 7, in block (2 levels) in <class:ClearLocks>
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 79, in block (2 levels) in add
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 61, in block in initialize
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 79, in block in add
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 66, in execute
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb", line 40, in run_callbacks
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/worker.rb", line 171, in start
File "/app/vendor/bundle/ruby/2.3.0/gems/delayed_job-4.1.2/lib/delayed/tasks.rb", line 9, in block (2 levels) in <top (required)>
File "/app/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/lib/rake/task.rb", line 248, in block in execute
File "/app/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/lib/rake/task.rb", line 243, in each
File "/app/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/lib/rake/task.rb", line 243, in execute
File "/app/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/lib/rake/task.rb", line 187, in block in invoke_with_call_chain
File "/app/vendor/ruby-2.3.1/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
File "/app/vendor/bundle/ruby/2.3.0/gems/rake-11.2.2/lib/rake/task.rb", line 180, in invoke_with_call_chain
File "/a
View details in Rollbar: https://rollbar.com/mit-libraries/QuickSubmit/items/21/