Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG::ConnectionBad: could not connect to server: Connection refused Is the server running on host "pgcorppro01.munimadrid.es" and accepting TCP/IP connections on port 5435? #937

Open
voodoorai2000 opened this issue Jan 17, 2022 · 0 comments

Comments

@voodoorai2000
Copy link
Member

View details in Rollbar: https://rollbar.com/consul/Agendas/items/679/


PG::ConnectionBad: could not connect to server: Connection refused
	Is the server running on host "pgcorppro01.munimadrid.es" and accepting
	TCP/IP connections on port 5435?

  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 651, in initialize
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 651, in new
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 651, in connect
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 242, in initialize
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 44, in new
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb", line 44, in postgresql_connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 438, in new_connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 448, in checkout_new_connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 422, in acquire_connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 349, in block in checkout
  File "/aytomad/app/agendas/.rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 348, in checkout
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 263, in block in connection
  File "/aytomad/app/agendas/.rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 262, in connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 571, in retrieve_connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_handling.rb", line 113, in retrieve_connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_handling.rb", line 87, in connection
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/query_cache.rb", line 31, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 653, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb", line 29, in block in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 88, in __run_callbacks__
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 778, in _run_call_callbacks
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/callbacks.rb", line 27, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/remote_ip.rb", line 78, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar/middleware/rails/rollbar.rb", line 24, in block in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar.rb", line 145, in scoped
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/debug_exceptions.rb", line 17, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/rollbar-2.15.5/lib/rollbar/middleware/rails/show_exceptions.rb", line 22, in call_with_rollbar
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/wash_out-0.11.0/lib/wash_out/middleware.rb", line 8, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_dispatch/middleware/show_exceptions.rb", line 30, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 67, in call
  File "/aytomad/app/agendas/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant