Cuttlefish SMTP process crashes at mail send test - ruby-on-rails

I am launching Cuttlefish (https://cuttlefish.io/) SMTP process like this:
bundle exec rake cuttlefish:smtp RAILS_ENV=production
But when I try to send the test mail thru Cuttlefish's web, this process crashes with this last message:
Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379 (ECONNREFUSED)
What am I missing? Cuttlefish is connected to a MySQL DB, and this seems to be OK. Also, I have Postfix on the same machine, which has also been tested OK. How to make this SMTP process work?
Here is the full crash stack:
I'm listening for emails via SMTP on 0.0.0.0 port 2525
I'm in the production environment
rake aborted!
Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379 (ECONNREFUSED)
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:320:in `rescue in establish_connection'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:311:in `establish_connection'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:91:in `block in connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:273:in `with_reconnect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:90:in `connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:337:in `ensure_connected'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:204:in `block in process'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:286:in `logging'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:203:in `process'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:174:in `call_pipelined'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:146:in `block in call_pipeline'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:273:in `with_reconnect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:144:in `call_pipeline'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:2147:in `block in multi'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:37:in `block in synchronize'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:37:in `synchronize'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:2139:in `multi'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:180:in `block in raw_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/connection_pool-2.1.0/lib/connection_pool.rb:58:in `with'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:179:in `raw_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:68:in `push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/worker.rb:85:in `client_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/worker.rb:40:in `perform_async'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/cuttlefish_smtp_server.rb:117:in `receive_message'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/smtpserver.rb:539:in `process_data_line'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/smtpserver.rb:196:in `receive_line'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/linetext2.rb:64:in `receive_data'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/cuttlefish_control.rb:22:in `smtp_start'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/tasks/cuttlefish.rake:6:in `block (2 levels) in <top (required)>'
/soft/wordpress/home/tupromail/.gem/ruby/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
Errno::ECONNREFUSED: Connection refused - connect(2) for 127.0.0.1:6379
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:129:in `rescue in connect_addrinfo'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:121:in `connect_addrinfo'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:162:in `block in connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:160:in `each'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:160:in `each_with_index'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:160:in `connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:211:in `connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:316:in `establish_connection'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:91:in `block in connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:273:in `with_reconnect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:90:in `connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:337:in `ensure_connected'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:204:in `block in process'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:286:in `logging'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:203:in `process'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:174:in `call_pipelined'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:146:in `block in call_pipeline'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:273:in `with_reconnect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:144:in `call_pipeline'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:2147:in `block in multi'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:37:in `block in synchronize'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:37:in `synchronize'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:2139:in `multi'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:180:in `block in raw_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/connection_pool-2.1.0/lib/connection_pool.rb:58:in `with'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:179:in `raw_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:68:in `push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/worker.rb:85:in `client_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/worker.rb:40:in `perform_async'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/cuttlefish_smtp_server.rb:117:in `receive_message'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/smtpserver.rb:539:in `process_data_line'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/smtpserver.rb:196:in `receive_line'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/linetext2.rb:64:in `receive_data'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/cuttlefish_control.rb:22:in `smtp_start'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/tasks/cuttlefish.rake:6:in `block (2 levels) in <top (required)>'
/soft/wordpress/home/tupromail/.gem/ruby/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
IO::EINPROGRESSWaitWritable: Operation now in progress - connect(2) would block
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:122:in `connect_addrinfo'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:162:in `block in connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:160:in `each'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:160:in `each_with_index'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:160:in `connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/connection/ruby.rb:211:in `connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:316:in `establish_connection'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:91:in `block in connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:273:in `with_reconnect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:90:in `connect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:337:in `ensure_connected'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:204:in `block in process'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:286:in `logging'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:203:in `process'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:174:in `call_pipelined'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:146:in `block in call_pipeline'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:273:in `with_reconnect'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis/client.rb:144:in `call_pipeline'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:2147:in `block in multi'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:37:in `block in synchronize'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:37:in `synchronize'
/soft/wordpress/home/tupromail/.gem/ruby/gems/redis-3.2.0/lib/redis.rb:2139:in `multi'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:180:in `block in raw_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/connection_pool-2.1.0/lib/connection_pool.rb:58:in `with'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:179:in `raw_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/client.rb:68:in `push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/worker.rb:85:in `client_push'
/soft/wordpress/home/tupromail/.gem/ruby/gems/sidekiq-3.3.0/lib/sidekiq/worker.rb:40:in `perform_async'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/cuttlefish_smtp_server.rb:117:in `receive_message'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/smtpserver.rb:539:in `process_data_line'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/smtpserver.rb:196:in `receive_line'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/em/protocols/linetext2.rb:64:in `receive_data'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine'
/soft/wordpress/home/tupromail/.gem/ruby/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/cuttlefish_control.rb:22:in `smtp_start'
/soft/wordpress/home/tupromail/cuttlefish-master/lib/tasks/cuttlefish.rake:6:in `block (2 levels) in <top (required)>'
/soft/wordpress/home/tupromail/.gem/ruby/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => cuttlefish:smtp

Your app is failing due to redis connection, check if you are using redis in some module and install redis or else remove redis dependency

I solved the problem by launching Redis server:
redis-server&

Related

Rails application on production not able to connect to Solr server

I'm trying to configure solr on my rails production server.
It is working fine on the local machine.
Below is the config in sunspot.yml
production:
solr:
solr_home: solr
hostname: localhost
port: 8983
log_level: WARNING
path: /solr/default
staging:
solr:
hostname: localhost
port: 8983
log_level: WARNING
path: /solr/staging
# read_timeout: 2
# open_timeout: 0.5
development:
solr:
solr_home: solr
hostname: localhost
port: 8982
log_level: INFO
path: /solr/development
test:
solr:
hostname: localhost
port: 8982
log_level: WARNING
path: /solr/test
I've tried the following already:
How to configure Solr standalone in Production server with Rails application using sunspot gem?
Below are the logs on running sunspot:solr:reindex
warning: parser/current is loading parser/ruby26, which recognizes
warning: 2.6.6-compliant syntax, but you are running 2.6.4.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
rake aborted!
RSolr::Error::ConnectionRefused: Connection refused - {:data=>"{\"delete\":{\"query\":\"type:Post\"}}", :headers=>{"Content-Type"=>"application/json"}, :method=>:post, :params=>{:wt=>:json}, :query=>"wt=json", :path=>"update", :uri=>#<URI::HTTP http://localhost:8983/solr/default/update?wt=json>}
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:204:in `rescue in execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:196:in `execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:191:in `send_and_receive'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:16:in `block in send_and_receive_with_as_instrumentation'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `block in instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:15:in `send_and_receive_with_as_instrumentation'
(eval):2:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:94:in `update'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:157:in `delete_by_query'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/indexer.rb:68:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `block in remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb:17:in `method_missing'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot.rb:502:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:196:in `solr_remove_all_from_index'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:215:in `solr_reindex'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:60:in `block (4 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:59:in `block (3 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:71:in `with_session'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:19:in `block (2 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `<main>'
Caused by:
Faraday::ConnectionFailed: Failed to open TCP connection to localhost:8983 (Connection refused - connect(2) for "localhost" port 8983)
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:152:in `request_via_request_method'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:137:in `request_with_wrapped_block'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:128:in `perform_request'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:70:in `block in call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter.rb:61:in `connection'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:68:in `call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/response.rb:11:in `call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/rack_builder.rb:154:in `build_response'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/connection.rb:492:in `run_request'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/connection.rb:279:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:197:in `execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:191:in `send_and_receive'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:16:in `block in send_and_receive_with_as_instrumentation'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `block in instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:15:in `send_and_receive_with_as_instrumentation'
(eval):2:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:94:in `update'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:157:in `delete_by_query'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/indexer.rb:68:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `block in remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb:17:in `method_missing'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot.rb:502:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:196:in `solr_remove_all_from_index'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:215:in `solr_reindex'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:60:in `block (4 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:59:in `block (3 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:71:in `with_session'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:19:in `block (2 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `<main>'
Caused by:
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:8983 (Connection refused - connect(2) for "localhost" port 8983)
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:152:in `request_via_request_method'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:137:in `request_with_wrapped_block'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:128:in `perform_request'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:70:in `block in call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter.rb:61:in `connection'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:68:in `call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/response.rb:11:in `call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/rack_builder.rb:154:in `build_response'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/connection.rb:492:in `run_request'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/connection.rb:279:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:197:in `execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:191:in `send_and_receive'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:16:in `block in send_and_receive_with_as_instrumentation'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `block in instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:15:in `send_and_receive_with_as_instrumentation'
(eval):2:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:94:in `update'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:157:in `delete_by_query'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/indexer.rb:68:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `block in remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb:17:in `method_missing'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot.rb:502:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:196:in `solr_remove_all_from_index'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:215:in `solr_reindex'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:60:in `block (4 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:59:in `block (3 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:71:in `with_session'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:19:in `block (2 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `<main>'
Caused by:
Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 8983
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:152:in `request_via_request_method'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:137:in `request_with_wrapped_block'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:128:in `perform_request'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:70:in `block in call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter.rb:61:in `connection'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/adapter/net_http.rb:68:in `call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/response.rb:11:in `call'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/rack_builder.rb:154:in `build_response'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/connection.rb:492:in `run_request'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/faraday-1.1.0/lib/faraday/connection.rb:279:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:197:in `execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:191:in `send_and_receive'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:16:in `block in send_and_receive_with_as_instrumentation'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `block in instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:15:in `send_and_receive_with_as_instrumentation'
(eval):2:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:94:in `update'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:157:in `delete_by_query'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/indexer.rb:68:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `block in remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session.rb:197:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb:17:in `method_missing'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot.rb:502:in `remove_all'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:196:in `solr_remove_all_from_index'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:215:in `solr_reindex'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:60:in `block (4 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/class_set.rb:16:in `each'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:59:in `block (3 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:71:in `with_session'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/tasks.rb:19:in `block (2 levels) in <main>'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load'
/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `<main>'
Tasks: TOP => sunspot:solr:reindex => sunspot:reindex
(See full trace by running task with --trace)
Below is the error trace from production.log
D, [2021-04-06T11:43:12.418764 #8824] DEBUG -- : [c743e1e1-8111-4277-a4af-295e03bd111f] SOLR Request (84.2ms) [ path=select parameters={fq: ["type:Post", "type_texts:Post", nil], start: 0, rows: 25, q: "*:*"} ]
I, [2021-04-06T11:43:12.419319 #8824] INFO -- : [c743e1e1-8111-4277-a4af-295e03bd111f] Completed 500 Internal Server Error in 120ms (ActiveRecord: 2.1ms | Allocations: 26128)
F, [2021-04-06T11:43:12.419933 #8824] FATAL -- : [c743e1e1-8111-4277-a4af-295e03bd111f]
[c743e1e1-8111-4277-a4af-295e03bd111f] RSolr::Error::Http (RSolr::Error::Http - 404 Not Found
Error: Not Found
URI: http://localhost:8983/solr/default/select?wt=json
Request Headers: {"Content-Type"=>"application/x-www-form-urlencoded; charset=UTF-8"}
Request Data: "fq=type%3APost&fq=type_texts%3APost&&start=0&rows=25&q=*%3A*"
Backtrace: /home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:206:in `rescue in execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:196:in `execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/rsolr-2.3.0/lib/rsolr/client.rb:191:in `send_and_receive'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:16:in `block in send_and_receive_with_as_instrumentation'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `block in instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:180:in `instrument'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/solr_instrumentation.rb:15:in `send_and_receive_with_as_instrumentation'
(eval):2:in `post'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot-2.5.0/lib/sunspot/search/abstract_search.rb:49:in `execute'
/home/deploy/ont-production/shared/bundle/ruby/2.6.0/gems/sunspot_rails-2.5.0/lib/sunspot/rails/searchable.rb:395:in `solr_execute_search'):
[c743e1e1-8111-4277-a4af-295e03bd111f]
[c743e1e1-8111-4277-a4af-295e03bd111f] (eval):2:in `post'
[c743e1e1-8111-4277-a4af-295e03bd111f] app/controllers/posts_controller.rb:35:in `search'
Any help would be appreciated!!

Sidekiq job get stuck in "busy"

For some time now my sidekiq keeps getting stuck and us not executing jobs in my development environment. They are stuck in "busy" and it seems to be arbitrary because I tried it with different jobs and sometimes they run and then they stop, even after restarting sidekiq and clearing the queue with 'redis-cli FLUSHALL`.
I researched and with kill -TTIN pid I got a backtrace but I don't even know what to look for. Find the logs down below.
Other assumptions I have/things I changed before it happened:
I had cron jobs running locally, which worked fine
Changed concurrecny from 10 to 50 and then back to 10
upgraded to Rails 6
Something with redis?
I really appreciate any help, as it is blocking me :(
/2.6.5/lib/ruby/2.6.0/monitor.rb:114:in `sleep'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:114:in `wait'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:114:in `block (2 levels) in wait'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:113:in `handle_interrupt'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:113:in `block in wait'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:109:in `handle_interrupt'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:109:in `wait'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:128:in `wait_while'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/share_lock.rb:221:in `wait_for'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/share_lock.rb:83:in `block (2 levels) in start_exclusive'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/share_lock.rb:82:in `block in start_exclusive'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/share_lock.rb:77:in `start_exclusive'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies/interlock.rb:13:in `loading'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:40:in `load_interlock'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:390:in `require_or_load'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:545:in `load_missing_constant'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:214:in `const_missing'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:582:in `load_missing_constant'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:214:in `const_missing'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:582:in `load_missing_constant'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:214:in `const_missing'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/actiontext-6.0.0/lib/action_text/engine.rb:46:in `block (2 levels) in <class:Engine>'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:72:in `class_eval'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:72:in `block in execute_hook'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:51:in `each'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/actiontext-6.0.0/lib/action_text/content.rb:132:in `<top (required)>'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `require'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `block in require'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:325:in `require'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/actiontext-6.0.0/lib/action_text/engine.rb:42:in `block (2 levels) in <class:Engine>'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:429:in `instance_exec'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:429:in `block in make_lambda'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:201:in `block (2 levels) in halting'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:607:in `block (2 levels) in default_terminator'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:606:in `catch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:606:in `block in default_terminator'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:202:in `block in halting'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:514:in `block in invoke_before'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:514:in `each'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:514:in `invoke_before'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb:134:in `run_callbacks'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/execution_wrapper.rb:111:in `run!'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/execution_wrapper.rb:73:in `block in run!'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/execution_wrapper.rb:70:in `tap'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/execution_wrapper.rb:70:in `run!'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/execution_wrapper.rb:86:in `wrap'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.0/lib/active_support/reloader.rb:71:in `wrap'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/rails.rb:42:in `call'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:257:in `stats'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/job_logger.rb:13:in `call'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/job_retry.rb:78:in `global'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:124:in `block in dispatch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/logger.rb:10:in `with'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/job_logger.rb:33:in `prepare'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:123:in `dispatch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:162:in `process'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:78:in `process_one'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:68:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:15:in `watchdog'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:24:in `block in safe_thread'
2020-05-13T20:24:27.362Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5k041l processor
2020-05-13T20:24:27.362Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:69:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:69:in `rescue in _read_from_socket'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:65:in `_read_from_socket'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:57:in `gets'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:396:in `read'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:273:in `block in read'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:261:in `io'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:272:in `read'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:125:in `block in call'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:241:in `block (2 levels) in process'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:385:in `ensure_connected'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:231:in `block in process'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:320:in `logging'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:230:in `process'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:125:in `call'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:219:in `block in call_with_timeout'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:293:in `with_socket_timeout'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:218:in `call_with_timeout'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:1187:in `block in _bpop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:51:in `block in synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:51:in `synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:1184:in `_bpop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:1229:in `brpop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/fetch.rb:37:in `block in retrieve_work'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq.rb:97:in `block in redis'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:65:in `block (2 levels) in with'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in `handle_interrupt'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in `block in with'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in `handle_interrupt'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in `with'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq.rb:94:in `redis'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/fetch.rb:37:in `retrieve_work'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:83:in `get_one'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:95:in `fetch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:77:in `process_one'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:68:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:15:in `watchdog'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:24:in `block in safe_thread'
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5k049h processor
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:69:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:69:in `rescue in _read_from_socket'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:65:in `_read_from_socket'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:57:in `gets'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/connection/ruby.rb:396:in `read'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:273:in `block in read'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:261:in `io'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:272:in `read'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:125:in `block in call'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:241:in `block (2 levels) in process'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:385:in `ensure_connected'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:231:in `block in process'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:320:in `logging'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:230:in `process'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:125:in `call'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:219:in `block in call_with_timeout'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:293:in `with_socket_timeout'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis/client.rb:218:in `call_with_timeout'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:1187:in `block in _bpop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:51:in `block in synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:51:in `synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:1184:in `_bpop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/redis-4.1.4/lib/redis.rb:1229:in `brpop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/fetch.rb:37:in `block in retrieve_work'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq.rb:97:in `block in redis'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:65:in `block (2 levels) in with'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in `handle_interrupt'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in `block in with'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in `handle_interrupt'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in `with'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq.rb:94:in `redis'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/fetch.rb:37:in `retrieve_work'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:83:in `get_one'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:95:in `fetch'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:77:in `process_one'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:68:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:15:in `watchdog'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:24:in `block in safe_thread'
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5k04dx scheduler
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:88:in `sleep'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:88:in `wait'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:88:in `block (2 levels) in pop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:79:in `loop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:79:in `block in pop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:78:in `synchronize'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/connection_pool-2.2.2/lib/connection_pool/timed_stack.rb:78:in `pop'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/scheduled.rb:89:in `wait'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/scheduled.rb:71:in `block in start'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:15:in `watchdog'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:24:in `block in safe_thread'
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5egk7d
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5egkj5
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5egkv5
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5egjkd
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5egk01
2020-05-13T20:24:27.363Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu5egk2h
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu67uhyx
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu67ui6h
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add'
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: Thread TID-ovu67uif1
2020-05-13T20:24:27.364Z pid=2993 tid=ovu5fxgf9 WARN: /Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `select'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rb-fsevent-0.10.4/lib/rb-fsevent/fsevent.rb:44:in `run'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:68:in `_run_worker'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/adapter/darwin.rb:77:in `block (2 levels) in _run_workers_in_background'
/Users/claramorgeneyer/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/listen-3.0.8/lib/listen/internals/thread_pool.rb:6:in `block in add
For any one running into the same issue:
After upgrading to Rails 6, I didn't change the auto loader to zeitwerk by mistake.
Find some more information here: issue on Sidekiq repo
Change this in:
# application.rb
...
config.load_defaults "6.0"
...
You can also test if you have zeitwerk enabled with
rails zeitwerk:check

Rails throwing a Redis::TimeoutError

I have tried twice to install an installation of RubyMine on a CentOS7 VM. They have now both failed due to a Redis::TimeoutError.
I have received this error when attempting to start the rails server. This happens both through RubyMine and through the Konsole after I start redis through the "service redis start" command.
I can start the rails server fine without starting redis first. And the application works fine (so far) if I start redis after the server starts. However this is only a short term solution as I will be adding automatic start for all services such as redis when my VM starts.
My backtrace
/root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/connection/ruby.rb:111:in `rescue in _write_to_socket': Connection timed out (Redis::TimeoutError)
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/connection/ruby.rb:104:in `_write_to_socket'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/connection/ruby.rb:131:in `block in write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/connection/ruby.rb:130:in `loop'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/connection/ruby.rb:130:in `write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/connection/ruby.rb:374:in `write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:271:in `block in write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:250:in `io'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:269:in `write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:228:in `block (3 levels) in process'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:222:in `each'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:222:in `block (2 levels) in process'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:367:in `ensure_connected'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:221:in `block in process'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:306:in `logging'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:220:in `process'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis/client.rb:120:in `call'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/newrelic_rpm-3.16.2.321/lib/new_relic/agent/instrumentation/redis.rb:42:in `block in call'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/newrelic_rpm-3.16.2.321/lib/new_relic/agent/datastores.rb:111:in `wrap'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/newrelic_rpm-3.16.2.321/lib/new_relic/agent/instrumentation/redis.rb:41:in `call'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis.rb:754:in `block in set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis.rb:58:in `block in synchronize'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis.rb:58:in `synchronize'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-3.3.2/lib/redis.rb:750:in `set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/interface.rb:9:in `set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/ttl.rb:8:in `set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/marshalling.rb:5:in `block in set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/marshalling.rb:29:in `_marshal'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/marshalling.rb:5:in `set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/namespace.rb:5:in `block in set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/namespace.rb:74:in `namespace'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-store-1.1.7/lib/redis/store/namespace.rb:5:in `set'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-activesupport-4.1.5/lib/active_support/cache/redis_store.rb:223:in `block in write_entry'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-activesupport-4.1.5/lib/active_support/cache/redis_store.rb:212:in `call'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-activesupport-4.1.5/lib/active_support/cache/redis_store.rb:212:in `with'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-activesupport-4.1.5/lib/active_support/cache/redis_store.rb:223:in `write_entry'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-activesupport-4.1.5/lib/active_support/cache/redis_store.rb:60:in `block in write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/cache.rb:547:in `block in instrument'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/cache.rb:547:in `instrument'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/redis-activesupport-4.1.5/lib/active_support/cache/redis_store.rb:58:in `write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/st_core-1.5.0.2/lib/st_core/entity_factory/entity_store.rb:105:in `write'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/st_core-1.5.0.2/lib/st_core/entity_factory/entity_store.rb:54:in `store'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/st_core-1.5.0.2/lib/st_core/engine.rb:63:in `block (2 levels) in <class:Engine>'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/st_core-1.5.0.2/lib/st_core/engine.rb:62:in `block in <class:Engine>'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /root/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
from /root/RubymineProjects/chop/config/environment.rb:5:in `<top (required)>'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
from /root/RubymineProjects/chop/config.ru:3:in `block in <main>'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
from /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
I hava a same problem when I create redis-cluster.Finally,I find the problem.
you should do that:
1、gem uninstall redis
2、gem install redis --version 3.0.0

ReadTimeout error when starting server sidekiq on ubuntu 14.10

I installed redis server by default it's running 6379 port but when i am running sidekiq its not starting, I added in Gemfile gem 'sidekiq', '3.3.0'
please help me out with this problem
thanks in ADVANCE
this is the error
santosh#santosh-Vostro-3560:~/Roorah$ bundle exec sidekiq
Starting up a new ElasticSearch client with
Net::ReadTimeout
/usr/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill'
/usr/lib/ruby/2.1.0/net/protocol.rb:152:in `rbuf_fill'
/usr/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil'
/usr/lib/ruby/2.1.0/net/protocol.rb:144:in `readline'
/usr/lib/ruby/2.1.0/net/http/response.rb:39:in `read_status_line'
/usr/lib/ruby/2.1.0/net/http/response.rb:28:in `read_new'
/usr/lib/ruby/2.1.0/net/http.rb:1408:in `block in transport_request'
/usr/lib/ruby/2.1.0/net/http.rb:1405:in `catch'
/usr/lib/ruby/2.1.0/net/http.rb:1405:in `transport_request'
/usr/lib/ruby/2.1.0/net/http.rb:1378:in `request'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/instrumentation/net.rb:27:in `block (2 levels) in request_with_newrelic_trace'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent.rb:454:in `disable_all_tracing'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/instrumentation/net.rb:26:in `block in request_with_newrelic_trace'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/cross_app_tracing.rb:38:in `tl_trace_http_request'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/instrumentation/net.rb:23:in `request_with_newrelic_trace'
/usr/lib/ruby/2.1.0/net/http.rb:1371:in `block in request'
/usr/lib/ruby/2.1.0/net/http.rb:853:in `start'
/usr/lib/ruby/2.1.0/net/http.rb:1369:in `request'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/instrumentation/net.rb:27:in `block (2 levels) in request_with_newrelic_trace'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent.rb:454:in `disable_all_tracing'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/instrumentation/net.rb:26:in `block in request_with_newrelic_trace'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/cross_app_tracing.rb:43:in `tl_trace_http_request'
/var/lib/gems/2.1.0/gems/newrelic_rpm-3.9.5.251/lib/new_relic/agent/instrumentation/net.rb:23:in `request_with_newrelic_trace'
/var/lib/gems/2.1.0/gems/faraday-0.9.0/lib/faraday/adapter/net_http.rb:80:in `perform_request'
/var/lib/gems/2.1.0/gems/faraday-0.9.0/lib/faraday/adapter/net_http.rb:39:in `call'
/var/lib/gems/2.1.0/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:139:in `build_response'
/var/lib/gems/2.1.0/gems/faraday-0.9.0/lib/faraday/connection.rb:377:in `run_request'
/var/lib/gems/2.1.0/gems/elasticsearch-transport-1.0.5/lib/elasticsearch/transport/transport/http/faraday.rb:21:in `block in perform_request'
/var/lib/gems/2.1.0/gems/elasticsearch-transport-1.0.5/lib/elasticsearch/transport/transport/base.rb:187:in `call'
/var/lib/gems/2.1.0/gems/elasticsearch-transport-1.0.5/lib/elasticsearch/transport/transport/base.rb:187:in `perform_request'
/var/lib/gems/2.1.0/gems/elasticsearch-transport-1.0.5/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_request'
/var/lib/gems/2.1.0/gems/elasticsearch-transport-1.0.5/lib/elasticsearch/transport/client.rb:104:in `perform_request'
/var/lib/gems/2.1.0/gems/elasticsearch-api-1.0.5/lib/elasticsearch/api/actions/bulk.rb:81:in `bulk'
/var/lib/gems/2.1.0/gems/elasticsearch-model-0.1.6/lib/elasticsearch/model/importing.rb:120:in `block in import'
/var/lib/gems/2.1.0/gems/elasticsearch-model-0.1.6/lib/elasticsearch/model/adapters/active_record.rb:96:in `block in __find_in_batches'
/var/lib/gems/2.1.0/gems/activerecord-4.1.4/lib/active_record/relation/batches.rb:125:in `find_in_batches'
/var/lib/gems/2.1.0/gems/activerecord-4.1.4/lib/active_record/querying.rb:9:in `find_in_batches'
/var/lib/gems/2.1.0/gems/elasticsearch-model-0.1.6/lib/elasticsearch/model/proxy.rb:80:in `method_missing'
/var/lib/gems/2.1.0/gems/elasticsearch-model-0.1.6/lib/elasticsearch/model/adapters/active_record.rb:95:in `__find_in_batches'
/var/lib/gems/2.1.0/gems/elasticsearch-model-0.1.6/lib/elasticsearch/model/importing.rb:119:in `import'
/var/lib/gems/2.1.0/gems/elasticsearch-model-0.1.6/lib/elasticsearch/model.rb:112:in `import'
/home/santosh/Roorah/app/models/city_coordinate.rb:8:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:443:in `load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:443:in `block in load_file'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:633:in `new_constants_in'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:442:in `load_file'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:342:in `require_or_load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:307:in `depend_on'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:225:in `require_dependency'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `block in eager_load!'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:465:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:465:in `eager_load!'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:346:in `eager_load!'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:58:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:in `instance_exec'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:30:in `run'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/initializable.rb:54:in `run_initializers'
/var/lib/gems/2.1.0/gems/railties-4.1.4/lib/rails/application.rb:300:in `initialize!'
/home/santosh/Roorah/config/environment.rb:5:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support /dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/cli.rb:236:in `boot_system'
/var/lib/gems/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/cli.rb:50:in `run'
/var/lib/ gems/2.1.0/gems/sidekiq-3.3.0/bin/sidekiq:8:in `<top (required)>'
/usr/local/bin/sidekiq:23:in `load'
Here is the city_coordinate model
class CityCoordinate < ActiveRecord::Base
include Elasticsearch::Model
include Elasticsearch::Model::Callbacks
# Elasticsearch::Model.client = Elasticsearch::Client.new url: ENV['BONSAI_URL'], log: true
end
CityCoordinate.import

Rails app crashes on Heroku after implementing ElasticSearch

I just implemented ElasticSearch to my Rails App. Everything is working localy, but when I deployed my changes to Heroku, the app crashes.
When I run
heroku run rails c
in the Heroku cli, I get this error message:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:878:in `initialize': Connection refused - connect(2) (Faraday::ConnectionFailed)
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:878:in `open'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:878:in `block in connect'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:877:in `connect'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:851:in `start'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:1367:in `request'
from /app/vendor/bundle/ruby/2.0.0/gems/faraday- 0.9.0/lib/faraday/adapter/net_http.rb:80:in `perform_request'
from /app/vendor/bundle/ruby/2.0.0/gems/faraday- 0.9.0/lib/faraday/adapter/net_http.rb:39:in `call'
from /app/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:139:in `build_response'
from /app/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.0/lib/faraday/connection.rb:377:in `run_request'
from /app/vendor/bundle/ruby/2.0.0/gems/elasticsearch-transport-1.0.4/lib/elasticsearch/transport/transport/http/faraday.rb:21:in `block in perform_request'
from /app/vendor/bundle/ruby/2.0.0/gems/elasticsearch-transport-1.0.4/lib/elasticsearch/transport/transport/base.rb:187:in `call'
from /app/vendor/bundle/ruby/2.0.0/gems/elasticsearch-transport-1.0.4/lib/elasticsearch/transport/transport/base.rb:187:in `perform_request'
from /app/vendor/bundle/ruby/2.0.0/gems/elasticsearch-transport-1.0.4/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_request'
from /app/vendor/bundle/ruby/2.0.0/gems/elasticsearch-transport-1.0.4/lib/elasticsearch/transport/client.rb:102:in `perform_request'
from /app/vendor/bundle/ruby/2.0.0/gems/elasticsearch-api-1.0.4/lib/elasticsearch/api/namespace/common.rb:21:in `perform_request'
from /app/vendor/bundle/ruby/2.0.0/gems/elasticsearch-api-1.0.4/lib/elasticsearch/api/actions/indices/create.rb:77:in `create'
from /app/app/models/publication.rb:67:in `<top (required)>'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `block in require'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:232:in `load_dependency'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:348:in `require_or_load'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:307:in `depend_on'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:225:in `require_dependency'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/engine.rb:467:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/engine.rb:467:in `block in eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/engine.rb:465:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/engine.rb:465:in `eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/engine.rb:346:in `eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/application/finisher.rb:58:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/initializable.rb:30:in `run'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/initializable.rb:54:in `run_initializers'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/application.rb:288:in `initialize!'
from /app/config/environment.rb:5:in `<top (required)>'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/application.rb:264:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/application.rb:264:in `require_environment!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:147:in `require_application_and_environment!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:68:in `console'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands.rb:17:in `<top (required)>'
from /app/bin/rails:8:in `require'
from /app/bin/rails:8:in `<main>'
On Heroku I installed the Bonsai ElasticSearch, but that didn't solve the problem.
I'm not that confident with ElasticSearch, did I forgot some configuration or something?
my repository is at:
https://github.com/acandael/posplus-rails
thanks for your help,
Anthony
The errors imply the app can't connect to Elasticsearch to create an index, so I would check if you can do that locally:
$ heroku config | grep BONSAI_URL
$ curl -XPUT '<your-bonsai-url>/myindex/'
If this fails, then the problem is with the Elasticsearch cluster. If it succeeds, then you're probably not pointing the app at the correct URL.

Resources