WebDAV sync causes frequent HTTP 401

37 views
Skip to first unread message

B Butty

unread,
Jul 11, 2023, 5:22:42 PM7/11/23
to Zettel Notes
Hello,

When using WebDAV sync, I noticed many HTTP 401 errors in the log of the server (Nextcloud). It seems that Zettel Notes first accesses without a username and fails, then with a username.

Here are from the log (modified):
1.2.3.4 - - [12/Jul/2023:05:52:25 +0900] "PROPFIND /remote.php/dav
/files/NAME/ZNtest HTTP/1.1" 401 462 "-" "okhttp/5.0.0-alpha.11"

1.2.3.4 - NAME [12/Jul/2023:05:52:26 +0900] "PROPFIND /remote.
php/dav/files/NAME/ZNtest HTTP/1.1" 207 369 "-" "okhttp/5.0.0-alpha.11" 


I think it is not so preferable, would you fix it?

B Butty

unread,
Jul 11, 2023, 6:56:19 PM7/11/23
to Zettel Notes
Correction: The "username" should be authorization info. (ie. name and password).
So, the first try without auth-info. and fails, then with auth-info. and succeeds.

Rohit Sharma

unread,
Jul 12, 2023, 7:00:20 AM7/12/23
to Zettel Notes
Hey there,

I have fixed this. It will be live in the next update.

B Butty

unread,
Jul 12, 2023, 7:05:02 AM7/12/23
to Zettel Notes
Oh, thank you very much!
I'm looking forward to it.

BTW, except for this minor problem, Zettel Notes is very good for me.
Thank you for this valuable app!
Reply all
Reply to author
Forward
0 new messages