Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

SocketError at / getaddrinfo: nodename nor servname provided, or not known

$
0
0

I am running Ruby on Rails api and I added the 'ahoy_matey' gem.

when I restart de rails server, I am getting this error:

SocketError at /getaddrinfo: nodename nor servname provided, or not known.

I use redis and sidekiq.

This my sidekiq.rb file:

schedule_file = "config/sidekiq-cron.yml"#Sidekiq.configure_server do |config|#  config.average_scheduled_poll_interval = 5#endif Rails.env.development?  Sidekiq.configure_server do |config|    config.redis = { url: 'redis://redis:6379/0' }  end  Sidekiq.configure_client do |config|    config.redis = { url: 'redis://redis:6379/0' }  endendif File.exists?(schedule_file) && Sidekiq.server?  Sidekiq::Cron::Job.load_from_hash YAML.load_file(schedule_file)end

Viewing all articles
Browse latest Browse all 873

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>