buttercup / buttercup-browser-extension

:earth_asia: Buttercup browser extension
https://buttercup.pw
MIT License
227 stars 42 forks source link

bug report: using WebDAV & NextCloud yields "401 Unauthorized" #454

Closed georglauterbach closed 10 months ago

georglauterbach commented 12 months ago

This may be directly related to https://github.com/buttercup/buttercup-desktop/issues/260#issue-230141425.


Description

When using NextCloud (27.0.0, currently the latest release) and the Buttercup extensions (for Firefox or a Chromium-based Browser - it does not matter really) I get

Failed connecting to 'webdav' resource
A connection attempt to 'https://<DOMAIN>/remote.php/dav/files/<USER>' has failed: Invalid response: 401

when using WebDAV with URL https://<DOMAIN>/remote.php/dav/files/<USER>, user name <USER> and the correct password (I checked more than twice by now). Looking at the Apache logs:

<DOMAIN>:80 162.158.103.118 - <USER> [11/Jul/2023:10:41:39 +0200] "PROPFIND /remote.php/dav/files/<USER>/ HTTP/1.1" 401 767 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"

I checked the internet and issue reports for a complete day to cancel out issues on my end; if there are any, I really haven't discovered them yet. Curiously, yesterday in the evening the extension seemed to work on a Linux host of mine for once; I am currently using macOS. I still don't know why though.

Versions

Buttercup web 2.25.3 NextCloud 27.0.0 Host macOS Ventura 13.4