Cannot add ThunderMail's CalDAV/CardDAV

REPRODUCIBILITY: 100%
OS VERSION: 5.2.0.16
HARDWARE: Jolla Phone 2026
UI LANGUAGE: English US
REGRESSION: Don’t know

DESCRIPTION:

I’m trying to add CalDAV&CardDAV to the device account list via “CalDAV and CardDAV” item. After filling all the data, I’m presented with Account error and a failed authentication for a “weird” path. Journalctl logs show:

Jul 29 20:13:32 JollaPhone2026 estart[3796]: [W] unknown:0 - sendAuthenticatedRequest(): request error: QNetworkReply::NetworkError(ContentNotFoundError) response code: 404 url: "https://mail.thundermail.com/.well-known"
Jul 29 20:13:32 JollaPhone2026 estart[3796]: [D] onFailed:87 - failed to create account: Check sign-in details and try again. Authentication failed for URL: https://mail.thundermail.com/.well-known

I’ve tried all possible combinations and I’ve already opened an issue with ThunderMail support, however all software that ThunderMail devs and myself tried work well with caldav/carddav service of theirs and the auth is not handled by the URL from the error.

PRECONDITIONS:

Need an an invite-only account at ThunderMail

STEPS TO REPRODUCE:

  1. Go to Settings → Accounts → Add → CalDav and CardDav

  2. Fill in all data, just like on other devices

  3. Click Accept

EXPECTED RESULT:

Accounts are added and start to sync

ACTUAL RESULT:

MODIFICATIONS:

ADDITIONAL INFORMATION:

I’m new to the Sailfish OS ecosystem as I just recieved my Jolla Phone, so any guidance and help is appreciated as I think ThunderMail is a perfect pairing with Jolla Phone.

2 Likes

Greetings,

I just had a similar error message when setting up a CalDAV and CardDAV account in my JP26. The difference in my case is that I am using a self-hosted server, but the error message was the same as you showed above. The problem I had was with the server address and paths, which I at first did not remember correctly. Once I entered the correct server path, the calendars and contacts (along with the contacts’ images) were synced successfully.

Hopefully your case is just as simple. Please see if the following article can help you: Connecting Your Thundermail Calendar

I had the same issue with Thundermail. As a workaround I tried to disable the option “Ignore SSL errors“ and it helped. Contacts and calendars gets synchronized! Just enter https://mail.thundermail.com as a Server Address and let other options empty. Btw. I am using freshly created “App Password” of Thundermail, details: https://support.tb.pro/hc/en-us/articles/46805020320275-Create-an-App-Password

It’s interesting, I can indeed add the account if I check “Ignore SSL errors” and un-check “Authenticate during account creation”. But after adding it still fails to work afterwards with “The network request was unsuccessful”, so still no go for me for some reason

Huh, as I wrote this message, I’ve tried un-checking “Ignore SSL errors” in added account and Calendar sync started working :face_with_diagonal_mouth:

Okay, it got disabled after the first sync, I need to dug deeper into the logs, to see what on earth is happening there