ualbertalib / NEOSDiscovery

Blacklight instance for the NEOS library consortium retired December 22, 2022
https://catalogue.neoslibraries.ca
4 stars 2 forks source link

Mysql2::Error::ConnectionError: Can't connect to MySQL server on 'morley' (111) #651

Open ualbertalib-bot opened 1 year ago

ualbertalib-bot commented 1 year ago

View details in Rollbar: https://rollbar.com/ualbertalib/NEOSDiscovery/items/147/



Mysql2::Error::ConnectionError: Can't connect to MySQL server on 'morley' (111)
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/mysql2-0.5.4/lib/mysql2/client.rb", line 95, in connect
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/mysql2-0.5.4/lib/mysql2/client.rb", line 95, in initialize
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/mysql2_adapter.rb", line 22, in new
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/mysql2_adapter.rb", line 22, in mysql2_connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 830, in new_connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 874, in checkout_new_connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 853, in try_to_checkout_new_connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 814, in acquire_connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 538, in checkout
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 382, in connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 1033, in retrieve_connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_handling.rb", line 118, in retrieve_connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/connection_handling.rb", line 90, in connection
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/model_schema.rb", line 466, in load_schema!
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/attributes.rb", line 234, in load_schema!
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/attribute_decorators.rb", line 51, in load_schema!
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/model_schema.rb", line 459, in block in load_schema
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/model_schema.rb", line 456, in synchronize
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/model_schema.rb", line 456, in load_schema
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/model_schema.rb", line 346, in attribute_types
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/attribute_methods.rb", line 230, in has_attribute?
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/inheritance.rb", line 55, in new
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/persistence.rb", line 35, in create
  File "/var/www/sites/NEOSDiscovery/app/controllers/concerns/blacklight/search_context.rb", line 73, in find_or_initialize_search_session_from_params
  File "/var/www/sites/NEOSDiscovery/app/controllers/concerns/blacklight/search_context.rb", line 49, in find_search_session
  File "/var/www/sites/NEOSDiscovery/app/controllers/concerns/blacklight/search_context.rb", line 30, in current_search_session
  File "/var/www/sites/NEOSDiscovery/app/controllers/concerns/blacklight/search_context.rb", line 35, in set_current_search_session
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/callbacks.rb", line 426, in block in make_lambda
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/callbacks.rb", line 179, in block (2 levels) in halting_and_conditional
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/actionpack-5.2.8.1/lib/abstract_controller/callbacks.rb", line 34, in block (2 levels) in <module:Callbacks>
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/callbacks.rb", line 180, in block in halting_and_conditional
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/callbacks.rb", line 513, in block in invoke_before
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/callbacks.rb", line 513, in each
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/callbacks.rb", line 513, in invoke_before
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/callbacks.rb", line 131, in run_callbacks
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/actionpack-5.2.8.1/lib/abstract_controller/callbacks.rb", line 41, in process_action
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/actionpack-5.2.8.1/lib/action_controller/metal/rescue.rb", line 22, in process_action
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/actionpack-5.2.8.1/lib/action_controller/metal/instrumentation.rb", line 34, in block in process_action
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/notifications.rb", line 168, in block in instrument
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/notifications/instrumenter.rb", line 23, in instrument
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activesupport-5.2.8.1/lib/active_support/notifications.rb", line 168, in instrument
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/actionpack-5.2.8.1/lib/action_controller/metal/instrumentation.rb", line 32, in process_action
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/actionpack-5.2.8.1/lib/action_controller/metal/params_wrapper.rb", line 256, in process_action
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/activerecord-5.2.8.1/lib/active_record/railties/controller_runtime.rb", line 24, in process_action
  File "/var/www/sites/NEOSDiscovery/vendor/ruby/2.7.0/gems/actionpack-5.2