AlistGo / AlistGo/alist

百度网盘上传优化

Aperta
#9,486 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Go
Stelle
50.2k
Fork
7.9k
Merge medio
7g 21h
PR unite (30g)
6

Descrizione

### Please make sure of the following things

- [x] I have read the [documentation](https://alistgo.com).
我已经阅读了[文档](https://alistgo.com)。

- [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](https://alistgo.com/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alistgo.com/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

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

### AList Version / AList 版本

v3.60.0

### Driver used / 使用的存储驱动

百度网盘

### Describe the bug / 问题描述

百度网盘选择动态api上传,白天正常,晚上上传到99%就没有速度,就这样一直上传着,偶尔报错重试,但大多数时候等1-2小时还在上传(速度几乎为0)。如果我换成固定api,比如d.pcs.baidu.com,就可以上传成功。
我测试BaiduPCS-Go也没有啥太大问题

是不是可以优化一下,选择了动态api,如果上传速度过慢且超过n分钟就换其他api上传该分片

### Reproduction / 复现链接

--

### Config / 配置

不需要

### Logs / 日志

error uploading to baidu, response={"error_code":31299, "error_msg":"Invalid param keylist"}
github.com/alist-org/alist/v3/internal/op.Put

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.