Because of the amount of jobs we process we have had some timeouts with our Redis server.
But when that happens while Hangfire tries to update the state of a job, the job somehow remains in the retry queue even when it expires.
The error I see:
“Failed to change state to a ‘Failed’ one due to an exception after 10 retry attempts”
The jobs that stay in the Retries queue cannot be deleted or requeued.
Probably because of the above problem I can no longer open the processing jobs page. It generates an Exception: