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

Real Time Counter can become stuck and does not count down #4917

Closed
majed17 opened this issue Sep 5, 2022 · 13 comments
Closed

Real Time Counter can become stuck and does not count down #4917

majed17 opened this issue Sep 5, 2022 · 13 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue

Comments

@majed17
Copy link

majed17 commented Sep 5, 2022

relating to issue #4893
it is not solved yet as, at days, graphs still appear with non decrementing timers, 6 as this day for example, out of 52

@majed17 majed17 added bug Undesired behaviour unverified Some days we don't have a clue labels Sep 5, 2022
@TheWitness
Copy link
Member

Bring up the browser debug window for the Realtime window and make it a stand alone window and the find and post the JavaScript error you are getting.

@TheWitness
Copy link
Member

This could be caused by a third party plugin too.

@majed17
Copy link
Author

majed17 commented Sep 12, 2022

cacti-realtime-error
is this what you asking for?

@ahouston
Copy link
Contributor

I believe this is what you were looking for:

cacti-realtime-dev-console

It looks like it's being caused by the async option that's added in lib/html.php on line 2596, looks like the jQuery $(function() call is referencing this maybe before the browser has loaded the realtime.js file?

print get_md5_include_js('include/realtime.js', true);

I tried removing the true and it fixed the issue for me, I'm just not sure what else it'll break as I assume that the async was added for a reason?

I can't reproduce this in Firefox by the way, but it affects Chrome every time.

@TheWitness
Copy link
Member

That second one was what I 2ass looking for. Thanks!

@TheWitness TheWitness changed the title in cacti 1.2.22 real time counter gets stuck and does not count down #4893 #2 Under certain circumstances Real Time counter gets stuck and does not count down Sep 15, 2022
TheWitness added a commit that referenced this issue Sep 15, 2022
Under certain circumstances Real Time counter gets stuck and does not count down
@TheWitness
Copy link
Member

This is caused by a lazy load issue. Should be fixed now. Just update lib/html.php and do a full page refresh.

@TheWitness TheWitness added resolved A fixed issue confirmed Bug is confirm by dev team and removed unverified Some days we don't have a clue labels Sep 15, 2022
@majed17
Copy link
Author

majed17 commented Sep 15, 2022

if it be God's will and if we be living, i'll report tomorrow if that fixes it...

@TheWitness
Copy link
Member

Yea, just had surgery myself this week. Getting old sucks. So, moving slow.

@majed17
Copy link
Author

majed17 commented Sep 15, 2022

surgery for what?

@TheWitness
Copy link
Member

Hernia as a complication from laparoscopic surgery earlier in the year.

@majed17
Copy link
Author

majed17 commented Sep 15, 2022

what are you ill off?

@majed17
Copy link
Author

majed17 commented Sep 16, 2022

seems to be working now. by the way, diseases, sorrows, are all God visits... and someone who opens one's diseases to others, will soon be cured!

@TheWitness
Copy link
Member

Amen.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2022
@netniV netniV changed the title Under certain circumstances Real Time counter gets stuck and does not count down Real Time Counter can become stuck and does not count down Dec 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

3 participants