Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
41 views
+50

Turbo-Stream broadcast and Sidekiq job - Job runs, but page does not update

Trying to run a sidekiq job then broadcast the updated attributes to the page assuming the user is sitting there watching it. I'll try and list all relevant code: cable.yml development: adapter: ...
Ricky Mason's user avatar
  • 1,820
0 votes
1 answer
37 views

Why can't I wrap Sidekiq.configure_server in Rails after_initialize?

After upgrade to Rails 6 the initializers/sidekiq.rb is causing deprecation warnings about class autoloading. As a workaround I thought I could wrap the contents of Sidekiq.configure_server in Rails....
jva's user avatar
  • 2,817
0 votes
0 answers
67 views

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

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 me 09:26:23 sidekiq.1 |...
Evan Wilson's user avatar
0 votes
1 answer
39 views

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 ...
Fillype Farias's user avatar
0 votes
1 answer
60 views

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::Job I know that it is possible to delete using ScheduledSet, but I cannot ...
Максим Волков's user avatar
0 votes
0 answers
78 views

Starting chromedriver from rails app gives unable to connect to /usr/bin/chromedriver 127.0.0.1:9515

I've been debugging this for quite some time and I don't know what else I should do to fix this. Long story short: I have a rails app that needs to launch chromedriver to navigate to a specific ...
brunotiago's user avatar
0 votes
1 answer
105 views

How to Implement `around_perform` callback after including Sidekiq (Sidekiq::Job) inside ApplicationJob

To streamline the inheritance of Sidekiq::Job into all of my jobs and as an attempt to leverage Rails' built-in callbacks, I've implemented ApplicationJob like this to log whodunnit data (I have also ...
Richard Wright's user avatar
0 votes
1 answer
78 views

sidekiqctl stop halting the further execution of commands in preStop on devtron

Trying to run sidekiqctl stop in preStop hook of pod lifecycle, doing so to gracefully shutdown sidekiq process while pod termination. Script that I'm trying to execute in preStop hook echo "...
Narendra's user avatar
  • 125
0 votes
1 answer
41 views

Connection Sidekiq/Redis fail with code WSAENOPROTOOPT

I am building an Ruby on Rails app that rely on Sidekiq. This app run on a windows server VM and and Redis run on a Debian 11 VM. When I am starting my Sidekiq server, I am met with this error message....
Adenathael's user avatar
0 votes
0 answers
43 views

Getting Argument Error while trying to cancel a sidekiq job using Sidekiq::Status.cancel

Am trying to cancel a siekiq job. I used Sidekiq::Status.cancel(jid) This is my Sidekiq::Status module require 'sidekiq-status/version' require 'sidekiq-status/sidekiq_extensions' require 'sidekiq-...
Pranathi D's user avatar
0 votes
2 answers
66 views

Can I start a sidekiq job from a Heroku procfile?

If I have a worker called MigrationWorker can I run that from a procFile that would run when pushing code to Heroku? This is my current procFile that starts everything, but I wonder if I can either ...
ToddT's user avatar
  • 3,210
1 vote
2 answers
79 views

How to retry for a period of time with sidekiq?

I am looking for a way to limit a job, to be retried only for 2 days or 48 hours. After which it should be cancelled, unless processed. I know with sidekiq_options, I can limit the number of retries. ...
Piyush Singhania's user avatar
0 votes
0 answers
56 views

Getting error while connecting to multiple databases in one single application

I am developing an application that connects to multiple databases. Each request triggers a job designed to connect to a specific database. This job will then execute a series of queries. Currently, ...
rhugo's user avatar
  • 484
0 votes
1 answer
134 views

How to enqueue Sidekiq jobs and execute them only upon manual launch?

I'm working on a Ruby on Rails application where I need to enqueue Sidekiq jobs for sending SMS messages. However, I want these jobs to be enqueued but not executed immediately. Instead, I want to ...
Merouane Amqor's user avatar
0 votes
1 answer
127 views

ERROR: CRON JOB: undefined method `perform_later' for #<Sidekiq::Worker::Setter:0x00007fd1af1929f8>. Did you mean? perform_at

I recently upgraded Sidekiq (5 to 6) and consequently none of my sidekiq-cron jobs are queueing. It fails when enqueueing because of not finding the method perform_later job for ActiveJob. I can't ...
Ladybro's user avatar
  • 796

15 30 50 per page
1
2 3 4 5
119