Jolla Calendar can't connect to Synology NAS calendar

Hi

I am still new to this community trying to find my way through

After having received my Jolla Phone yesterday (YEY!!) , I am in the process of setting it up. One of the first things was contacts and calendar. So I tried to add a caldav account with both contacts and calendars pointing to my NAS.

Turns out, that contacts works nicely, while calendar doesn’t. I tried all kinds of URLs and extra paths, which I could find in this forum or via normal search on the internet, but without any success.

So I installed CALDAV from F-Droid, configured it and it immediately found all my calendars. However, the Jolla Calendar App just wouldn’t pick them up. In the end I gave up with Jolla calendar and install Fossify Calendar from F-Droid, which just worked like a charme without any issues now being able to see all my appointments in both my calendars.

Anyone any idea, why neither the Jolla app nor the account set up would allow me to add a Synology NAS calendar?

thx

P6

What kind of error are you getting?

error message differs depending on what I tried:

I got network error or user login or wrong path

I think it all may come down to the correct base URL, which I couldn’t figure yet. I tried

via http: address:http-port
via https: address:https-port

without and then with following paths:

/caldav/
/caldav/v2/
/caldav/
/caldav.php/v2/
/caldav.php/

/sharing/

etc. etc … I combined everything with everything.

It states, that account is created and then gets stuck at the end when trying to receive the llist of calendars

But no account gets created …

I also verified the calendar is all good on the NAS side as well as the login info, which is also proven by the fact, that it does work with the other calendar app

Just can’t think of anything else I potentially could have tested …

Can you try to see what’s wrong using the command-line DAV client:

If you figure out how to get the calendar-list using the CLI client, the same code is responsible behind the scene for account creation and later synchronisation. So it may help you to find what to put in the setting when creating the account.

I used Synology Calendar with SailfishOS with URLs like these:

https://yoursynology.com:5001/caldav/username
or
https://yoursynology.com:5006/caldav/username

And yes, HTTPS was mandatory.

You can find the correct URL in the calendar web interface by clicking on your main calendar, then selecting “Show CalDAV-URL.”

And general HTTP to HTTPS routing on the Synology NAS must be enabled.

For me it helps to vistit the URL with the SailfishOS-Webbrowser and enter your login/pw there and then create the caldav-account.

2 Likes

thanks both!

@fingus - I tried the URLs you provided without success

Keep getting account error

and it is complaining about

http://nas:5000/.well-known (and its https equivalent)

plus an authentication error. But login details are definitely correct

I did go to the NAS webinterface loggin in with the username and password for validation and it works perfectly fine.

my private calendar is not publicly share obviously, so the link is not active - but I did try it just to exclude this as an error source

@dcaliste -

that’s exactly my problem .. I tried so many variations without making any progress .. can’t think of any other

Ecosia AI tells me, that Jolla app doesn’t like the NAS so much …

If i remember correctly, for me only the URL provided by the calender-webinterface works. It had some char/number-combination after url/username/here

1 Like

@dcaliste

so .. I tried dav-client … it complains a non-existent domain,

    [W] unknown:0 - DNS lookup failure: “Invalid domain name”

but if I ping it, I do get the correct IP.

I then tried IP addresses instead of domain names, but same error

Can you PM me the line you typed and the output they provide ? Thanks.

I don’t think your phone knows the domain nas

I think @fingus had some good tips, did you follow all of them?

FWIW, CalDAV/CardDAV on SfOS works but might be slightly less forgiving of wrong user input than … idk, Android maybe.

Apologies .. I used “nas” to mask the actual address .. I did of course use proper domain names ..

It may be a certificate issue from what I learned so far, which I will need to dig further into

Thx!

P6

I would also be interested in a solution, since I have exactly the same problem.
I had set up a working caldav connection a couple of months ago between a Synology NAS calendar and the Jolla C2 and also Xperia 10 II (with SailfishOS). For the C2 it looks like it broke a couple of weeks ago, the Xperia 10 II still seems to be able to synch. Settings in UI between C2 and JollaPhone seem to match; for Xperia 10 II, user is different, but paths still match. At the moment my guess is some authentification issue (perhaps similar to the e-mail issue described here: [Release notes] Pispala 5.1.0.11 - #694 by dcaliste ). I did not yet check out the logs of above comand line, but could provide this information, if required.

For the time being I use the caldav and Fossy calendar from FDroid, which works so far. But I want to understand, what is going on, so will keep digging

1 Like

Also some additional info about my setup:

I am using just a local IP address and no https. At the moment my NAS is only available in my local network, so I did not set up https or DNS (- the address that the webinterface provides for caldav only shows http:// with IP address).

It is also my observation, that it is independent of whether you use domain names or IP addresses

so .. on a different system I looked up the URL after the auto discovery and this format

http://my-IP:my-http-port/caldav/my-username/home

resulted in a list of calendars I have access to. Selecting the ones I needed resulted all their entries to be added to the Jolla calenfar app lile a charme

Haven’t tried https, but the only diff should be the port

@fingus- your format was just missing the /home at the end. Without it wouldn’t have worked for me. Maybe different NAS version or DSM calendar version?

thank you all for your great support!

3 Likes

You are my hero! Can confirm that this is working for me as well.

1 Like

I can confirm it too! It’s so nice to have all household calandars visible again!

1 Like