Read the statement by Michael Teeuw here.
Problems with calender and Nextcloud
-
today i reconfigured the cloud system to TLS1.2 to make a check. Its working.
I check the access log also and found the request:"GET /remote.php/dav/calendars/USER/personal/?export HTTP/1.1" 200 79020 "-" "Mozilla/5.0 (Node.js 10.2) MagicMirror/2.9.0 (https://github.com/MichMich/MagicMirror/)"
Very curious here is the information about the request with Nodejs 10.2. On the system 10.2 should not be available. When i check the version, v12 is visible.
Do you have any dependencies in MM Code to the old NodeJS ?
Its just a stro, but maybe here is the root cause ?
-
@Pakmann I got no clue… we are using the latest request module (2.88.0)
it does say special parms required for SSL 3 (and there is currently no way to pass something like this into be used)
https://www.npmjs.com/package/request#tlsssl-protocol
I do see in the calendar code, setup for the request id info
"User-Agent": "Mozilla/5.0 (Node.js "+ nodeVersion + ")
-
Hey,
3 month later and no solution?
i tried with newest version. wget nextcloud_calender_url get the calender in special format. The Name is “7863TJr9N2JJRgfG?export” and not *.ics.i tried official documentation. Add i “auth” with copy and paste, i get a config error.
in the newest build of Nextcloud i can copy a abo-link. i can download the “.ics” with this link without credentials.
how i can use it for mm calender? its a puplic calender link now but i dont get any calender infos.
my config:
{ module: "calendar", header: "Kalender", // see help for more information position: "top_left", config: { colored: true, coloredSymbolOnly: false, calendars: [ { url: 'https://domain.tld/nextcloud/remote.php/dav/public-calendars/7812hello1232JJRgfG?export', symbol: 'calendar' }, ], } },
-
@Corin-Corvus said in Problems with calender and Nextcloud:
https://domain.tld/nextcloud/remote.php/dav/public-calendars/7812hello1232JJRgfG?export
that url doesn’t work here… domain.tld not found
3 month later and no solution?
no one interested in looking at the code to fix it… this is all volunteer…
if u have the ics file,
copy the ics file into the default calendar folder
the url would then be
file:///home/pi/MagicMirror/modules/default/calendar/???.ics -
Ok, I realise it’s been a while but, for the sake of other who might hit this problem (or one like it), us Nextcloud users are generally using it because we’re security-conscious and like to keep our data private.
If you’re like me, you might have enabled 2FA which means if you enter your ‘usual’ password in your config file, you can’t then enter your second authentication method.
If this is the case, you’ll need to create a ‘one-time’ password in Nextcloud and use this instead of your ‘normal’ password. Get one by going to Nextcloud settings, Security and scroll to bottom. Hit ‘Create new app password’ and copy to the URL in the config.