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
Newsfeed intervals become chaotic #2638
Comments
Here too. I also using MM_Pages to flip the page every 1 Minute. No special options in my config:
|
Already followed the corresponding Forum-Thread. Reading through this thread I can summarize:
Questions:
|
@khassel |
I think the best thing to do is let someone who has this issue test the dev branch without any 3rd party modules. If this solves the issue, add the 3rd party modules to see if that was the issue. If not the issue seems to be solved by using the dev branch. |
Which file from the developer branch is the one I need to test? |
@Sekisback you just do
to get to the dev branch with the latest pre-release code |
@sdetweil shouldnt it be |
@rejas doah!, fixed |
on the way, develop branch installed, pm2 shows Version 2.17.0. |
good news, looks like that you made it, till now it works like expected |
When its going to be the 2,17 release? Think about tonswitch tonthe dev-branch. |
October 1, release every 90 days |
Bad news.. we were happy too early... not so wild as before, but a few news are shown like expected with the right time. But some of them rush |
New release |
updated to 2.17.1, now we will see whats happen in the next few days |
Updated today to 2.17. |
I have the same problem. Latest version installed, though the interval is chaotic, article disappears after 3-5sec, but updateInterval is set to 1min. Also some news are also flashing for me. |
I went back to version 2.14 for newsfeed, before nunjucks template, it is more stable and works properly |
What would be interesting is to test 2.14 but with the latest Electron version. Just to make sure it's not an issue of Electron. |
I don't use electron, I go into server mode and display in chrome Kiosk mode |
Hmmm that's interesting. How about everyone else with this issue? Using electron or server only? Also: why chrome kiosk mode and not electron? |
Using electron, runs without issues since the last update (7days) |
I am using Electron with 2.17 and still had the problem. Perhaps the cause of the problem is near the error handling/retry mechanism? |
What's the update interval you are using? |
Default values. Here is my config:
|
I am running a modified version on windows, on several devices and it seems simpler to me |
@hangorazvan makes sense. |
@jalibu hmmm that's using the default value of 5 min. That's way long enough to not conflict with timed out requests. |
I thought about this change: 37fab7a#diff-ff5384d40bfcc5aeb84bf47c5652e5569f09ab0c2aa35486de39712451c5c396 It recalls scheduleUpdateInterval |
@MichMich I'm using the "standard" way, with Electron, installed on an RPi, now UpdateInterval set to 1min, previously it was only 20secs or something... Either way I have this problem. |
after 11 days without trouble, same behavior as before. with the difference, that the news stay a little bit longer may 3second |
Installed dev version, same as before. After some time, the updateInterval is not normal. |
I found a way to reproduce the problem:
Tested with Chrome on MacOS. No Electron |
You could also just use the Browser console and execute once:
where getModules()[0] is the id of the newsfeed module |
Update: Or even simpler, just execute |
Thanks for the hints @jalibu I might have found the issue behind it. Please check out my PR.. |
yes. 'bug in error handler'
force starts another IntervalTimer() so now you have two, or three or ... after however many errors.. |
i don't see any open PR's |
Give an old man some time :-D |
Like I said 7 days ago ;-) |
Didnt have the time to look at the whole thread these days :-) |
🎉 |
Haha, I opened a PR, too. But you @rejas were first. |
Haha. One day .... |
I created another PR for this ;-) |
Thanks for this important contribution. 😬👍🏻 |
I found a bug in MagicMirror
Platform: Raspberry Pi OS
Node Version: 14.17.2
MagicMirror Version: 2.16.0
Description: After an unspecified time, the newsfeed module starts with chaotic fading intervals. It looks like multiple, competing intervals are affecting fading at the same time. It is noticeable that there are fading pauses of different lengths.
A browser refresh fixes this problem temporary (as it refreshes client runtime intervals)
Screencast.mov
Steps to Reproduce: This problem is not reproducible "by hand", but comes by itself after an unpredictable runtime (without further human interactions)
Expected Results: Constant fading intervals
Actual Results: Fading intervals are totally messed up
Configuration:
Additional Notes: -
The text was updated successfully, but these errors were encountered: