Hi all,
I am trying to get my website ready for production and real traffic in a week, but am having trouble connecting to redis.
For my Ruby on Rails application, I am using the sidekiq gem to process jobs for our app. Sidekiq works with redis in order to list jobs and then process them. I have set up a redis elasticache cluster (in-transit encryption enabled) which I am able to connect successfully to through an 'openssl' command. The application seems to be running well with redis in this regard. However, the issue is when when trying to set up elastic beanstalk to automatically start up sidekiq (which uses redis) with some commands under the .elasticbeanstalk file. Sidekiq needs to be running in the background to process jobs, so I have set up a couple of shell scripts to start sidekiq up upon deployment.
The issue is I am getting a Redis Connection Timeout error which is what seems to be causing the sidekiq process to never take jobs off the queue and process them because it can't connect to redis. Solving this may require expertise with elastic beanstalk deployment, redis elasticache, and possibly some knowledge of rails as well.
My goal is to get the sidekiq jobs up and running again. Any help is greatly appreciated!
Thanks,
Kevin