Bug 381327

Summary: Broken access to Nextcloud 12: org.kde.pim.davresource: Unable to fetch collections 300 "There was a problem with the request.\nInvalid username/password (401)."
Product: [Frameworks and Libraries] Akonadi Reporter: Richard Hering <richard>
Component: DAV ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bruno+kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Richard Hering 2017-06-17 12:57:25 UTC
Hi,

on my system the org.kde.pim.davresource is unable to fetch collections from my Nextcloud 12 Server. The Nextcloud log says:

Sabre\DAV\Exception\NotAuthenticated: HTTP/1.1 401 No public access to this resource., 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

Nextcloud says, this is a akonadi bug: https://github.com/nextcloud/server/issues/5326

All other DAV clients like Roundcube, DAVdroid or z-push are working fine.
Comment 1 Richard Hering 2017-06-17 13:03:37 UTC
forgot some info about my gentoo linux system:

kde: 17.04.02
framework: 5.35.0
plasma: 5.10.2
Comment 2 Bruno P. 2017-06-20 10:05:16 UTC
Hi Richard,

I had the same issue with Nextcloud 12 and KDE Neon (same versions). 
I downgrade my Nextcloud instance to 11.0.3 and it works again. So I think that the problem is on Nextcloud side. 
You should reopen the bug report on Github.
Comment 3 Richard Hering 2017-06-20 11:32:59 UTC
(In reply to Bruno Patri from comment #2)
> You should reopen the bug report on Github.

done: https://github.com/nextcloud/server/issues/5482