No sync with DAVdroid since Nextcloud update in 14.0

Hi everyone,
since Nextcloud update 14.0, DAVdroid no longer synchronizes contacts or calendars.
The DAVdroid log shows:

EXCEPTION at.bitfire.dav4android.exception.ServiceUnavailableException: HTTP 503 Service Unavailable
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:281)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:259)
at at.bitfire.dav4android.DavResource.processMultiStatus(DavResource.kt:351)
at at.bitfire.dav4android.DavResource.propfind(DavResource.kt:246)
at at.bitfire.davdroid.DavService.refreshCollections(DavService.kt:340)
at at.bitfire.davdroid.DavService.access$refreshCollections(DavService.kt:44)
at at.bitfire.davdroid.DavService$onStartCommand$$inlined$let$lambda$1.invoke(DavService.kt:68)
at at.bitfire.davdroid.DavService$onStartCommand$$inlined$let$lambda$1.invoke(DavService.kt:44)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

Everything was working well in 13.0…

Do you have any idea, please ?

with url https://[server]/[nextcloud directory]/remote.php/dav/principals/users/[username] in my browser, the server replies :

This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.

Configuration :
Nextcloud 14.0.019
DAVdroid 2.0.4-ose (245)
LineageOS 14.1

Yes it works !

I had to add DAVVdroid in incompatible user agents lists in /lib/base.php

// Fallback, if csrf.optout is unset
if (!is_array($incompatibleUserAgents)) {
$incompatibleUserAgents = [
// OS X Finder
‘/^WebDAVFS/’,
// Windows webdav drive
‘/^Microsoft-WebDAV-MiniRedir/’,
’/^DAVdroid/’,
];
}

Great thanks to @MaxAuvy / open-freax.fr
https://open-freax.fr/maj-nextcloud-12-sur-un-mutualise-ovh/