Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阿里云盘下载链接失效,提示错误0002-00000069:URL签名已过期 #5547

Closed
4 tasks done
9-2-1 opened this issue Nov 20, 2023 · 28 comments
Closed
4 tasks done
Labels
bug Something isn't working
Milestone

Comments

@9-2-1
Copy link

9-2-1 commented Nov 20, 2023

Please make sure of the following things

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

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

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

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

AList Version / AList 版本

v3.28.0

Driver used / 使用的存储驱动

Aliyunopen

Describe the bug / 问题描述

启动 Alist 服务器连接阿里云盘后,有时文件会下载出错,会获得一些疑似错误报告的内容:

...Reponse: \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cError\u003e\n  \u003cCode\u003eAccessDenied\u003c/Code\u003e\n  \u003cMessage\u003eRequest has expired.\u003c/Message\u003e\n  \u003cRequestId\u003e655B726DCE3E4E36386267CC\u003c/RequestId\u003e\n  \u003cHostId\u003ecn-beijing-data.aliyundrive.net\u003c/HostId\u003e\n  \u003cExpires\u003e2023-11-20T14:18:32.000Z\u003c/Expires\u003e\n  \u003cServerTime\u003e2023-11-20T14:51:25.000Z\u003c/ServerTime\u003e\n  \u003cEC\u003e0002-00000069\u003c/EC\u003e\n  \u003cRecommendDoc\u003ehttps://api.aliyun.com/troubleshoot?q=0002-00000069\u003c/RecommendDoc\u003e\n\u003c/Error\u003e\n","data":null}

将 Response 后面的内容复制后转换结果如下:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>AccessDenied</Code>
  <Message>Request has expired.</Message>
  <RequestId>655B726DCE3E4E36386267CC</RequestId>
  <HostId>cn-beijing-data.aliyundrive.net</HostId>
  <Expires>2023-11-20T14:18:32.000Z</Expires>
  <ServerTime>2023-11-20T14:51:25.000Z</ServerTime>
  <EC>0002-00000069</EC>
  <RecommendDoc>https://api.aliyun.com/troubleshoot?q=0002-00000069</RecommendDoc>
</Error>
","data":null}

查看https://api.aliyun.com/troubleshoot?q=0002-00000069后会发现“URL签名已过期”的提示。

Reproduction / 复现链接

重启Alist后可以正常下载,一段时间后会下载失败。猜想:同一文件下载一次后隔一段时间再次下载就会失败,暂时没有验证。

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "...",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "D:\\data\\data.db",
    "table_prefix": "x_",
    "ssl_mode": ""
  },
  "scheme": {
    "address": "localhost",
    "http_port": 5244,
    "https_port": -1,
    "force_https": false,
    "cert_file": "",
    "key_file": "",
    "unix_file": "",
    "unix_file_perm": ""
  },
  "temp_dir": "D:\\data\\temp",
  "bleve_dir": "D:\\data\\bleve",
  "log": {
    "enable": true,
    "name": "D:\\data\\log\\log.log",
    "max_size": 10,
    "max_backups": 5,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 0,
  "tls_insecure_skip_verify": true
}

image

image

Logs / 日志

�[31mERRO�[0m[2023-11-20 21:46:47] GET /dav/aliyun/kopia/kopia.repository.f http request [https://cn-beijing-data.aliyundrive.net/U028UiXN%2F364632050%2F6503f4fc3ad3288cb0444969983ca7884638cb09%2F6503f4fce91f6d1410774710bd833aeafb718f89?di=bj29&dr=364632050&f=6503f4fc3ad3288cb0444969983ca7884638cb09&response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27kopia.repository.f&security-token=CAIS%2BgF1q6Ft5B2y########################%2BkHK8aHphyw71FlI1KkyvmxgHT6gsgAA%3D%3D&u=b996958d7a3343c88e278d844f1b7315&x-oss-access-key-id=STS.NSn3auWRFnbkHcpgNjXTDgFdV&x-oss-expires=1700486231&x-oss-signature=pW%2F0KOiU0ecVnlRskfTZmYsZNTfGTVlyhIKSOnOhPSU%3D&x-oss-signature-version=OSS2] failure,status: 403 response:<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>AccessDenied</Code>
  <Message>Request has expired.</Message>
  <RequestId>655B63464B9C1334353E9F5E</RequestId>
  <HostId>cn-beijing-data.aliyundrive.net</HostId>
  <Expires>2023-11-20T13:17:11.000Z</Expires>
  <ServerTime>2023-11-20T13:46:46.000Z</ServerTime>
  <EC>0002-00000069</EC>
  <RecommendDoc>https://api.aliyun.com/troubleshoot?q=0002-00000069</RecommendDoc>
</Error> 
[GIN] 2023/11/20 - 21:46:47 | 500 |     60.8056ms |       127.0.0.1 | GET      "/dav/aliyun/kopia/kopia.repository.f"
�[31mERRO�[0m[2023-11-20 21:46:49] webdav proxy error: http request [https://cn-beijing-data.aliyundrive.net/U028UiXN%2F364632050%2F6503f4fc3ad3288cb0444969983ca7884638cb09%2F6503f4fce91f6d1410774710bd833aeafb718f89?di=bj29&dr=364632050&f=6503f4fc3ad3288cb0444969983ca7884638cb09&response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27kopia.repository.f&security-token=CAIS%2BgF1q6Ft5B################1KkyvmxgHT6gsgAA%3D%3D&u=b996958d7a3343c88e278d844f1b7315&x-oss-access-key-id=STS.NSn3auWRFnbkHcpgNjXTDgFdV&x-oss-expires=1700486231&x-oss-signature=pW%2F0KOiU0ecVnlRskfTZmYsZNTfGTVlyhIKSOnOhPSU%3D&x-oss-signature-version=OSS2] failure,status: 403 response:<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>AccessDenied</Code>
  <Message>Request has expired.</Message>
  <RequestId>655B6348C93A583931F8D1B3</RequestId>
  <HostId>cn-beijing-data.aliyundrive.net</HostId>
  <Expires>2023-11-20T13:17:11.000Z</Expires>
  <ServerTime>2023-11-20T13:46:48.000Z</ServerTime>
  <EC>0002-00000069</EC>
  <RecommendDoc>https://api.aliyun.com/troubleshoot?q=0002-00000069</RecommendDoc>
</Error> 
@9-2-1 9-2-1 added the bug Something isn't working label Nov 20, 2023
@pspbra
Copy link

pspbra commented Nov 20, 2023

遇到了同样的问题。之前没有遇到过,今天无意中发现的。注意到链接中多了一个x-oss-expires=1700497922参数,不确定是阿里云api那端的调整还是什么导致的。

@BlueSkyXN
Copy link
Contributor

BlueSkyXN commented Nov 21, 2023

阿里云盘对时间戳有效期限制到了15分钟(目前的Alist版本测试时从有效期参数得到),这个在阿里云盘官方文档目前没有说明有效期限制被修改到15分钟,因为官方文档说的还是4小时(11.1起)
而Alist使用的是4小时有效期的请求以及默认30分钟的缓存时间。
因此需要修改源码的有效期请求为15分钟,并加快缓存刷新到低于15分钟。
比较奇怪的是,官方文档中提到15分钟是默认而不是最大值,但是根据阿里驱动的源代码应该是使用了4小时的附加参数的。不排除是Ali修改了接口,比如不允许DIY有效期

问题示例 #5547

官方文档 https://www.yuque.com/aliyundrive/zpfszx/gogo34oi2gy98w5d#mN50J

这会导致任何下载任务持续时间无法超过15分钟,根据阿里单任务限速300Mbps可以计算到大概能下载33.75GB大小的文件。超过15分钟之前302出来的会失效,因为大文件可能导致无法下载,包括断点续传。要解决这个方法可能需要使用本地代理+15分钟内的缓存时间(不确定Alist的缓存时间策略在本地代理时是否有效且兼容断点续传)

@huolanyun
Copy link

https://www.yuque.com/aliyundrive/zpfszx/fitzlb1uyy0pv0iw#r5mkR
这里写道8月份开始 改成默认 900,最长1800,但是大于1800的参数会默认1800,不知道为啥是900
2023-06-30
由于业务升级,我们计划对 /adrive/v1.0/openFile/getDownloadUrl 接口的下载过期时间参数做调整。
(文档地址
● 原取值范围:最长 115,200 秒(32小时),默认为 900 秒
● 调整后:最长 1800 秒(0.5小时 ),默认为 900 秒
调整策略:
● 对于传入参数小于 1800秒 的调用请求,本次调整无影响;
● 对于传入参数大于 1800秒 的调用请求,会将参数调整为 1800秒;
● 接口调整时间:8月14日。
额外说明:
下载地址更新逻辑建议按照 x-oss-expires 参数来设置下载链接过期时间,如果之前已经这样处理,那么本次改动无影响;如果之前是写死的,请尽快调整调用方式。

@xhofe
Copy link
Collaborator

xhofe commented Nov 21, 2023

暂时还不清楚阿里云盘最终要将API改成什么样

@BlueSkyXN
Copy link
Contributor

https://www.yuque.com/aliyundrive/zpfszx/fitzlb1uyy0pv0iw#r5mkR

这里写道8月份开始 改成默认 900,最长1800,但是大于1800的参数会默认1800,不知道为啥是900

2023-06-30

由于业务升级,我们计划对 /adrive/v1.0/openFile/getDownloadUrl 接口的下载过期时间参数做调整。

(文档地址

● 原取值范围:最长 115,200 秒(32小时),默认为 900 秒

● 调整后:最长 1800 秒(0.5小时 ),默认为 900 秒

调整策略:

● 对于传入参数小于 1800秒 的调用请求,本次调整无影响;

● 对于传入参数大于 1800秒 的调用请求,会将参数调整为 1800秒;

● 接口调整时间:8月14日。

额外说明:

下载地址更新逻辑建议按照 x-oss-expires 参数来设置下载链接过期时间,如果之前已经这样处理,那么本次改动无影响;如果之前是写死的,请尽快调整调用方式。

在具体接口中还保持写法:下载地址过期时间,单位为秒,最长 32小时 115200 秒,默认为 900 秒。11/1开始调整为最长4h(14400秒)。这tm两边还不统一,离谱

@BlueSkyXN
Copy link
Contributor

https://www.yuque.com/aliyundrive/zpfszx/fitzlb1uyy0pv0iw#r5mkR

这里写道8月份开始 改成默认 900,最长1800,但是大于1800的参数会默认1800,不知道为啥是900

2023-06-30

由于业务升级,我们计划对 /adrive/v1.0/openFile/getDownloadUrl 接口的下载过期时间参数做调整。

(文档地址

● 原取值范围:最长 115,200 秒(32小时),默认为 900 秒

● 调整后:最长 1800 秒(0.5小时 ),默认为 900 秒

调整策略:

● 对于传入参数小于 1800秒 的调用请求,本次调整无影响;

● 对于传入参数大于 1800秒 的调用请求,会将参数调整为 1800秒;

● 接口调整时间:8月14日。

额外说明:

下载地址更新逻辑建议按照 x-oss-expires 参数来设置下载链接过期时间,如果之前已经这样处理,那么本次改动无影响;如果之前是写死的,请尽快调整调用方式。

对于传入参数大于 1800秒 的调用请求,会将参数调整为 1800秒

似乎不匹配目前的情况,目前被限制到了默认900s(alist提交14400s)

@Ben-Huang
Copy link

有没有临时的解决方法?尝试将"缓存过期时间"设置为1,过期后刷新页面,问题依旧

@AmbitiousJun
Copy link

询问临时解决方法+1,15 分钟已经不能正常使用了

@BlueSkyXN
Copy link
Contributor

有没有临时的解决方法?尝试将"缓存过期时间"设置为1,过期后刷新页面,问题依旧

1,设置“web代理”为开
2,设置“webdav”为本地代理
3,设置“签名”为关
4,索引:删除
5,设置:缓存过期时间为10分钟
6,重启Alist

@JK-cc
Copy link

JK-cc commented Nov 22, 2023

大约2天前开始出现此问题,

@BlueSkyXN
Copy link
Contributor

有没有临时的解决方法?尝试将"缓存过期时间"设置为1,过期后刷新页面,问题依旧

1,设置“web代理”为开 2,设置“webdav”为本地代理 3,设置“签名”为关 4,索引:删除 5,设置:缓存过期时间为10分钟 6,重启Alist

我修改了获取下载链接发送的有效期和内部有效时间,有兴趣的可以测试下是否正常
https://github.com/BlueSkyXN/alist/actions/runs/6957153071

@lizhiwei8061
Copy link

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

@BlueSkyXN
Copy link
Contributor

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常

https://github.com/BlueSkyXN/alist/actions/runs/6965982158

@ypq123456789
Copy link

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常

https://github.com/BlueSkyXN/alist/actions/runs/6965982158

大佬pr了吗?

@JK-cc
Copy link

JK-cc commented Nov 23, 2023

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常

https://github.com/BlueSkyXN/alist/actions/runs/6965982158

有效,暂未再次出现问题。

@zzhi-github
Copy link

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常

https://github.com/BlueSkyXN/alist/actions/runs/6965982158

最近阿里云盘视频播放出现问题,如果视频播放暂停超过一段时间,就无法继续播放,视频文件会显示无法连接server。返回server returned 5xx的信息。我觉得跟这个问题相关,有没有人遇到?我按照上面的设置改了,但似乎没有效果。

@JK-cc
Copy link

JK-cc commented Nov 23, 2023

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常
https://github.com/BlueSkyXN/alist/actions/runs/6965982158

最近阿里云盘视频播放出现问题,如果视频播放暂停超过一段时间,就无法继续播放,视频文件会显示无法连接server。返回server returned 5xx的信息。我觉得跟这个问题相关,有没有人遇到?我按照上面的设置改了,但似乎没有效果。

应该是一个问题,我是一个视频播放一段时间后就突然停止读取不了这个视频,查看alist报错是URL签名过期和楼主一样。使用这位大佬新生成的就可以了#5547 (comment)

@BlueSkyXN
Copy link
Contributor

BlueSkyXN commented Nov 23, 2023

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常
https://github.com/BlueSkyXN/alist/actions/runs/6965982158

最近阿里云盘视频播放出现问题,如果视频播放暂停超过一段时间,就无法继续播放,视频文件会显示无法连接server。返回server returned 5xx的信息。我觉得跟这个问题相关,有没有人遇到?我按照上面的设置改了,但似乎没有效果。

根据目前的反馈可以推测对于在线播放和直链都强制限制到了900s
如果你使用的是302后的直链,你将会在15分钟后无法进行任何播放、拖动等操作(直到你重新获取新的链接)

@BlueSkyXN
Copy link
Contributor

1,设置“web代理”为开
2,设置“webdav”为本地代理
3,设置“签名”为关
4,索引:删除
5,设置:缓存过期时间为10分钟
6,重启Alist

#5560 你也可以自己调参数用GitHub Action编译一下
我自己用的还是魔改版(并发任务数从3提升到10)

@xhofe xhofe added this to the v3.29.0 milestone Nov 23, 2023
@xhofe xhofe closed this as completed in 0fbb986 Nov 23, 2023
@shaoyang778899
Copy link

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常

https://github.com/BlueSkyXN/alist/actions/runs/6965982158

你好,问一下.这个链接内的是怎么使用的,看了半天没看明白在哪里修改.可以教我一下吗?这个问题困扰好几天了,谢谢

truecharts-admin referenced this issue in truecharts/public Nov 25, 2023
…15347)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [xhofe/alist](https://github.com/alist-org/alist) | minor |
`v3.28.0` -> `v3.29.1` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>alist-org/alist (xhofe/alist)</summary>

###
[`v3.29.1`](https://github.com/alist-org/alist/releases/tag/v3.29.1)

[Compare
Source](https://github.com/alist-org/alist/compare/v3.29.0...v3.29.1)

#####    🐞 Bug Fixes

- Task popped but not execute  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5565](https://github.com/alist-org/alist/issues/5565)
[<samp>(68af2)</samp>](https://github.com/alist-org/alist/commit/68af284)

#####     [View changes on
GitHub](https://github.com/alist-org/alist/compare/v3.29.0...v3.29.1)

###
[`v3.29.0`](https://github.com/alist-org/alist/releases/tag/v3.29.0)

[Compare
Source](https://github.com/alist-org/alist/compare/v3.28.0...v3.29.0)

#####    🚀 Features

- Add `header` to `meta`  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5317](https://github.com/alist-org/alist/issues/5317)
[<samp>(9ff83)</samp>](https://github.com/alist-org/alist/commit/9ff83a7)
- Add ignore direct link params  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5434](https://github.com/alist-org/alist/issues/5434)
[<samp>(c0f9c)</samp>](https://github.com/alist-org/alist/commit/c0f9c8e)
- Refactor offline download
([#&#8203;5408](https://github.com/alist-org/alist/issues/5408) close
[#&#8203;4108](https://github.com/alist-org/alist/issues/4108))  -  by
[@&#8203;xhofe](https://github.com/xhofe) and
[@&#8203;renovate](https://github.com/renovate)\[bot]
in[https://github.com/alist-org/alist/issues/5408](https://github.com/alist-org/alist/issues/5408)8
and[https://github.com/alist-org/alist/issues/4108](https://github.com/alist-org/alist/issues/4108)8
[<samp>(76928)</samp>](https://github.com/alist-org/alist/commit/769281b)
- Add `115_share` driver
([#&#8203;5481](https://github.com/alist-org/alist/issues/5481) close
[#&#8203;5384](https://github.com/alist-org/alist/issues/5384))  -  by
[@&#8203;SheltonZhu](https://github.com/SheltonZhu) in
[https://github.com/alist-org/alist/issues/5481](https://github.com/alist-org/alist/issues/5481)
and
[https://github.com/alist-org/alist/issues/5384](https://github.com/alist-org/alist/issues/5384)
[<samp>(da1c7)</samp>](https://github.com/alist-org/alist/commit/da1c7a4)
- Invalidate old token after changing the password  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5515](https://github.com/alist-org/alist/issues/5515)
[<samp>(3d518)</samp>](https://github.com/alist-org/alist/commit/3d51845)
- Support using external dist files  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5531](https://github.com/alist-org/alist/issues/5531)
[<samp>(6fc67)</samp>](https://github.com/alist-org/alist/commit/6fc6751)
- Refactor task module  -  by
[@&#8203;xhofe](https://github.com/xhofe)
[<samp>(11a30)</samp>](https://github.com/alist-org/alist/commit/11a30c5)
- Customize workers and retry of task (close
[#&#8203;5493](https://github.com/alist-org/alist/issues/5493) fix
[#&#8203;5274](https://github.com/alist-org/alist/issues/5274))  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5493](https://github.com/alist-org/alist/issues/5493)
and
[https://github.com/alist-org/alist/issues/5274](https://github.com/alist-org/alist/issues/5274)
[<samp>(7583c)</samp>](https://github.com/alist-org/alist/commit/7583c4d)
- Retry all failed task  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5242](https://github.com/alist-org/alist/issues/5242)
[<samp>(b2890)</samp>](https://github.com/alist-org/alist/commit/b2890f0)
- Add chaoxing and vtencent driver
([#&#8203;5526](https://github.com/alist-org/alist/issues/5526) close
[#&#8203;3347](https://github.com/alist-org/alist/issues/3347))  -  by
[@&#8203;msterzhang](https://github.com/msterzhang) in
[https://github.com/alist-org/alist/issues/5526](https://github.com/alist-org/alist/issues/5526)
and
[https://github.com/alist-org/alist/issues/3347](https://github.com/alist-org/alist/issues/3347)
[<samp>(12800)</samp>](https://github.com/alist-org/alist/commit/1280070)
- Allow keep files in offline download  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/4678](https://github.com/alist-org/alist/issues/4678)
[<samp>(b6134)</samp>](https://github.com/alist-org/alist/commit/b6134dc)
- Customize allow `origins`, `headers` and `methods`  -  by
[@&#8203;xhofe](https://github.com/xhofe)
[<samp>(3f405)</samp>](https://github.com/alist-org/alist/commit/3f405de)
-   **cloudreve**:
- Support thumbnail
([#&#8203;5373](https://github.com/alist-org/alist/issues/5373) close
[#&#8203;5348](https://github.com/alist-org/alist/issues/5348))  -  by
[@&#8203;itsHenry35](https://github.com/itsHenry35) in
[https://github.com/alist-org/alist/issues/5373](https://github.com/alist-org/alist/issues/5373)
and
[https://github.com/alist-org/alist/issues/5348](https://github.com/alist-org/alist/issues/5348)
[<samp>(7f733)</samp>](https://github.com/alist-org/alist/commit/7f73354)
- Folder size count and switch
([#&#8203;5457](https://github.com/alist-org/alist/issues/5457) close
[#&#8203;5395](https://github.com/alist-org/alist/issues/5395))  -  by
[@&#8203;itsHenry35](https://github.com/itsHenry35) in
[https://github.com/alist-org/alist/issues/5457](https://github.com/alist-org/alist/issues/5457)
and
[https://github.com/alist-org/alist/issues/5395](https://github.com/alist-org/alist/issues/5395)
[<samp>(65c5e)</samp>](https://github.com/alist-org/alist/commit/65c5ec0)
-   **crypt**:
- Optional pre-generated thumbnails  -  by
[@&#8203;chaoqing](https://github.com/chaoqing) in
[https://github.com/alist-org/alist/issues/5284](https://github.com/alist-org/alist/issues/5284)
[<samp>(fb13d)</samp>](https://github.com/alist-org/alist/commit/fb13dae)
- Add show hidden option  -  by
[@&#8203;textrix](https://github.com/textrix) in
[https://github.com/alist-org/alist/issues/5554](https://github.com/alist-org/alist/issues/5554)
[<samp>(fe34d)</samp>](https://github.com/alist-org/alist/commit/fe34d30)
-   **google_drive**:
- Add `hash_info`, `ctime`, `thumbnail`  -  by
[@&#8203;foxxorcat](https://github.com/foxxorcat) in
[https://github.com/alist-org/alist/issues/5334](https://github.com/alist-org/alist/issues/5334)
[<samp>(1a283)</samp>](https://github.com/alist-org/alist/commit/1a283bb)
-   **offline_download**:
- Add simple http tool  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/4002](https://github.com/alist-org/alist/issues/4002)
[<samp>(34746)</samp>](https://github.com/alist-org/alist/commit/34746e9)
-   **onedrive**:
- Custom host for download link  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5310](https://github.com/alist-org/alist/issues/5310)
[<samp>(0fd51)</samp>](https://github.com/alist-org/alist/commit/0fd5164)
-   **sso**:
- Custom username key for `OIDC`  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5169](https://github.com/alist-org/alist/issues/5169)
[<samp>(e719a)</samp>](https://github.com/alist-org/alist/commit/e719a1a)
-   **webdav**:
- Add `tls_insecure_skip_verify` field  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5490](https://github.com/alist-org/alist/issues/5490)
[<samp>(91f51)</samp>](https://github.com/alist-org/alist/commit/91f51f1)

#####    🐞 Bug Fixes

- Hash gcid empty file  -  by
[@&#8203;foxxorcat](https://github.com/foxxorcat) in
[https://github.com/alist-org/alist/issues/5394](https://github.com/alist-org/alist/issues/5394)
[<samp>(cdfbe)</samp>](https://github.com/alist-org/alist/commit/cdfbe6d)
- Incorrect content-type of apk files  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5385](https://github.com/alist-org/alist/issues/5385)
[<samp>(4355d)</samp>](https://github.com/alist-org/alist/commit/4355dae)
- Reflected XSS vulnerability plist api  -  by
[@&#8203;xhofe](https://github.com/xhofe)
[<samp>(61006)</samp>](https://github.com/alist-org/alist/commit/6100647)
- `content-type` conflicts with
[#&#8203;5420](https://github.com/alist-org/alist/issues/5420)  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5420](https://github.com/alist-org/alist/issues/5420)
[<samp>(d2688)</samp>](https://github.com/alist-org/alist/commit/d26887d)
-   **115**:
- Allow use proxy directly  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5324](https://github.com/alist-org/alist/issues/5324)
[<samp>(e8958)</samp>](https://github.com/alist-org/alist/commit/e895801)
- Limit request rate
([#&#8203;5367](https://github.com/alist-org/alist/issues/5367) close
[#&#8203;5275](https://github.com/alist-org/alist/issues/5275))  -  by
[@&#8203;foxxorcat](https://github.com/foxxorcat) and
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5367](https://github.com/alist-org/alist/issues/5367)
and
[https://github.com/alist-org/alist/issues/5275](https://github.com/alist-org/alist/issues/5275)
[<samp>(b9e19)</samp>](https://github.com/alist-org/alist/commit/b9e192b)
- Fix driver package import and variable  -  by
[@&#8203;SheltonZhu](https://github.com/SheltonZhu) in
[https://github.com/alist-org/alist/issues/5482](https://github.com/alist-org/alist/issues/5482)
[<samp>(3bbdd)</samp>](https://github.com/alist-org/alist/commit/3bbdd4f)
-   **aliyundrive_open**:
- Change default api to raw server  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5358](https://github.com/alist-org/alist/issues/5358)
[<samp>(7600d)</samp>](https://github.com/alist-org/alist/commit/7600dc2)
- Upload progress for normal upload  -  by
[@&#8203;NewbieOrange](https://github.com/NewbieOrange) in
[https://github.com/alist-org/alist/issues/5398](https://github.com/alist-org/alist/issues/5398)
[<samp>(8ef80)</samp>](https://github.com/alist-org/alist/commit/8ef8023)
- Mitigation measures for 15-minute limit
([#&#8203;5560](https://github.com/alist-org/alist/issues/5560) close
[#&#8203;5547](https://github.com/alist-org/alist/issues/5547))  -  by
[@&#8203;BlueSkyXN](https://github.com/BlueSkyXN) and
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5560](https://github.com/alist-org/alist/issues/5560)
and
[https://github.com/alist-org/alist/issues/5547](https://github.com/alist-org/alist/issues/5547)
[<samp>(0fbb9)</samp>](https://github.com/alist-org/alist/commit/0fbb986)
-   **baidu_netdisk**:
- Hash and `error 2`  -  by
[@&#8203;foxxorcat](https://github.com/foxxorcat) in
[https://github.com/alist-org/alist/issues/5356](https://github.com/alist-org/alist/issues/5356)
[<samp>(8ef89)</samp>](https://github.com/alist-org/alist/commit/8ef89ad)
- Upload file > 4GB  -  by [@&#8203;xhofe](https://github.com/xhofe)
in
[https://github.com/alist-org/alist/issues/5392](https://github.com/alist-org/alist/issues/5392)
[<samp>(4fc0a)</samp>](https://github.com/alist-org/alist/commit/4fc0a77)
-   **deps**:
- Update module github.com/ipfs/go-ipfs-api to v0.7.0  -  by
[@&#8203;renovate](https://github.com/renovate)\[bot]
in[https://github.com/alist-org/alist/issues/5247](https://github.com/alist-org/alist/issues/5247)7
[<samp>(eb918)</samp>](https://github.com/alist-org/alist/commit/eb91865)
- Update module github.com/aliyun/aliyun-oss-go-sdk to
v2.2.9+incompatible  -  by
[@&#8203;renovate](https://github.com/renovate)\[bot]
in[https://github.com/alist-org/alist/issues/5141](https://github.com/alist-org/alist/issues/5141)1
[<samp>(69a98)</samp>](https://github.com/alist-org/alist/commit/69a98ea)
- Update module golang.org/x/net to v0.17.0 \[security]  -  by
[@&#8203;renovate](https://github.com/renovate)\[bot]
in[https://github.com/alist-org/alist/issues/5370](https://github.com/alist-org/alist/issues/5370)0
[<samp>(cc86d)</samp>](https://github.com/alist-org/alist/commit/cc86d6f)
- Update golang.org/x/exp digest to
[`7918f67`](https://github.com/alist-org/alist/commit/7918f67)  -  by
[@&#8203;renovate](https://github.com/renovate)\[bot]
in[https://github.com/alist-org/alist/issues/5366](https://github.com/alist-org/alist/issues/5366)6
[<samp>(4dff4)</samp>](https://github.com/alist-org/alist/commit/4dff494)
- Update module github.com/charmbracelet/lipgloss to v0.9.1  -  by
[@&#8203;renovate](https://github.com/renovate)\[bot]
in[https://github.com/alist-org/alist/issues/5234](https://github.com/alist-org/alist/issues/5234)4
[<samp>(a6325)</samp>](https://github.com/alist-org/alist/commit/a632596)
- Update module github.com/aws/aws-sdk-go to v1.46.7  -  by
[@&#8203;renovate](https://github.com/renovate)\[bot]
in[https://github.com/alist-org/alist/issues/5068](https://github.com/alist-org/alist/issues/5068)8
[<samp>(a7421)</samp>](https://github.com/alist-org/alist/commit/a7421d8)
-   **local**:
- Video file thumbnails not displaying on iOS Safari  -  by
[@&#8203;gmugu](https://github.com/gmugu) in
[https://github.com/alist-org/alist/issues/5420](https://github.com/alist-org/alist/issues/5420)
[<samp>(867ac)</samp>](https://github.com/alist-org/alist/commit/867acca)
-   **mopan**:
- 302 Redirect
([#&#8203;5505](https://github.com/alist-org/alist/issues/5505) close
[#&#8203;5502](https://github.com/alist-org/alist/issues/5502))  -  by
[@&#8203;foxxorcat](https://github.com/foxxorcat) and
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5505](https://github.com/alist-org/alist/issues/5505)
and
[https://github.com/alist-org/alist/issues/5502](https://github.com/alist-org/alist/issues/5502)
[<samp>(55a14)</samp>](https://github.com/alist-org/alist/commit/55a14bc)
-   **onedrive_app**:
- Incorrect api on `_accessToken`  -  by
[@&#8203;jeffmingup](https://github.com/jeffmingup) in
[https://github.com/alist-org/alist/issues/5346](https://github.com/alist-org/alist/issues/5346)
[<samp>(35d67)</samp>](https://github.com/alist-org/alist/commit/35d6722)
-   **terabox**:
- Auto refresh `JsToken`  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5277](https://github.com/alist-org/alist/issues/5277)
[<samp>(6b67a)</samp>](https://github.com/alist-org/alist/commit/6b67a36)
- Encode parameters for `filemanager` api  -  by
[@&#8203;URenko](https://github.com/URenko) in
[https://github.com/alist-org/alist/issues/5308](https://github.com/alist-org/alist/issues/5308)
[<samp>(e1ef6)</samp>](https://github.com/alist-org/alist/commit/e1ef690)
-   **vtencent**:
- Hack file with size 0 but actual size is not 0  -  by
[@&#8203;xhofe](https://github.com/xhofe)
[<samp>(d455a)</samp>](https://github.com/alist-org/alist/commit/d455a23)
-   **weiyun**:
- Unmarshal overflow  -  by
[@&#8203;foxxorcat](https://github.com/foxxorcat) in
[https://github.com/alist-org/alist/issues/5459](https://github.com/alist-org/alist/issues/5459)
[<samp>(68f44)</samp>](https://github.com/alist-org/alist/commit/68f440a)
-   **wopan**:
- Fatal error concurrent map writes  -  by
[@&#8203;xhofe](https://github.com/xhofe) in
[https://github.com/alist-org/alist/issues/5352](https://github.com/alist-org/alist/issues/5352)
[<samp>(1ebc9)</samp>](https://github.com/alist-org/alist/commit/1ebc96a)

#####    🏎 Performance

- **webdav**: Support request with cookies  -  by
[@&#8203;gmugu](https://github.com/gmugu) in
[https://github.com/alist-org/alist/issues/5391](https://github.com/alist-org/alist/issues/5391)
[<samp>(aaffa)</samp>](https://github.com/alist-org/alist/commit/aaffaee)

#####     [View changes on
GitHub](https://github.com/alist-org/alist/compare/v3.28.0...v3.29.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42OC4wIiwidXBkYXRlZEluVmVyIjoiMzcuNjguMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
@BlueSkyXN
Copy link
Contributor

遇到同样问题,已经有几天了,同步时好时坏,不知道现在好了没

初步测试,修复后无异常

https://github.com/BlueSkyXN/alist/actions/runs/6965982158

你好,问一下.这个链接内的是怎么使用的,看了半天没看明白在哪里修改.可以教我一下吗?这个问题困扰好几天了,谢谢

已经整合到最新版本,请更新到3.29.1
然后即可在阿里官方允许的范围内使用

@zzhi-github
Copy link

我替换了3.29.0的版本,fix已经合进去了。使用了两天,看视频跟之前基本无异,问题应该解决了。

@YosenFree
Copy link

我更新了最新版本3.29.1,设置不开始web代理,或者开启本地代理,还是会发生这个问题呢

@YosenFree
Copy link

@BlueSkyXN

@BlueSkyXN
Copy link
Contributor

我更新了最新版本3.29.1,设置不开始web代理,或者开启本地代理,还是会发生这个问题呢

F12,看看是官方还是代理的域名/IP就知道了
注意:阿里专用播放器不走代理、通用播放器可能也不走但是别人说没啥问题。
第三方播放器、下载器请你自己找他们解决302跟随的问题

@BlueSkyXN
Copy link
Contributor

BlueSkyXN commented Nov 28, 2023

我更新了最新版本3.29.1,设置不开始web代理,或者开启本地代理,还是会发生这个问题呢

开启本地代理(web代理+webdav代理)
浏览器推送idm进行32线程单任务下载500GB超大压缩包,以300Mbps单任务限速需要多久你自己计算,我实测下载成功就说明了没问题

@YosenFree
Copy link

我更新了最新版本3.29.1,设置不开始web代理,或者开启本地代理,还是会发生这个问题呢

F12,看看是官方还是代理的域名/IP就知道了 注意:阿里专用播放器不走代理、通用播放器可能也不走但是别人说没啥问题。 第三方播放器、下载器请你自己找他们解决302跟随的问题

感谢大佬,确实是阿里播放器不走代理的原因,换video就行了。

@4873
Copy link

4873 commented Jan 6, 2024

我也遇到了相同的问题

gmugu pushed a commit to gmugu/alist that referenced this issue May 28, 2024
…Go#5560 close AlistGo#5547)

* fix(aliyundrive_open):Mitigation measures for AliOpen's 15-minute limit.

I conducted small-scale tests, which seem to have no significant negative impact. If the 15-minute issue still occurs, further measures will be needed. Methods like local proxy can be attempted.

* chore(aliyundrive_open): change cache of the link to 1 minute

---------

Co-authored-by: Andy Hsu <i@nn.ci>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests