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

Constantly polling the same rows on Linux machines #118

Open
lukasan opened this issue Feb 18, 2022 · 11 comments
Open

Constantly polling the same rows on Linux machines #118

lukasan opened this issue Feb 18, 2022 · 11 comments

Comments

@lukasan
Copy link

lukasan commented Feb 18, 2022

Hello, I'm having the same problem as #99 had. It starts repeating everything every polling interval after the function ends.
Debug mode on Manjaro is like that. Production Ubuntu does the repeat polling also.
But Windows debugging is working normally... So I figured this is a problem of the environment.

I tried with in-memory storage on Manjaro and there was no difference. So database provider is not likely to be the problem.

I'm using MariaDB.
Same behaviour between .NET 5.0 and .NET 6.0.

@khellang
Copy link

Is this the same as #111? @lukasan did you happen to run with an RTL locale on the server?

@lukasan
Copy link
Author

lukasan commented Oct 24, 2023

Hey @khellang.
On a Ubuntu 20.04 64bit-based VPS:

$ locale -a
C
C.UTF-8
$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$ localectl status
   System Locale: n/a
       VC Keymap: n/a
      X11 Layout: us
       X11 Model: pc105

Seems like this is not the problem.

@lukasan lukasan closed this as completed Oct 24, 2023
@lukasan lukasan reopened this Oct 24, 2023
@leoerlandsson
Copy link

leoerlandsson commented Oct 30, 2023

We are seeing the same problem. This time on Windows. The Console keeps updating even though the job is already done and the entire log has been loaded.

The problem seems to be the parsing of the attribute "data-n", that has an invalid character. This minus sign (-) has a charcode of 8722, but should be 45.

Same problem as in #99 and (with a twist), #111

image
image

@khellang
Copy link

khellang commented Oct 30, 2023

Ah, yeah, that's the same. We're working on a fork with a bunch of bugfixes, including this one (here). Hopefully we'll be able to push a version to NuGet this week.

@khellang
Copy link

khellang commented Oct 30, 2023

I'm assuming you're using Swedish locale, which is infamous for having a different NegativeSign than most other cultures. Forcing InvariantCulture (as in my commit) should fix the issue.

@leoerlandsson
Copy link

leoerlandsson commented Oct 30, 2023

I'm assuming you're using Swedish locale, which is infamous for having a different NegativeSign than most other cultures. Forcing InvariantCulture (as in my commit) should fix the issue.

We are using Swedish locale. Not reproducible with English Culture.

Good catch, and thanks.

(Then there's the issue of getting the PR into Hangfire.Console. I guess @pieceofsummer is in the war? :( )

@khellang
Copy link

khellang commented Nov 2, 2023

Then there's the issue of getting the PR into Hangfire.Console.

In the meantime, there's now a forked version with some modernization and bugfixes now on NuGet.org. Hopefully this project will come back to life at some point and the fixes can be accepted upstream 😄

@leoerlandsson
Copy link

Thanks Kristian!

@lukasan
Copy link
Author

lukasan commented Nov 2, 2023

the locale problem is not related with my original issue.

@khellang
Copy link

khellang commented Nov 2, 2023

@lukasan Wanna give the forked package a shot and see if it changes anything? Maybe you could check the data-n attribute in your browser?

@peters
Copy link

peters commented Nov 3, 2023

Then there's the issue of getting the PR into Hangfire.Console.

In the meantime, there's now a forked version with some modernization and bugfixes now on NuGet.org. Hopefully this project will come back to life at some point and the fixes can be accepted upstream 😄

Thanks! Constant polling is now fixed 🥇

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

4 participants