Skip to content

[BUG] 天翼云盘上传文件12G, 上传到一半(有时1G 有时8G ,时间有时10分钟左右 有时半小时左右) 出错. #752

@luyanfeng

Description

@luyanfeng

Please confirm the following

  • I have read and agree to AGPL-3.0 Section 15 .
    The program is provided "as is" without any warranties; you bear all risks of using it.

  • I have read and agree to AGPL-3.0 Section 16 .
    The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.

  • I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.

  • I have read the OpenList documentation.

  • I confirm there are no duplicate issues or discussions.

  • I confirm this is an OpenList issue, not caused by other reasons (such as network, dependencies, or operation).

  • I believe this issue must be handled by OpenList and not by a third party.

  • I confirm this issue is not fixed in the latest version.

OpenList Version (required)

v4.0.8

Storage Driver Used (required)

天翼云盘

Bug Description (required)

天翼云盘上传文件12G, 上传到一半(有时1G 有时8G ,时间有时10分钟左右 有时半小时左右) 出错.

Image

Configuration File Content (required)

用到了nginx代理.

keepalive_timeout 600s;
proxy_connect_timeout 60s;
proxy_send_timeout 600s;
proxy_read_timeout 600s;

Logs (optional)

[GIN] 2025/07/18 - 09:54:24 | 207 |     117.619µs |   192.168.0.227 | PROPFIND  "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/synobkpinfo.db"
[GIN] 2025/07/18 - 09:54:24 | 207 |      91.359µs |   192.168.0.227 | PROPFIND  "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/_Syno_TaskConfig"
[GIN] 2025/07/18 - 09:54:30 | 201 | 10.124552043s |   192.168.0.227 | PUT      "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/15.bucket.2"
[GIN] 2025/07/18 - 09:54:31 | 201 |  998.597559ms |   192.168.0.227 | PUT      "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/15.index.2"
[GIN] 2025/07/18 - 09:54:41 | 201 |  9.524534035s |   192.168.0.227 | PUT      "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/19.bucket.2"
[GIN] 2025/07/18 - 09:54:41 | 201 |  773.699969ms |   192.168.0.227 | PUT      "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/19.index.2"
[GIN] 2025/07/18 - 09:54:51 | 201 |   9.74423378s |   192.168.0.227 | PUT      "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/20.bucket.2"
[GIN] 2025/07/18 - 09:54:52 | 201 |  969.535291ms |   192.168.0.227 | PUT      "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/20.index.2"
[GIN] 2025/07/18 - 09:55:00 | 207 |     480.802µs |   192.168.0.227 | PROPFIND  "/dav/电信天翼云盘/133_10T/同步盘"
[GIN] 2025/07/18 - 09:55:03 | 201 | 10.559351051s |   192.168.0.227 | PUT      "/dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/21.bucket.2"
ERRO[2025-07-18 09:55:16] failed put /电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0: All attempts fail:
#1: code: InvalidArgument ,msg: sessionKey=a492c310-40cf-49d9-be7f-15ac2cd107f2, uploadFileId= is null! requestId=747334bc-41c6-4ab4-90c7-e9681a7519d3
#2: code: InvalidArgument ,msg: sessionKey=a492c310-40cf-49d9-be7f-15ac2cd107f2, uploadFileId= is null! requestId=433a1d3e-7b31-42e3-a5e1-149bcb73364f
#3: code: InvalidArgument ,msg: sessionKey=a492c310-40cf-49d9-be7f-15ac2cd107f2, uploadFileId= is null! requestId=faa00c70-a032-488c-947e-4c1e2d6943bc
github.com/OpenListTeam/OpenList/v4/internal/op.Put
	/home/runner/work/OpenList/OpenList/internal/op/fs.go:598
github.com/OpenListTeam/OpenList/v4/internal/fs.putDirectly
	/home/runner/work/OpenList/OpenList/internal/fs/put.go:81
github.com/OpenListTeam/OpenList/v4/internal/fs.PutDirectly
	/home/runner/work/OpenList/OpenList/internal/fs/fs.go:118
