Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangfire.Console was not properly configured #128

Open
krzysiek-b opened this issue Feb 1, 2024 · 5 comments
Open

Hangfire.Console was not properly configured #128

krzysiek-b opened this issue Feb 1, 2024 · 5 comments

Comments

@krzysiek-b
Copy link

krzysiek-b commented Feb 1, 2024

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
Copy link

spaduret commented Feb 1, 2024

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

@spaduret
Copy link

spaduret commented Feb 1, 2024

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

@pieceofsummer
Copy link
Owner

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

@MatteoSp
Copy link

+1

@kamisoft-fr
Copy link

Hi guys, this has been fixed in hangfire 1.8.10 -> HangfireIO/Hangfire#2356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants