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

Image may be NSFW.
Clik here to view.

Redis: NOAUTH Authentication required but there is no password setting

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


ActionCable is unable to receive data

I am creating a messaging app in Rails 6. Where I have a controller called chatroom, when a registered user enters message, it calls messages_controller.The messages_controller.rb looks like this:class...

View Article


What can make a sidekiq worker produce eroneous or even impossible method...

We have a Worker which had a bug that caused eroneous responses to a method being called. The issue has since been fixed, however when we restart the background workers we seem to still experience the...

View Article

Do sidekiq workers run if primary server not running?

I have a rails app deployed to heroku (free version).I have some mailers that I've set up to work via sidekiq.I have a record, that might have a due date of September 5, 2020.My worker is set up to...

View Article

Sidekiq Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) on...

I'm trying to run sidekiq worker with Rails. When I try to docker-compose up worker I get the following error:worker_1 | Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)worker_1 |...

View Article


Pass Array as an argument to Resque.enqueue

I would like to pass an array to Resque.enqueuetransactions = [ { label: :subscription, transaction_id: 411}, { label: :domain, transaction_id: 150}, { label: :email, transaction_id: 151}, { label:...

View Article

is it possible to use a numeric jid when using sidekiq?

I need to have a numeric jid on sidekiq. Is there a way to override the default jid assignment and use redis INCR? https://redis.io/commands/incr

View Article

How many Redis connections are used with Actioncable?

I'm looking at moving my app's deployment to Heroku, and I'd like to determine if it can correctly run there on the basic plan before putting in the effort to migrate. The basic plan limits Redis to 20...

View Article


is it possible to use a numeric job ID when using sidekiq? [closed]

I need to have a numeric job ID (jid) on sidekiq. Is there a way to override the default jid assignment and use redis INCR instead? https://redis.io/commands/incr

View Article


Not able to connect to redis pod in kubernetes using NodePort service

I'm fairly new to kubernetes and I'm trying to orchestrate my rails app using minikube on my MacBook. My app includes MySQL, Redis and Sidekiq. I'm running webapp, sidekiq, redis and database in...

View Article

How to cache an arbitrary object in Rails(time-based)?

I read the official guide. It says there are page cache, action cache and fragment cache, but they are not what I want.I just like to cache an object, not the whole page or fragment of view, like this...

View Article

Sidekiq takes same time until restart the server it happens in logs as well...

I am using Rails 4 and ruby 2.3.6 version, for async operations I am using Sidekiq with more than 20 workers. All the workers and execution is fine but I am facing one issueServer log time print same...

View Article

Rails + Redis + Sidekiq error: IO::EAGAINWaitReadable

I'm getting random IO::EAGAINWaitReadable sometimes when executing a job from Sidekiq with redis as caching service.redis and sidekiq are running on the same server. I'm also getting this issue...

View Article


What's the timestamp format in a rails cache entry in redis?

When I look at a rails cache key in redis, it looks like this: get cache:pause_mything"\x04\bo:...

View Article

Rails jobs stuck for sidekiq error broken pipeline using mqtt

I've an error when Sidekiq trying to process a Rails Job.I'm now migrating the web app to google cloud service where i set up a redis server and the broker mqtt.The Active Job is the following: def...

View Article


Image may be NSFW.
Clik here to view.

Calculating Needed Redis and Postgres Connections with Sidekiq

I am trying to determine the needed number of connections for a Heroku setup.Ruby on Rails 6SidekiqPostgresRedisI used primary numbers to avoid confusion in the calculations. I am wondering if my...

View Article

ActionCable doesn't work when changing Redis channel_prefix

I have ActionCable set up with Redis on a Rails server. A JS client is able to connect to the cable URL fine, but will only receive data if the Redis channel prefix is set to...

View Article


How can I check in Rails controller if InvalidAuthenticityToken error was...

I would like to be able to rescue this error and do stuff in some specific controllers, only if it was raised because of session expiry (set to 24h in session_store.rb).Is there a way to know the...

View Article

Sidekiq scheduled jobs gets automatically deleted (Sidekiq + Rails)

I want the worker to run on a specific date. I am able to schedule jobs in sidekiq. And sidekiq UI also shows scheduled jobs perfectly. But due to unknown reason my data on sidekiq (processed...

View Article

Image may be NSFW.
Clik here to view.

How do I clear stuck/stale Resque workers?

As you can see from the attached image, I've got a couple of workers that seem to be stuck. Those processes shouldn't take longer than a couple of seconds.I'm not sure why they won't clear or how to...

View Article
Browsing all 873 articles
Browse latest View live


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