[Solved]-Django python-rq — DatabaseError SSL error: decryption failed or bad record mac

19👍

The problem is solved by closing the DB connection at the beginning of each job.

For example,

@job
some_job():
    from django.db import connection
    connection.close()
    some_more_code()

Leave a comment