alist icon indicating copy to clipboard operation
alist copied to clipboard

WebDav上传大文件出错

Open 12189108 opened this issue 3 years ago • 2 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.
  • [X] I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • [X] I'm sure I'm using the latest version

Alist Version / Alist 版本

v3.5.1

Driver used / 使用的存储驱动

阿里云盘

Describe the bug / 问题描述

文件成功上传至服务器,服务器上传至阿里云报错

[GIN] 2022/12/01 - 21:47:04 | 404 |      253.51µs |    20.222.33.13 | PROPFIND  "/dav/AspenPlus/Aspen Technology aspenONE Engineering Suite 14.7z"
[GIN] 2022/12/01 - 21:47:59 | 200 |     116.305µs |    20.222.33.13 | GET      "/"
[GIN] 2022/12/01 - 21:48:00 | 200 |      89.504µs |    20.222.33.13 | GET      "/assets/index.659f4289.css"
[GIN] 2022/12/01 - 21:48:00 | 200 |      260.41µs |    20.222.33.13 | GET      "/assets/index.990867b1.js"
[GIN] 2022/12/01 - 21:48:00 | 200 |      94.804µs |    20.222.33.13 | GET      "/assets/entry.4e510c57.js"
[GIN] 2022/12/01 - 21:48:00 | 200 |      62.503µs |    20.222.33.13 | GET      "/api/public/settings"
[GIN] 2022/12/01 - 21:48:00 | 200 |     170.307µs |    20.222.33.13 | GET      "/api/me"
[GIN] 2022/12/01 - 21:48:01 | 200 |      49.702µs |    20.222.33.13 | GET      "/assets/useTitle.61c80c89.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |      258.91µs |    20.222.33.13 | GET      "/assets/Layout.a220222c.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |     281.111µs |    20.222.33.13 | GET      "/assets/Markdown.bae15eb8.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |     283.912µs |    20.222.33.13 | GET      "/assets/useT.e3a47100.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |      47.102µs |    20.222.33.13 | GET      "/assets/api.389584e0.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |      44.201µs |    20.222.33.13 | GET      "/assets/useUtil.42ccc281.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |      80.004µs |    20.222.33.13 | GET      "/assets/index.b00468c5.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |      36.601µs |    20.222.33.13 | GET      "/assets/index.c7812675.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |      32.201µs |    20.222.33.13 | GET      "/assets/FolderTree.48c95379.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |     451.718µs |    20.222.33.13 | POST     "/api/fs/get"
[GIN] 2022/12/01 - 21:48:01 | 200 |     378.415µs |    20.222.33.13 | POST     "/api/fs/list"
[GIN] 2022/12/01 - 21:48:01 | 200 |     121.605µs |    20.222.33.13 | GET      "/assets/Folder.b511ba9e.css"
[GIN] 2022/12/01 - 21:48:01 | 200 |      43.802µs |    20.222.33.13 | GET      "/assets/obj.fca5b341.js"
[GIN] 2022/12/01 - 21:48:01 | 200 |     117.205µs |    20.222.33.13 | GET      "/assets/Folder.7647cbbd.js"
[GIN] 2022/12/01 - 21:48:02 | 200 |      69.903µs |    20.222.33.13 | GET      "/assets/List.c5b269f6.js"
[GIN] 2022/12/01 - 21:48:02 | 200 |      26.101µs |    20.222.33.13 | GET      "/assets/icon.1ba1cd8a.js"
[GIN] 2022/12/01 - 21:48:05 | 200 |     322.913µs |    20.222.33.13 | POST     "/api/fs/list"
[GIN] 2022/12/01 - 21:48:41 | 302 |      35.302µs |  221.212.178.76 | GET      "/favicon.ico"
[GIN] 2022/12/01 - 21:48:41 | 200 |      36.702µs | 222.172.131.145 | GET      "/"
[GIN] 2022/12/01 - 21:48:46 | 200 |      46.502µs |   14.204.44.129 | GET      "/"
[GIN] 2022/12/01 - 21:51:21 | 207 |     163.207µs |   58.20.126.216 | PROPFIND  "/dav"
[GIN] 2022/12/01 - 22:02:45 | 200 |     168.406µs |   58.20.126.216 | GET      "/"
[GIN] 2022/12/01 - 22:05:16 | 302 |      33.601µs |   112.66.104.48 | GET      "/favicon.ico"
[GIN] 2022/12/01 - 22:05:17 | 200 |      47.102µs |   112.66.104.48 | GET      "/"
ERRO[2022-12-01 23:12:05] failed put /AspenPlus: Put "https://cn-beijing-data.aliyundrive.net/KiwZ3709%2F1256991%2F6388c276a94dcc8eef0b4a4f9e2394213479bf5a%2F6388c2766fb2c0e2908e47a3b538a25ef36f90ca?partNumber=663&security-token=CAIS%2BgF1q6Ft5B2yfSjIr5eCH9P2vLEW1KaGdV7F1nQNXsVgharfkDz2IHFPeHJrBeAYt%2FoxmW1X5vwSlq5rR4QAXlDfNTzQK1HyqVHPWZHInuDox55m4cTXNAr%2BIhr%2F29CoEIedZdjBe%2FCrRknZnytou9XTfimjWFrXWv%2Fgy%2BQQDLItUxK%2FcCBNCfpPOwJms7V6D3bKMuu3OROY6Qi5TmgQ41Uh1jgjtPzkkpfFtkGF1GeXkLFF%2B97DRbG%2FdNRpMZtFVNO44fd7bKKp0lQLukMWr%2Fwq3PIdp2ma447NWQlLnzyCMvvJ9OVDFyN0aKEnH7J%2Bq%2FzxhTPrMnpkSlacGoABiXtHfQ6vo7Us7oOk4XCa%2BLN3jF162BqkKaLk%2F3sVCkyZOlgqMf6qRW8k44Vb7xWORaSJPQWYg5%2F7AR37EqAtYxqgNn3uV7AW%2FQeBGbL0kiWwqkPadAJHUnpkJ6Yyi6rU16wtoKvXIJwLNgkTt3x2fwL1xohewyQBp1MxCGIg2F8%3D&uploadId=F5511614E6C2433596443185CD35D5C1&x-oss-access-key-id=STS.NT7TiBQn7cdmwxt2tXRJLjotr&x-oss-expires=1669910663&x-oss-signature=ZEQQI7jy2ZtNlxg4CPEPipxnfqSt7SyHWLRP57WvJHc%3D&x-oss-signature-version=OSS2": unexpected EOF
github.com/alist-org/alist/v3/internal/op.Put
	/source/internal/op/fs.go:360
github.com/alist-org/alist/v3/internal/fs.putDirectly
	/source/internal/fs/put.go:54
github.com/alist-org/alist/v3/internal/fs.PutDirectly
	/source/internal/fs/fs.go:84
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
	/source/server/webdav/webdav.go:307
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
	/source/server/webdav/webdav.go:59
github.com/alist-org/alist/v3/server.ServeWebDAV
	/source/server/webdav.go:44
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/alist-org/alist/v3/server.WebDAVAuth
	/source/server/webdav.go:93
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
	/source/server/middlewares/check.go:11
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:101
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:616
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:572
net/http.serverHandler.ServeHTTP
	/usr/local/go/src/net/http/server.go:2947
net/http.(*conn).serve
	/usr/local/go/src/net/http/server.go:1991
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1594 
ERRO[2022-12-01 23:12:05] PUT /dav/AspenPlus/Aspen Technology aspenONE Engineering Suite 14.7z Put "https://cn-beijing-data.aliyundrive.net/KiwZ3709%2F1256991%2F6388c276a94dcc8eef0b4a4f9e2394213479bf5a%2F6388c2766fb2c0e2908e47a3b538a25ef36f90ca?partNumber=663&security-token=CAIS%2BgF1q6Ft5B2yfSjIr5eCH9P2vLEW1KaGdV7F1nQNXsVgharfkDz2IHFPeHJrBeAYt%2FoxmW1X5vwSlq5rR4QAXlDfNTzQK1HyqVHPWZHInuDox55m4cTXNAr%2BIhr%2F29CoEIedZdjBe%2FCrRknZnytou9XTfimjWFrXWv%2Fgy%2BQQDLItUxK%2FcCBNCfpPOwJms7V6D3bKMuu3OROY6Qi5TmgQ41Uh1jgjtPzkkpfFtkGF1GeXkLFF%2B97DRbG%2FdNRpMZtFVNO44fd7bKKp0lQLukMWr%2Fwq3PIdp2ma447NWQlLnzyCMvvJ9OVDFyN0aKEnH7J%2Bq%2FzxhTPrMnpkSlacGoABiXtHfQ6vo7Us7oOk4XCa%2BLN3jF162BqkKaLk%2F3sVCkyZOlgqMf6qRW8k44Vb7xWORaSJPQWYg5%2F7AR37EqAtYxqgNn3uV7AW%2FQeBGbL0kiWwqkPadAJHUnpkJ6Yyi6rU16wtoKvXIJwLNgkTt3x2fwL1xohewyQBp1MxCGIg2F8%3D&uploadId=F5511614E6C2433596443185CD35D5C1&x-oss-access-key-id=STS.NT7TiBQn7cdmwxt2tXRJLjotr&x-oss-expires=1669910663&x-oss-signature=ZEQQI7jy2ZtNlxg4CPEPipxnfqSt7SyHWLRP57WvJHc%3D&x-oss-signature-version=OSS2": unexpected EOF
github.com/alist-org/alist/v3/internal/op.Put
	/source/internal/op/fs.go:360
github.com/alist-org/alist/v3/internal/fs.putDirectly
	/source/internal/fs/put.go:54
github.com/alist-org/alist/v3/internal/fs.PutDirectly
	/source/internal/fs/fs.go:84
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
	/source/server/webdav/webdav.go:307
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
	/source/server/webdav/webdav.go:59
github.com/alist-org/alist/v3/server.ServeWebDAV
	/source/server/webdav.go:44
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/alist-org/alist/v3/server.WebDAVAuth
	/source/server/webdav.go:93
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
	/source/server/middlewares/check.go:11
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:101
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:616
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:572
net/http.serverHandler.ServeHTTP
	/usr/local/go/src/net/http/server.go:2947
net/http.(*conn).serve
	/usr/local/go/src/net/http/server.go:1991
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1594 

Reproduction / 复现链接

Logs / 日志

No response

12189108 avatar Dec 01 '22 15:12 12189108

See

  1. 53% #886

github-actions[bot] avatar Dec 01 '22 15:12 github-actions[bot]

Hello, this issue has been inactive for more than 30 days and will be closed if inactive for another 30 days.

github-actions[bot] avatar Jan 01 '23 00:01 github-actions[bot]

Hello @, this issue was closed due to inactive more than 60 days. You can reopen or recreate it if you think it should continue.

github-actions[bot] avatar Feb 01 '23 00:02 github-actions[bot]