Skip to content

百度网盘大文件上传失败 #9363

@362227

Description

@362227

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 版本

latest

Driver used / 使用的存储驱动

百度网盘

Describe the bug / 问题描述

配合rclone上传大文件(40GB+)到百度网盘会失败。参数怎么调都没用 rclone copy --timeout 666m /var/www/html/tx/ 百度网盘:/ -P(因为要自动化,没有测试复制功能)
https://github.com/pongfcnkl/alist11/ 这个版本不会,但70GB+的成功率很低 (因为要自动化,没有测试复制功能)

BaiduPCS-Go 能上传100GB+的

这应该是一个一直没有解决的问题,疑似复制也会失败:#8437

Reproduction / 复现链接

#8437

Config / 配置

rclone copy --timeout 666m /var/www/html/tx/ 百度网盘:/ -P

Logs / 日志

[2025-11-04 04:38:19] failed put /bd/根目录: All attempts fail:
#1: upload/download stream incomplete, possible network issue; error in uploading to baidu, will retry. response={"error_code":31299, "error_msg":"Invalid param keylist"}
github.com/alist-org/alist/v3/internal/op.Put
/source/internal/op/fs.go:601
github.com/alist-org/alist/v3/internal/fs.putDirectly
/source/internal/fs/put.go:80
github.com/alist-org/alist/v3/internal/fs.PutDirectly
/source/internal/fs/fs.go:101
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
/source/server/webdav/webdav.go:342
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:69
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:55
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDav.DownloadRateLimiter.func3
/source/server/middlewares/limit.go:50
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDav.UploadRateLimiter.func2
/source/server/middlewares/limit.go:27
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:167
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.SessionRefresh
/source/server/middlewares/session_refresh.go:11
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3340
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2109
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1693

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions