mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #192] Can't open Webdav with Kodi #96
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @289699522 on GitHub (Mar 11, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/192
Problem
When use Kodi to mount the dufs's Webdav server,it didn' work.
Kodi无法打开dufs的Webdav服务器,但是kodi可以打开其他Webdav服务器。
Log
Dufs's log shows the status code is 401.
Environment:
@sigoden commented on GitHub (Mar 11, 2023):
I specifically downloaded kodi, tested it and did not find any issues.
If you still have question, please provide more details
@289699522 commented on GitHub (Mar 11, 2023):
I tested again, found the problem is not caused by kodi.
I set two users, user1 and user2. I plan to use user1 to access the whole disk, user2 only access the
qbittorrentdictionary.My hard disk is mounted at
/media/st_disk, theqbittorrentdictionary is located at/media/st_disk/qbittorrent../dufs -a /@user1:pass1 -a /qbittorrent/@user2:pass2 /media/st_diskOnly user1 can login. user2 can't login both in the browser and WebDAV clients.
@sigoden commented on GitHub (Mar 12, 2023):
How do you config webdav?
A screenshot please.
Or paste you configuration.
@289699522 commented on GitHub (Mar 12, 2023):
Thank you for your reply. But I found a new problem about
--auth-method basic../dufs -a /@u1:p1 --auth-method basicThe browser repeatedly pops up the login boxand and WebDAV clients also cannot log in.
./dufs -a /@u1:p1 --auth-method digestThe browser and WebDAV clients support digest can login.
@sigoden commented on GitHub (Mar 12, 2023):
This is not a problem with dufs.
DUFS supports two login methods. Browsers also support both. As for which one webdav mainly supports, it's hard to say, but digest supports more.
@sigoden commented on GitHub (Mar 12, 2023):
If there are no other questions, please close the issue.
@289699522 commented on GitHub (Mar 12, 2023):
Sorry, I didn't explain clearly. I main that when I use
--auth-method basic, browsers also can't login.# $ ./dufs -a /@u1:p1 --auth-method basic@sigoden commented on GitHub (Mar 12, 2023):
I have identified the issue, thank you.
I usually tested it with
dufs -a /@user:pass-A --auth-method basicand haven't noticed any problems.In previous version, I updated a base64 library, and some configuration adjustments were not noticed, resulting in this issue.
thank you again.
@sigoden commented on GitHub (Mar 12, 2023):
#194 solved this.