alist icon indicating copy to clipboard operation
alist copied to clipboard

挂载Cloudreve V4配置通过“下载代理URL”下载,部分会出现下载失败问题

Open xiaoxin3242 opened this issue 6 months ago • 3 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.45.0

Driver used / 使用的存储驱动

Cloudreve V4

Describe the bug / 问题描述

挂载Cloudreve V4配置通过“下载代理URL”下载,部分会出现下载失败问题 建议修改替换逻辑,先302重定向获取到Cloudreve V4最终文件下载链接,再进行替换域名为代理URL

Reproduction / 复现链接

https://yun.xiaoxinbk.cn/lucloud/%E6%96%87%E4%BB%B6-100MB.bin

Config / 配置

Image

Logs / 日志

No response

xiaoxin3242 avatar May 30 '25 10:05 xiaoxin3242

您提到在使用Cloudreve V4配置通过“下载代理URL”下载时,部分下载会失败。您建议修改替换逻辑,先通过302重定向获取到Cloudreve V4的最终文件下载链接,再进行替换域名为代理URL。

这个问题可能与当前的下载逻辑有关。为了更好地解决这个问题,您可以尝试以下步骤:

  1. 确认配置:确保Cloudreve V4的配置正确,并且代理URL设置无误。
  2. 日志检查:查看AList的日志文件,以获取更多关于下载失败的详细信息。
  3. 版本更新:确保您使用的是最新版本的AList,以避免已知问题。

如果这些步骤无法解决问题,建议在GitHub上查看是否有类似的问题报告,或者联系开发者获取进一步的支持。

如果您有其他问题或需要进一步的帮助,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

petercat-assistant[bot] avatar May 30 '25 10:05 petercat-assistant[bot]

See

  1. 55% #8571
  2. 53% #8573

github-actions[bot] avatar May 30 '25 10:05 github-actions[bot]

看了一个小时cloudreve v4 driver代码,越看越觉得哪里不对

首先就算你是alist的s3策略挂载存储,使用代理域名的前提应该也是公开存储桶,要么开启presign

很明显alist后端挂载cloudreve这种不适用这种逻辑,你想实现的这个逻辑配置应该是开启302策略,删除代理地址,让cloudreve决定文件link,而非使用代理地址,因为alist不能假定后端应该是什么存储,你的期望是不符合开发逻辑的

TwoOnefour avatar Jun 14 '25 13:06 TwoOnefour