github.com/OpenListTeam/OpenList/v4/server/webdav.(*Handler).handlePut
	/home/runner/work/OpenList/OpenList/server/webdav/webdav.go:342
github.com/OpenListTeam/OpenList/v4/server/webdav.(*Handler).ServeHTTP
	/home/runner/work/OpenList/OpenList/server/webdav/webdav.go:69
github.com/OpenListTeam/OpenList/v4/server.ServeWebDAV
	/home/runner/work/OpenList/OpenList/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server.WebDav.DownloadRateLimiter.func3
	/home/runner/work/OpenList/OpenList/server/middlewares/limit.go:51
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server.WebDav.UploadRateLimiter.func2
	/home/runner/work/OpenList/OpenList/server/middlewares/limit.go:28
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server.WebDAVAuth
	/home/runner/work/OpenList/OpenList/server/webdav.go:128
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded
	/home/runner/work/OpenList/OpenList/server/middlewares/check.go:30
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:644
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:600
net/http.serverHandler.ServeHTTP
	/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.4.linux-amd64/src/net/http/server.go:3210
net/http.(*conn).serve
	/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.4.linux-amd64/src/net/http/server.go:2092
runtime.goexit
	/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.4.linux-amd64/src/runtime/asm_amd64.s:1700 
ERRO[2025-07-18 09:55:16] PUT /dav/电信天翼云盘/133_10T/lyf_nas_备份盘/hzx_工作备份.hbk/Pool/0/0/21.index.2 All attempts fail:
#1: code: InvalidArgument ,msg: sessionKey=a492c310-40cf-49d9-be7f-15ac2cd107f2, uploadFileId= is null! requestId=747334bc-41c6-4ab4-90c7-e9681a7519d3
#2: code: InvalidArgument ,msg: sessionKey=a492c310-40cf-49d9-be7f-15ac2cd107f2, uploadFileId= is null! requestId=433a1d3e-7b31-42e3-a5e1-149bcb73364f
#3: code: InvalidArgument ,msg: sessionKey=a492c310-40cf-49d9-be7f-15ac2cd107f2, uploadFileId= is null! requestId=faa00c70-a032-488c-947e-4c1e2d6943bc
github.com/OpenListTeam/OpenList/v4/internal/op.Put
	/home/runner/work/OpenList/OpenList/internal/op/fs.go:598
github.com/OpenListTeam/OpenList/v4/internal/fs.putDirectly
	/home/runner/work/OpenList/OpenList/internal/fs/put.go:81
github.com/OpenListTeam/OpenList/v4/internal/fs.PutDirectly
	/home/runner/work/OpenList/OpenList/internal/fs/fs.go:118
github.com/OpenListTeam/OpenList/v4/server/webdav.(*Handler).handlePut
	/home/runner/work/OpenList/OpenList/server/webdav/webdav.go:342
github.com/OpenListTeam/OpenList/v4/server/webdav.(*Handler).ServeHTTP
	/home/runner/work/OpenList/OpenList/server/webdav/webdav.go:69
github.com/OpenListTeam/OpenList/v4/server.ServeWebDAV
	/home/runner/work/OpenList/OpenList/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server.WebDav.DownloadRateLimiter.func3
	/home/runner/work/OpenList/OpenList/server/middlewares/limit.go:51
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server.WebDav.UploadRateLimiter.func2
	/home/runner/work/OpenList/OpenList/server/middlewares/limit.go:28
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server.WebDAVAuth
	/home/runner/work/OpenList/OpenList/server/webdav.go:128
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded
	/home/runner/work/OpenList/OpenList/server/middlewares/check.go:30
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:644
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:600
net/http.serverHandler.ServeHTTP
	/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.4.linux-amd64/src/net/http/server.go:3210
net/http.(*conn).serve
	/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.4.linux-amd64/src/net/http/server.go:2092
runtime.goexit
	/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.4.linux-amd64/src/runtime/asm_amd64.s:1700 

Reproduction Link (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions