same here with 5.0.0.62 on Xperia 10 III and Jolla C2. Nextcloud version 31.0.2 with latest apps. Used to work before, today I noticed a problem syncing a contact name, so I tried to delete and re-add the nextcloud account and it failed. Tried to add the account on the (still empty) Jolla C2 to verify, got the same error “network request was unsuccessful” while trying to add the calendar. Oh, I just tried to add the calendar some more times (5 or 6) because I wanted to look at the logs on the server, and after a few times I didn’t get an error message and could add the calendar on the C2 which is now happily syncing the calendar.
On the 10 III I tried it 30 times or so with no luck, I get the following message in the nextcloud log, so maybe it’s a race condition with authentication?
{“reqId”:“UGEyN4CxpNSijDyxK91D”,“level”:0,“time”:“2025-03-29T19:54:23+00:00”,“remoteAddr”:“xxx.xxx.xxx.xxx”,“user”:false,“app”:“webdav”,“method”:“PROPFIND”,“url”:“/remote.php/dav/”,“message”:“No public access to this resource., AppAPIAuth has not passed, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured, No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is mis-configured, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured”,“userAgent”:“Mozilla/5.0”,“version”:“31.0.2.1”,“exception”:{“Exception”:“Sabre\DAV\Exception\NotAuthenticated”,“Message”:“No public access to this resource., AppAPIAuth has not passed, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured, No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is mis-configured, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured”,“Code”:0,“Trace”:[{“file”:“/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“beforeMethod”,“class”:“Sabre\DAV\Auth\Plugin”,“type”:“->”},{“file”:“/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:456,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/nextcloud/apps/dav/lib/Connector/Sabre/Server.php”,“line”:49,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/nextcloud/apps/dav/lib/Server.php”,“line”:397,“function”:“start”,“class”:“OCA\DAV\Connector\Sabre\Server”,“type”:“->”},{“file”:“/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:21,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/nextcloud/remote.php”,“line”:145,“args”:[“/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php”,“Line”:152,“message”:“No public access to this resource., AppAPIAuth has not passed, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured, No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is mis-configured, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured”,“exception”:{},“CustomMessage”:“No public access to this resource., AppAPIAuth has not passed, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured, No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is mis-configured, No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured”}}