imranmomin/Hangfire.AzureDocumentDB

Problem with manual trigger recuring job when using "Hangfire.Console" extension

Closed this issue · 3 comments

Hi.
I am using AzureDocumentDb storage and Hangfire.Console in my project and I found possible issue.
I simply cannot run my scheduled job (recurring job) from the hangfire dashboard level [.../hangfire/recurring]

In browser debuging tools can see that there is unssaccesfull POST request (500 Internal error)
.../hangfire/recurring/trigger
that returns following error:

Unable to cast object of type 'Hangfire.Azure.DocumentDbWriteOnlyTransaction' to type 'Hangfire.Storage.JobStorageTransaction'.

When I just disable Hangfire.Console it works as expected
Please help:)
image

@karolzdunek I'm aware of the issue. I'm working on it. But no deadline.

@karolzdunek - I just released 3.0.0-beta with support to Hangfire.Console.

released 3.0.0