OpenListTeam / OpenListTeam/OpenList
[BUG] WebDAV 存储驱动开启下载代理无法下载
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 24.7k
- Forks
- 2.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 36
Description
请确认以下事项
-
我已确认阅读并同意 AGPL-3.0 第15条 。
本程序不提供任何明示或暗示的担保,使用风险由您自行承担。 -
我已确认阅读并同意 AGPL-3.0 第16条 。
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。 -
我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
-
我已确认阅读了OpenList文档。
-
我已确认没有重复的问题或讨论。
-
我已确认是
OpenList的问题,而不是其他原因(例如 网络 ,依赖或操作)。 -
我认为此问题必须由
OpenList处理,而非第三方。 -
我已确认这个问题在最新版本中没有被修复。
-
我没有阅读这个清单,只是闭眼选中了所有的复选框,请关闭这个 Issue 。
OpenList 版本(必填)
v4.1.10
使用的存储驱动(必填)
WebDAV
问题描述(必填)
如题。 近5个月几乎没用过openlist,只是有更新时就更新一下docker容器,但是存储配置没有改过,所以不确定是中间哪一次更新出现的问题,只知道上一次没问题是v4.1.3。今天在更新到v4.1.10后,发现使用cf-worker代理的infinicloud(日本的webdav网盘)无法下载文件,在更新了worker代码之后测试了代理本地存储驱动可以正常下载,代理没有问题,之后试了本地代理也无法下载,添加坚果云也是一样的无法下载(前几个月同样能够正常使用)。
所以想要各位有使用webdav存储的看看能不能正常使用。
日志(必填)
2026/03/04 17:03:57 /home/runner/work/OpenList/OpenList/internal/db/storage.go:22
[0.260ms] [rows:1] 更新集 =“/Share”,=1,=“WebDav”,=10,=“”,=“work”,=“{”vendor“”:“”other“,”address“”:“”https://jike.teracloud.jp/dav/“,”“”username“”:“”,“”password“:”“,”“root_folder_path”“:”“,”“,”tls_insecure_skip_verify“:false},=”[1]【InfiniCLOUD】分享“,=”2026-03-04 15:49:54.887“,=false,=false,=false,=”name“,=”asc“,=”front“,=true,=”use_proxy_url“,=false,=” “,=false 其中 = 4
[GIN-调试] POST /api/admin/index/stop --> github.com/OpenListTeam/OpenList/v4/server/handles.StopIndex(8个处理器)
[GIN-调试] POST /api/admin/index/clear --> github.com/OpenListTeam/OpenList/v4/server/handles.ClearIndex(8个处理器)
[GIN-调试] GET /api/admin/index/progress --> github.com/OpenListTeam/OpenList/v4/server/handles.GetProgress(8个处理器)
[GIN-调试]POST /api/admin/scan/start --> github.com/OpenListTeam/OpenList/v4/server/handles.StartManualScan(7个处理器)
[GIN-调试] POST /api/admin/scan/停止 --> github.com/OpenListTeam/OpenList/v4/server/handles.StopManualScan(7个处理器)
[GIN-调试] 获取 /api/admin/scan/progress --> github.com/OpenListTeam/OpenList/v4/server/handles.GetManualScanProgress(7个处理器)
[GIN-调试]GET /debug/path/*path --> github.com/OpenListTeam/OpenList/v4/server.debug.func1(6个处理器)
[GIN-调试] GET /debug/hide_privacy --> github.com/OpenListTeam/OpenList/v4/server.debug.func2(5个处理器)
[GIN-调试] GET /debug/gc --> github.com/OpenListTeam/OpenList/v4/server.debug.func3(5个处理器)
[GIN-调试] GET /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1(5个处理器)
[GIN-调试]POST /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1(5个处理器)
[GIN-调试] PUT /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1(5个处理器)
[GIN-调试] PATCH /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1(5个处理器)
[GIN-调试] 头部 /debug/pprof/*name -->github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1(5个处理器)
[GIN-调试] 选项 /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1(5个处理器)
[GIN-调试] 删除 /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1(5个处理器)
[GIN-调试] 连接 /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1 (5handlers)
[GIN-调试] TRACE /debug/pprof/*name --> github.com/OpenListTeam/OpenList/v4/server._pprof.WrapH.func1 (5个处理器)
DEBU[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/internal/op/storage.go:87 github.com/OpenListTeam/OpenList/v4/internal/op.LoadStorage() storage &{Storage:{ID:4 MountPath:/Share Order:1 驱动程序:WebDav 缓存到期:10 CustomCachePolicies: Status:work Addition:{“vendor”:“other”,“address”:”https://jike.teracloud.jp/dav/“,”username“:” “,”password“:”,“root_folder_path”:“”,“tls_insecure_skip_verify”:false} 备注:【1】【InfiniCLOUD】分享 修改:2026-03-04 15:49:54.887973298 +0000 UTC Disabled:false DisableIndex:false EnableSign:false 排序:{OrderBy:name OrderDirection:asc ExtractFolder:front} Proxy:{WebProxy:true WebdavPolicy:use_proxy_url ProxyRange:false DownProxyURL:DisableProxySign:false}} Addition:{Vendor:other Address:https://jike.teracloud.jp/dav/ 用户名:密码:RootPath:{RootFolderPath:} TlsInsecureSkipVerify:false} client:0xc0005cb200 cron:0xc000582a20} 已创建
INFO[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/internal/bootstrap/storage.go:24github.com/OpenListTeam/OpenList/v4/internal/bootstrap.LoadStorages.func1() 成功加载存储: [], 驱动程序: [WebDav], 顺序: [1]
DEBU[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/server/static/static.go:179 github.com/OpenListTeam/OpenList/v4/server/static.Static() 设置静态路由...
DEBU[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/server/static/static.go:38 github.com/OpenListTeam/OpenList/v4/server/static.initStatic() 初始化静态文件系统...
DEBU[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/server/static/static.go:45 github.com/OpenListTeam/OpenList/v4/server/static.initStatic() 使用 embedded dist directory
DEBU[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/server/static/static.go:60 github.com/OpenListTeam/OpenList/v4/server/static.initIndex() 初始化 index.html...
DEBU[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/server/static/static.go:76 github.com/OpenListTeam/OpenList/v4/server/static.initIndex() 从静态文件系统读取index.html......x_storagesmount_pathorderdrivercache_expirationcustom_cache_policiesstatusadditionremarkmodifieddisableddisable_indexenable_signorder_byorder_directionextract_folderweb_proxywebdav_policyproxy_rangedown_proxy_urldisable_proxy_signid
2026/03/04 17:03:57 /home/runner/work/OpenList/OpenList/internal/db/storage.go:22
[0.222ms] [rows:1] 更新 SET =“/Jian”,=111,=“WebDav”,=30,=“”,=“work”,=“{”vendor“:”“other”,“address”:“”https://dav.jianguoyun.com/dav/“,”“username”“:”“password”“:”“,”,“root_folder_path”“:”“/”,“”tls_insecure_skip_verify“”:true},'remark'=“,'modified'=”2026-03-04 16:48:20.783“,=false,=false,=false,=false,=”name“,=”asc“,=”front“,=true,=”use_proxy_url“,=false,=” “,=false WHERE = 6
DEBU[2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/OpenList/internal/op/storage.go:87 github.com/OpenListTeam/OpenList/v4/internal/op.LoadStorage() storage &{Storage:{ID:6 MountPath:/Jian order:111 驱动程序:WebDav 缓存到期:30 CustomCachePolicies: Status:work Addition:{”vendor“:”other“,”address“:”https://dav.jianguoyun.com/dav/“,”username“:”“,”password“:”,“root_folder_path”:“/”,“tls_insecure_skip_verify“:true} 备注:修改:2026-03-04 16:48:20.783984663 +0000 UTC Disabled:false DisableIndex:false EnableSign:false 排序:{OrderBy:name OrderDirection:asc ExtractFolder:front} 代理:{WebProxy:true WebdavPolicy:use_proxy_url ProxyRange:false DownProxyURL:DisableProxySign:false}} 添加:{Vendor:other Address:https://dav.jianguoyun.com/dav/ 用户名:密码:RootPath:{RootFolderPath:/} TlsInsecureSkipVerify:true} 客户端:0xc0005cbb40 cron:0xc000583840}创建
信息 [2026-03-04 17:03:57]/home/runner/work/OpenList/OpenList/internal/bootstrap/storage.go:24 github.com/OpenListTeam/OpenList/v4/internal/bootstrap.LoadStorages.func1() 成功加载存储:[/Jian],驱动:[WebDav],顺序:[111]x_storagesmount_pathorderdrivercache_expirationcustom_cache_policiesstatusadditiondisableddisable_indexenable_signorder_byorder_directionextract_folderweb_proxywebdav_policyproxy_rangedown_proxy_urldisable_proxy_signid
配置文件内容(必填)
复现链接(可选)
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebDAV-related flow referenced by internal/op/storage.go and the storage records in internal/db/storage.go. Reproduce a file download with WebDAV and the proxy settings shown, then compare behavior between v4.1.3 and v4.1.10. Done means WebDAV files download successfully through the configured proxy for the reported providers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100