Parallels / rq-dashboard

Flask-based web front-end for monitoring RQ queues
http://python-rq.org/
Other
1.45k stars 328 forks source link

CERTIFICATE_VERIFY_FAILED with self signed certificates with heroku-redis #395

Open jeznag opened 3 years ago

jeznag commented 3 years ago

Hi, I had the same issue as the person here: https://stackoverflow.com/questions/67352638/rq-dashboard-on-heroku

I am able to work around the issue by manually altering line 80 of web.py to

    current_app.redis_conn = from_url(redis_url,  ssl_cert_reqs=None)

But this is probably not the right approach

DennyWeinberg commented 2 years ago

Someone should add a proper config here.

DennyWeinberg commented 2 years ago

_, new_instance = from_url(redis_url[new_instance_number], client_options={'ssl_cert_reqs': None})

DennyWeinberg commented 2 years ago

Fork: https://github.com/DennyWeinberg/rq-dashboard