HTTP 400 when trying to connect via caldav

Hi, some weeks ago my Caldav connection from tasks.org stopped working, meaning the client couldn’t reach the Vikunja server anymore.

I use vikunja.cloud, it says its version v0.24.1-482-3659b7b58d

I tried it with both Tasks.org and Davx5, both don’t work anymore.

Maybe it’s related to this commit: chore(caldav): refactor fetching projects · d081cf80fc - vikunja - Gitea ?

It fails on the /dav/projects endpoint. I can connect to the server but it seems the projects discovery is broken.

1 Like

I’ve been struggling with the same thing. When I first add the Vikunja caldav info to Tasks.org (and Davx5) it works once, but all further synch attempts fail (and the url appears to be changed from “dav/principals/username” to /dav/projects)

I think it has been happening since before the commit you linked…

I was able to reproduce it, but it’s a little unclear why it is happening. Will look into a fix, but happy to take pointers.

Can you recall a date when it stopped working?

I believe it was in the springtime of this year (the issue was confused by switching phones and other challenges with tasks.org)