Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Browsing all 873 articles
Browse latest View live
↧

Issues connecting Sidekiq to Redis

I have found a piece of open source code that I have slightly re-factored in order to ensure the use of updated dependencies.The open source code uses 3 dockerfiles to run as containers which should in...

View Article


Store Rails session using Redis

The default session store for Rails is cookie_store. This makes the session be stored on the client side (correct me if I am wrong).I want to change this default behavior, so that I can store the...

View Article


How can i generate consecutive codes with redis?

i would like to generate a consecutive codes, like PR00001, EC00002, TG00003 and so on, the first two letters have to be from the name and the last name.my pseudocode isrecovery the number from...

View Article

Use Redis as primary database in Rails app

Hello I am newbie to Redis. I am trying to use Redis as my primary database instead of sqlite as provided by default with Rails. I tried enough googling but could not find relevant stuff. How to...

View Article

Docker compose for rails application

I have below docker compose file, and i have few questions regarding it,version: '3.8'services: web: build: context: ./ dockerfile: Dockerfile platform: linux/amd64 command: bash -c "rm -f...

View Article


Consumer dont receive data from channel with background job in Rails 7

I created a background job that sends a signal to client on completion:BuildingConstructionChannel.broadcast_to(user, { message: 'Building construction completed' }).When signal is received, connected...

View Article

Redis key expiry hook/notifications in rails

I need to call a (callback)method once a Redis key got expired. Does redis(ruby gem) provide any notification mechanism or callback registration?Any assistance will be appreciated.

View Article

How to fix error "OpenSSL::SSL::SSLError"

My rails app is hosted with heroku and they recently updated the redis version my app was using from 4.0.14 to 6.2. This has caused some bugs to start appearing of the following...

View Article


Image may be NSFW.
Clik here to view.

Redis raises "NOAUTH Authentication required" error but there is no password...

I got error NOAUTH Authentication required when I connect to Redis server via command: redis-cli and run ping to check if Redis is working.I found answer for NOAUTH Authentication required error which...

View Article


Foreman terminates immediately

I recently installed OSX and Ubuntu on different computers. I then attempted to install redis and foreman for both OS's. Both errors threw no flags, and seemed to execute successfully. However,...

View Article

redis.rb - initialize': no implicit conversion of String into Integer...

trying to run websockets using action_cable sidekiq and redis (heroku redis addon).on staging env that has same redis machine im able to run everything smoothly but on production upon trying to connect...

View Article

RedisClient::CannotConnectError on Render.com - Rails API Deployment

Deployment is fine, I get this in logs -enter image description hereBut when I try to login/register user, I get the Redis Client Cannot Connect Error -enter image description hereFULL ERROR:...

View Article

Ruby on Rails - Server Memory Spiking and Users getting logged out

We have a fairly typical Ruby on Rails 6.1 app with a Redis cache store which we are also using for our session store. We are using Devise and an single-page app with lots of graphql requests.Recently...

View Article


How can I delete specific jobs from Resque queue without clearing the whole...

I'm using Resque workers to process job in a queue, I have a large number of jobs > 1M in a queue and have some of the jobs that I need to remove ( added by error). Crating the queue with the jobs...

View Article

Deploy Ruby on Rails app with railway.app

I'm trying to deploy my app on railway.app with Redis (using Sidekiq).I'm using buildpacks and the problem is I have 2 buildpacks and railway says in its documentation only one buildpack is executed in...

View Article


Redis and Memcache or just Redis?

I'm using memcached for some caching in my Rails 3 app through the simple Rails.cache interface and now I'd like to do some background job processing with redis and resque.I think they're different...

View Article

NoMethodError: undefined method `jobs' for module Sidekiq::Job

In my event service I'm trying to delete a job, but I see this:NoMethodError: undefined method `jobs' for module Sidekiq::JobI know that it is possible to delete using ScheduledSet, but I cannot write...

View Article


Issue with Sidekiq and Redis in Production on Rails 7.0.8.1

I'm experiencing issues configuring Sidekiq in my production environment. The application is a Rails 7.0.8.1 running on an Ubuntu 22.04 server, and the installed Redis version is 7.2.5. However, when...

View Article

Rails/Redis ActiveRecord::RecordNotFound error even when the record clearly...

I am currently working on a piece of software for the company I am working at, and I am at a complete loss as to how I can resolve this error.This is what Sidekiq spits back at me09:26:23 sidekiq.1 |...

View Article

Why does my "/var/app/staging" contains gem files that is absent on my...

I tried to connect Redis Elastic Cache to my Elastic Beanstalk environment but failed then I deleted all mentions of "Redis" from my app and then even created new environment but my /var/app/staging...

View Article
Browsing all 873 articles
Browse latest View live


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