pieceofsummer / Hangfire.Console

Job console extension for Hangfire
MIT License
430 stars 79 forks source link

Hangfire.Console was not properly configured #128

Open krzysiek-b opened 7 months ago

krzysiek-b commented 7 months ago

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

spaduret commented 7 months ago

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

spaduret commented 7 months ago

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

pieceofsummer commented 7 months ago

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.

MatteoSp commented 7 months ago

+1

kamisoft-fr commented 7 months ago

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