CalDAV calendar not syncing on desktop and Android app

I am using a self hosted Stalwart mail server with CalDAV.

When adding a new standard event to this calendar in the desktop client it does not show up in the android app and when doing the same in the android app it does not show up in the desktop client.

When looking in other clients (tested Thunderbird and BlueMail) both events are visible.

It seems eM Client is successfully creating events on the server but isn’t retrieving existing events from the server on both the desktop client and the Android app.

I did see on sleekplan that calendar support for mobile versions is still in BETA but afaik I’m not using any BETA version on my android phone.

Am I missing something obvious?

Thanks in advance

1 Like

When adding a new standard event to this calendar in the desktop client it does not show up in the android app and when doing the same in the android app it does not show up in the desktop client.

When looking in other clients (tested Thunderbird and BlueMail) both events are visible.

Yes eM Client mobile app and Desktop does support CalDAV as long “as you have the correct CalDAV url in both” so could be the Calendar URL possibly is “missing something in the link” that needed for eM Client on desktop and mobile. Or could be you need the later mobile Beta app.

So to try the Android Beta mobile app, go to the Playstore and in the eM Client app “scroll down and you can signup for the Beta version”. Then install that and see if your CalDAV url syncs.

If it still doesn’t email [email protected] for assistance with the Beta mobile app.

Thanks for your reply.

My apologies. It seems I was already using the BETA version on my phone. Must have done that some time ago.

I’m reading the following in the Stalwart documentation for client configuration:

  • recommended autodiscovery endpoint: /.well-known/caldav
  • direct access endpoint: /dav/cal/<account_name>

Both these endpoints don’t seem to sync events from the server on both the desktop and the mobile client.

I will mail [email protected] in regards to the BETA mobile app.

I have the same experience here, thought it’s my fault, but I tested the Stalwart CalDAV Server with Thunderbird and Apple iPad, they work with Stalwart, but eM Client does not receive any Events, just sent them. I tried all the different endpoints but no luck.
Must be a compatibilty issue but on which side?

We’ll need caldav log (or even better a test account) to be able to analyze it.

I sent you a private message with the test account details.

Thank you!

Thank you for the test account. We’ve made the testing and identified the server’s behavior that goes against the specification. We will contact the authors of the server code in order for them to fix that and/or (based on the response from them) we will try to make an workaround for the issue.

1 Like

Thank you very much for your time to investigate on this! I really appreciate that.

I’m using eM Client with payed licenses for more than 10 years, it’s such a great product!

Today I am still running into the (probable) same issue. Emclient is not doing caldav properly when interfacing with Stalwart.

I did check the stalwart issues on github, but was unable to find any evidence about this issue.

Can you please update us on the current state and provide an insight how this issue was addressed on the side of stalwart?

I tried to reach Michal via private message to get more insides but did not get any answer since weeks. Looked very promising but now we are at the same point as before. Hopefully stalwart Developers will fix this one day.

I found this discussion in the Stalwart Github repository mentioning this thread.
The Stalwart dev answered and said eM Client is not performing the caldav request according to spec.

I must say the original problem I posted here is no longer an issue for me and this has been working fine for some time now.

But did you only have issues with the initial sync?
This worked for me but the new added Appointment created on Mobile Devices didn’t work.

Newly created events also weren’t syncing between clients.
So If I created an event on desktop it wouldn’t show up on mobile (or any other desktop client) or vice versa.

This is working fine now for me.