alist icon indicating copy to clipboard operation
alist copied to clipboard

Tampermonkey 同步失败

Open bowencool opened this issue 1 year ago • 10 comments

Please make sure of the following things

  • [X] I have read the documentation. 我已经阅读了文档

  • [X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。

  • [X] I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational). 我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • [X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.33.0

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

使用 Tampermonkey v5.1.0 同步(Alist WebDAV)时,请求无限循环: image 使用另一个 WebDAV 实现时,正常同步,没有出现无限循环: image 好像是响应不一样

Reproduction / 复现链接

使用 Tampermonkey v5.1.0 同步(Alist WebDAV)

Config / 配置

image

Logs / 日志

[GIN] 2024/04/04 - 17:59:47 | 200 |     124.592µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |     103.384µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |      62.412µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |       64.91µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |      92.331µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |      63.397µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |     107.315µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |      77.674µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"
[GIN] 2024/04/04 - 17:59:47 | 200 |      63.278µs |       10.7.21.3 | SUBSCRIBE  "/dav/Tampermonkey/sync/"

bowencool avatar Apr 04 '24 10:04 bowencool

FYI: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207

bowencool avatar Apr 04 '24 10:04 bowencool

无法复现 image 请确认你填的地址可以上传文件,例如填的是 https://xx.com/dav 即根路径,但不存在根路径存储(即挂载路径为/的存储),则无法找到上传位置。

xhofe avatar Apr 04 '24 10:04 xhofe

我填的是 /dav 啊,你看我这路径应该是对的吧?我记得 Tampermonkey 5.0 的时候是正常的,最近看 Nginx 日志发现的。 image image

bowencool avatar Apr 04 '24 10:04 bowencool

填/dav 需要有挂载路径为/的存储 看下后台是否有。

xhofe avatar Apr 04 '24 11:04 xhofe

是这样看吗 image

bowencool avatar Apr 04 '24 11:04 bowencool

image

bowencool avatar Apr 04 '24 11:04 bowencool

是的

如果没有就要填具体路径

xhofe avatar Apr 04 '24 11:04 xhofe

image 加上去重启了还是一样的

bowencool avatar Apr 04 '24 11:04 bowencool

无法复现 image 请确认你填的地址可以上传文件,例如填的是 https://xx.com/dav 即根路径,但不存在根路径存储(即挂载路径为/的存储),则无法找到上传位置。

我发现这里不太一样,我是在“设置>脚本同步”里,不是“实用工具”里,我的导出也正常

bowencool avatar Apr 04 '24 11:04 bowencool

我注意到 Tampermonkey v5.1.0 确实更改了 WebDAV 相关的功能:https://www.tampermonkey.net/changelog.php#v5.1.0

bowencool avatar May 03 '24 15:05 bowencool

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 16 '24 23:06 stale[bot]

Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

github-actions[bot] avatar Jun 29 '24 00:06 github-actions[bot]