Bug V2.4 - disconnected redis
Author: matthieubrauCreated Jan 10, 2023Updated Sep 3, 2025
Hello,
I'm working on heroku with multi worker and I have a problem with resque V2.4
I often have SSL_read: sslv3 alert bad record mac error
It has been fixed in 2.2.1 : https://github.com/resque/resque/pull/1739/files
# Force a reconnect to Redis without closing the connection in the parent
# process after a fork.
def reconnect
@redis._client.connect
endAnd in the 2.4 the reconnect method in data_store file (https://github.com/resque/resque/blob/master/lib/resque/data_store.rb) :
def reconnect
@redis.disconnect!
@redis.ping
nil
endDowngrading the gem to 2.2.1 resolve my problem.
Maybe something I'm doing wrong with 2.4 version ?
Thanks for your feedback
Source: resque/resque