CalDAV / CardDAV not working

I’ve already indicated. The plain domain will work with clients that do auto discovery. SFOS doesn’t.

Please read poetastes posts. You have to enter the complete url manually. And this urls can be find at the docs or its not supported.

When you create an account in settings you will ask for this url. Read the fastmail doc and enter the url as documented. Please ask if this is not working. And please add to your question what you have entered.

The setup page of SFOS consists 4 text input, where there is are dedicated entries for WebDAV, CalDAV and CardDAV, and there is one separated one which is mandatory, that simply sais server or whatever (I using localized phone and I don’t know the default English string for that entry).

So I know what am I supposed to put into the CalDAV and CardDAV fields, but still don’t know what am I supposed to put into the first field, as, as I said earlier, no other app has this input and no online tutorials (including the linked one above) deals with this as they are not aware that there are some apps out there that asks for it.

https://caldav.fastmail.com/dav/principals/user/user@example.com/
consists of:

1. domain
2. service
3. principals/user (ie. the individuals users as principals) and
4. an imap user with full name and domain

That is the server part which goes into the main server field. That’s what will get an auth prompt that the sfos client can then authenticate against.

EDIT: legibility.

So do I have to put anything into the CalDAV and CardDAV fields separately?

Anyway it does not work. It says authentication error at https://carddav.fastmail.com/.well-known URL. Even though I put the full url into it so I don’t know where is this .well-known even came from.

Please see my first post of this day in this thread.

Start create the CardDAV/CalDAV account.

Enter your user name

Enter your password

Enter the server address = https://caldav.fastmail.com

Then enter in the lower part the pathes to WebDAV, CardDAV, CalDAV. Leave empty what not neated but at least fill one. For CalDAV enter /dav/principals/user/user@example.com/ and replace all chars with and after user with your fance mail address. Please report.

The .well-known part is a redirect from the server for auto-discovery. If freemail FORCES auto-discovery, it will probably not work. Though why they would do that is beyond me.

So I have to split the full url and put the https://caldav.fastmail.com into the server address and the rest of the url into the other two right? This is what I just did and it does not work either.

Well, splitting it makes sense, but I don’t get an auth prompt without doing the ‘whole’ url: with https://caldav.fastmail.com//dav/principals/user/user@example.com/ (for instance in a web browser) I get an auth prompt. maybe you were missing a final ‘/’?

I still get the error message no matter what I do.

When it works you must be right!

You get the same ‘authentication’ error?

My guess is that auth is setup ‘imap’ style. So, user name is user@domain.tld

I’m always right. If I’m wrong, I fix the software :slight_smile:

Yep. The same error all the time.

Heh. So, just to humour you, I created an account. I cannot authenticate to fastmail’s caldav server with any scheme. In a browser or using a library. I’ll have to look a bit further, but something is off there.

Since then I created an app specific password too but I have no luck with that either.

Again, I had no issues with any other devices but SFOS.

Yes, now we’re wasting my time. I just got a message about that extra password. Well, well.

OK, to go on, I’d have to do SMS verification stuff, so I’m out. Sorry, but I can only go so far.

I already made the app specific password, but still has no luck.

I’m not sure what to say, but … from the note that fastmail sent me it was evident that they registered the authentication attempt. As the caldav accounts on SFOS have worked for me with multiple providers/backends (baical, radicale, sogos, davical, nextcloud ALL self hosted) over many years, I can’t think of what it might be and I’d report it to them. I’m actually pretty sure it will work with some weird dance.

Obviously, what would be best on the SFOS side is to implement the discovery mechanisms using the http .well-known mechanism. It’s a shitty one, but it’s the only one that works for most everything from ssl certs to imap/smtp, caldav, etc …. It’s also a mechanism that places the onus on ALL the clients, which is shitty.

So far I never tried self hosted solutions (as they are hugely overkill to me to host these things). What I know is that Google works perfectly as it has it’s own dedicated option in the selection of accounts. Which may be not the most privacy focused option. But as of now neither iCloud or Fastmail worked to me, while they are all worked well everywhere else. So my logical conclusion is that the problem is in SFOS, since others can support both of these services with no issue.