Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

WebDav 401 #1228

Open
hoclun-rigsep opened this issue Jun 12, 2023 · 1 comment
Open

WebDav 401 #1228

hoclun-rigsep opened this issue Jun 12, 2023 · 1 comment

Comments

@hoclun-rigsep
Copy link

Hello, long time user of the cloudless version, I decided to set up WebDav with apache and try for that. I have digest auth on the server and it seems to be working fine—tested with multiple clients. However I get http 401 when I try to use the server. I've double-checked the login fields. My url is https://mydomain.name/webdav and I've tried that with and without a trailing slash. Any idea what could be going on? From the log:

okhttp.OkHttpClient:
A connection to https://mydomain.name/ wa sleaked.
Did you forget to close a response body?
[...]

@envyniv
Copy link

envyniv commented Jun 29, 2023

I'm getting the same error code, it seems like Simpletask is using the wrong auth method.
From my webdav server's logs:

webdav          | 192.168.1.55 - - [29/Jun/2023:09:00:16 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "okhttp/4.9.0"
webdav          | [Thu Jun 29 09:00:16.110855 2023] [auth_digest:error] [pid 8:tid 139918730255080] [client 192.168.1.55:43212] AH01781: client used wrong authentication scheme `Basic': /

so we both either set our webdav auth schemes to "Basic" instead of digest (would rather not), or we make a PR solving this issue ;P

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants