Skip to content

Conversation

@Thobro
Copy link
Contributor

@Thobro Thobro commented Dec 2, 2025

Hi there!

This change fixes the following issue I had related to the new CronSchedulers.

Because I'm on Heroku I have to set SSL_CERT_REQS to None

RQ_QUEUES = {
    'default': {
        'URL': get_secret('REDIS_URL') + '/1',
        'SSL_CERT_REQS': None
    },
}

However when I acces /admin/django-rq/ I noticed that my list of Cron Schedulers is empty. Some digging led me to the function utils.get_cron_schedulers. This function fails because of [SSL: CERTIFICATE_VERIFY_FAILED]. Looking into the connection I noticed that ssl_cert_reqs=required was in there. This was strange I thought. Digging some more led me to the function connection_utils.filter_connection_params that filtered out my SSL_CERT_REQS setting. When I add SSL_CERT_REQS to the whitelist it all works as expected and I can see my running scheduler on the Cron Schedulers overview on admin/django-rq/.

@selwin selwin merged commit 02595e0 into rq:master Dec 7, 2025
17 checks passed
@selwin
Copy link
Collaborator

selwin commented Dec 7, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants