alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
42.44k stars 5.49k forks source link

中国移动云盘新个人云无法上传大文件 #6593

Closed CirnoSalt closed 1 month ago

CirnoSalt commented 3 months ago

Please make sure of the following things

AList Version / AList 版本

3.35.0

Driver used / 使用的存储驱动

中国移动云盘

Describe the bug / 问题描述

最近我的移动云盘账号被迁移到了“新个人盘”,在Alist挂载设置里将类型改为"新的个人盘"选项之后上传功能便无法使用了,使用WinSCP上传小文件正常,但上传大文件时进度会快速跳到100%然后报Could not read status line: connection timed out错误,使用CyberDuck上传一样会快速跳到100%,报423 Locked错误。

Reproduction / 复现链接

无,仅内网使用

Config / 配置

QQ截图20240608122209 QQ截图20240608122226 QQ截图20240608121039 QQ截图20240608121019

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "FNmnt2t5h0DFFADu",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data\\data.db",
    "table_prefix": "x_",
    "ssl_mode": "",
    "dsn": ""
  },
  "meilisearch": {
    "host": "http://localhost:7700",
    "api_key": "",
    "index_prefix": ""
  },
  "scheme": {
    "address": "0.0.0.0",
    "http_port": 5244,
    "https_port": -1,
    "force_https": false,
    "cert_file": "",
    "key_file": "",
    "unix_file": "",
    "unix_file_perm": ""
  },
  "temp_dir": "data\\temp",
  "bleve_dir": "data\\bleve",
  "dist_dir": "",
  "log": {
    "enable": true,
    "name": "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,
  "tasks": {
    "download": {
      "workers": 5,
      "max_retry": 1
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2
    },
    "upload": {
      "workers": 5,
      "max_retry": 0
    },
    "copy": {
      "workers": 5,
      "max_retry": 2
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  }
}

Logs / 日志

WARN[2024-06-08 12:13:45] not enable search                            
[GIN] 2024/06/08 - 12:13:52 | 207 |    536.0885ms |       127.0.0.1 | PROPFIND  "/dav/移动云盘/"
WARN[2024-06-08 12:14:07] failed get /移动云盘/Vampire.Survivors.v1.10.103.rar: object not found 
ERRO[2024-06-08 12:14:07] PROPFIND /dav/移动云盘/Vampire.Survivors.v1.10.103.rar object not found
github.com/alist-org/alist/v3/internal/op.Get
    /source/internal/op/fs.go:229
github.com/alist-org/alist/v3/internal/fs.get
    /source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
    /source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
    /source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
    /source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
    /source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/alist-org/alist/v3/server.WebDAVAuth
    /source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
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.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.LoggerWithConfig.func1
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620
github.com/gin-gonic/gin.(*Engine).ServeHTTP
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576
net/http.serverHandler.ServeHTTP
    /usr/local/go/src/net/http/server.go:3137
net/http.(*conn).serve
    /usr/local/go/src/net/http/server.go:2039
runtime.goexit
    /usr/local/go/src/runtime/asm_amd64.s:1695 
[GIN] 2024/06/08 - 12:14:07 | 404 |       270.9µs |       127.0.0.1 | PROPFIND  "/dav/移动云盘/Vampire.Survivors.v1.10.103.rar"
ERRO[2024-06-08 12:14:22] failed put /移动云盘: Put "https://b22-obs-ykj-01.obs.cidc-rp-2006.joint.cmecloud.cn/cfe7005117034ff2869c6fc1124f3a7f086?partNumber=1&uploadId=0000018FF60D9F270005EA10244ACC4E&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240608T041348Z&X-Amz-SignedHeaders=content-length%3Bhost&X-Amz-Expires=7200&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20240608%2Fcidc-rp-2006%2Fs3%2Faws4_request&X-Amz-Signature=bcd3dd9a7d8471ae71601bb0c349eda09593dd4f7e225825e508ecab821a360a": context canceled
github.com/alist-org/alist/v3/internal/op.Put
    /source/internal/op/fs.go:580
github.com/alist-org/alist/v3/internal/fs.putDirectly
    /source/internal/fs/put.go:70
github.com/alist-org/alist/v3/internal/fs.PutDirectly
    /source/internal/fs/fs.go:97
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
    /source/server/webdav/webdav.go:345
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
    /source/server/webdav/webdav.go:66
github.com/alist-org/alist/v3/server.ServeWebDAV
    /source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/alist-org/alist/v3/server.WebDAVAuth
    /source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
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.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.LoggerWithConfig.func1
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620
github.com/gin-gonic/gin.(*Engine).ServeHTTP
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576
net/http.serverHandler.ServeHTTP
    /usr/local/go/src/net/http/server.go:3137
net/http.(*conn).serve
    /usr/local/go/src/net/http/server.go:2039
runtime.goexit
    /usr/local/go/src/runtime/asm_amd64.s:1695 
ERRO[2024-06-08 12:14:22] PUT /dav/移动云盘/Vampire.Survivors.v1.10.103.rar Put "https://b22-obs-ykj-01.obs.cidc-rp-2006.joint.cmecloud.cn/cfe7005117034ff2869c6fc1124f3a7f086?partNumber=1&uploadId=0000018FF60D9F270005EA10244ACC4E&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240608T041348Z&X-Amz-SignedHeaders=content-length%3Bhost&X-Amz-Expires=7200&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20240608%2Fcidc-rp-2006%2Fs3%2Faws4_request&X-Amz-Signature=bcd3dd9a7d8471ae71601bb0c349eda09593dd4f7e225825e508ecab821a360a": context canceled
github.com/alist-org/alist/v3/internal/op.Put
    /source/internal/op/fs.go:580
github.com/alist-org/alist/v3/internal/fs.putDirectly
    /source/internal/fs/put.go:70
github.com/alist-org/alist/v3/internal/fs.PutDirectly
    /source/internal/fs/fs.go:97
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePut
    /source/server/webdav/webdav.go:345
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
    /source/server/webdav/webdav.go:66
github.com/alist-org/alist/v3/server.ServeWebDAV
    /source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/alist-org/alist/v3/server.WebDAVAuth
    /source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
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.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.LoggerWithConfig.func1
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620
github.com/gin-gonic/gin.(*Engine).ServeHTTP
    /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576
net/http.serverHandler.ServeHTTP
    /usr/local/go/src/net/http/server.go:3137
net/http.(*conn).serve
    /usr/local/go/src/net/http/server.go:2039
runtime.goexit
    /usr/local/go/src/runtime/asm_amd64.s:1695 
[GIN] 2024/06/08 - 12:14:22 | 405 |   15.4953074s |       127.0.0.1 | PUT      "/dav/移动云盘/Vampire.Survivors.v1.10.103.rar"
[GIN] 2024/06/08 - 12:14:31 | 207 |       131.2µs |       127.0.0.1 | PROPFIND  "/dav/移动云盘/"
welcome[bot] commented 3 months ago

Thanks for opening your first issue here! Be sure to follow the issue template!

j2rong4cn commented 3 months ago

中国移动云盘有上传大小限制,普通会员4G、白银8G、黄金20G

CirnoSalt commented 3 months ago

中国移动云盘有上传大小限制,普通会员4G、白银8G、黄金20G

测试文件大小600MB没有超过上限一样会失败,并且使用的账号也是会员账号。

pongfcnkl commented 3 months ago

不要直接上传,挂本地存储,然后网页上复制呢? 截图_20240608211859

CirnoSalt commented 3 months ago

不要直接上传,挂本地存储,然后网页上复制呢? 截图_20240608211859

挂载本地存储在网页版复制上传没问题,但是例如Duplicati一类支持webdav的备份工具是直接上传的,我有使用这些工具备份的需求无法实现了……

pongfcnkl commented 3 months ago

不要直接上传,挂本地存储,然后网页上复制呢? 截图_20240608211859

挂载本地存储在网页版复制上传没问题,但是例如Duplicati一类支持webdav的备份工具是直接上传的,我有使用这些工具备份的需求无法实现了……

不要直接上传,挂本地存储,然后网页上复制呢? 截图_20240608211859

挂载本地存储在网页版复制上传没问题,但是例如Duplicati一类支持webdav的备份工具是直接上传的,我有使用这些工具备份的需求无法实现了……

可以用rclone 加计划任务实现备份,rclone用相同名称即可 比如rclone alist:/本地存储 alist:/139 相当于网页上的复制

Jiayou-Chao commented 3 months ago

如果用的是rclone和webdav并且报错总是在下载5分钟以后的话可以试着加上这个--timeout 0 --contimeout 0, 这是因为alist要先下载完整文件再上传,这个过程在下载5分钟后如果上传还未完成会被rclone认为是网络超时。

SnowInHokkaido commented 3 months ago

139云盘,走的webdav, 通过cloud sync同步。 超过500M的大文件,基本在5mins后报错,context canceld。因为是钻石会员,不存在限制, 感觉像是客户端主动关闭了连接,但不知道是alist关闭的还是cloud sync关闭的,正在排查

pongfcnkl commented 3 months ago

139云盘,走的webdav, 通过cloud sync同步。 超过500M的大文件,基本在5mins后报错,context canceld。因为是钻石会员,不存在限制, 感觉像是客户端主动关闭了连接,但不知道是alist关闭的还是cloud sync关闭的,正在排查

建议去网页端复制上传

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 month ago

Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.