Hangfire.Console icon indicating copy to clipboard operation
Hangfire.Console copied to clipboard

Hangfire.Console was not properly configured

Open krzysiek-b opened this issue 1 year ago • 5 comments

Looks like names of some props have been changed and Hangfire does not play well anymore with the console.

js1890838126382:648  Uncaught Error: Hangfire.Console was not properly configured
    at js1890838126382:648:15
    at js1890838126382:926:3
...
(function($, hangfire) {
    var pollUrl = hangfire.config.consolePollUrl;
    var pollInterval = hangfire.config.consolePollInterval;
    if (!pollUrl || !pollInterval)
        throw new Error("Hangfire.Console was not properly configured");

hangfire.config contains pollUrl not consolePollUrl It works fine with Hangfire.AspNetCore Version=1.8.6 Does not work with 1.8.9

krzysiek-b avatar Feb 01 '24 17:02 krzysiek-b

I have same issue. Property names doesn't match: image

spaduret avatar Feb 01 '24 18:02 spaduret

@krzysiek-b , it worth to open ticket here as well https://github.com/IdentityStream/Hangfire.Console

spaduret avatar Feb 01 '24 18:02 spaduret

Seems like a regression in the Hangfire itself: https://github.com/HangfireIO/Hangfire/issues/2356 The code responsible for initialising those properties is simply not writing anything.

pieceofsummer avatar Feb 01 '24 22:02 pieceofsummer

+1

MatteoSp avatar Feb 15 '24 16:02 MatteoSp

Hi guys, this has been fixed in hangfire 1.8.10 -> https://github.com/HangfireIO/Hangfire/issues/2356

kamisoft-fr avatar Feb 15 '24 17:02 kamisoft-fr