-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Calendar loading randomly fails if files stored locally #3365
Comments
|
in calendar config, please use localhost instead of 0.0.0.0, which means any/all interfaces |
I followed this approach (#3147) but will try with |
I'm using I will try to revert to a previous version or shorten the file slightly. Hopefully, I can try this today evening and will report then. |
we have already other problems with the node version which is used by electron v27.2.0 (which is used in the v2.26.0 release). So you could test with a newer elctron version with |
I tested both proposals ( In the meantime, realized that the first time the error occurs, it is slightly different:
After that, the messages for every refresh is (as mentioned in the initial post):
I reverted to v2.24.0 (using |
yes, we know that all that junk is coming from the internal fetch, but we don't know WHY.. |
you are right so far:
Edit: Would be interesting to test the upcoming electron version v29 |
Platform: Raspberry PI 4 (bullseye)
Node Version: 20.5.1
MagicMirror² Version: 2.26.0
Description:
I have several calendars stored locally and they are set in the config file as:
url: "webcal://0.0.0.0:8090/modules/calendar_files/geburtstage.ics"
andfetchInterval: 120000
. The files only change once per day. However, I often receive messages that the calendar cannot be loaded.A typical error message is:
A few minutes later the calendar can be loaded without any change to the file. Sometimes one of the other calendars fail.
I changed the log level to DEBUG but there is no additional information at that time. The previous message comes from another calendar file:
The next message is related to a third file:
If I don't load the biggest calendar file (~500KB), the error does not occur. Putting the big file at the end of the files does not help.
Summary:
The configuration is correct and the calendar files are valid. If multiple are loaded and there is a bigger one (~500KB), it fails randomly.
The text was updated successfully, but these errors were encountered: