WebDAV server did not accept username and password

In Zotero 7.0.3, I cannot sync files with my personal webdav server. "Verify server" gives me the above error. Data sync with Zotero works fine.

I've checked access via "curl https://user:password@myserver.spdns.org:/webdav/zotero/somefile.zip" and with the same URL in the firefox (129.0.2) address bar. In Tor, I get a message "You are about to log in to the site “myserver.spdns.org” with the username “username”", but not so in the freshly startet firefox. The password contains digits and uppercase/lowercase letters, no special characters.

Unfortunately, I had to reinstall the server in parallel with the Zotero client on MX Linux/Debian, first with a 6.x version and then with 7.0.3, so I cannot preclude that something is wrong on the server side - but I have no idea what it could be.

Debug Output ID is D525048539
  • It's a 401 from your WebDAV server. That's all we can tell you.
  • edited September 6, 2024
    Problem solved: I've been able to reproduce it with cadaver, which proved that it's not a Zotero issue.

    The first request by Zotero is "OPTIONS /webdav/zotero/". The apache config for the webdav directory contained the lines

    <LimitExcept OPTIONS>
    Require valid-user
    </LimitExcept>

    which should allow OPTIONS without authentication. However, that apparently triggered another rule, which requries a valid user all over the site. Without the "LimitExcept", everything works.
Sign In or Register to comment.