alist icon indicating copy to clipboard operation
alist copied to clipboard

复制文件到115网盘报错: upload failed

Open crtf1999 opened this issue 2 years ago • 27 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. 我确定没有重复的issue或讨论。

  • [X] I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational). 我确定是AList的问题,而不是其他原因(例如网络,依赖或操作)。

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

AList Version / AList 版本

v3.38.0

Driver used / 使用的存储驱动

115

Describe the bug / 问题描述

  • 版本
./alist version
Built At: 2024-10-11 17:03:33 +0000
Go Version: go1.22.4 linux/amd64
Author: Xhofe <[email protected]>
Commit ID: c3e43ff6
Version: v3.38.0
WebVersion: 3.38.0
  • 问题

alist 所在服务器的本地文件(100M以上)复制到115网盘报错: upload failed Snipaste_2024-10-25_13-55-59

但通过网页上传文件(100M以上)到115网盘是成功的 Snipaste_2024-10-25_13-56-45

Reproduction / 复现链接

详见描述

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "UrOws0KhRK6Q9MFY",
  "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": 50,
    "max_backups": 30,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 0,
  "tls_insecure_skip_verify": true,
  "tasks": {
    "download": {
      "workers": 5,
      "max_retry": 1,
      "task_persistant": true
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    },
    "upload": {
      "workers": 5,
      "max_retry": 0,
      "task_persistant": false
    },
    "copy": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  }
}

Logs / 日志

ERRO[2024-10-25 13:19:18] COPY /dav/local/live/biliup/upload/2024-10-25/星星星星星的工作室/星星星星星的工作室.2024-10-25 09_39_27.ing.flv upload failed
github.com/SheltonZhu/115driver/pkg/driver.init
	<autogenerated>:1
runtime.doInit1
	/home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:7176
runtime.doInit
	/home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:7143
runtime.main
	/home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:253
runtime.goexit
	/home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695
github.com/alist-org/alist/v3/internal/op.Put
	/home/runner/work/alist/alist/internal/op/fs.go:587
github.com/alist-org/alist/v3/internal/fs._copy
	/home/runner/work/alist/alist/internal/fs/copy.go:91
github.com/alist-org/alist/v3/internal/fs.Copy
	/home/runner/work/alist/alist/internal/fs/fs.go:73
github.com/alist-org/alist/v3/server/webdav.copyFiles
	/home/runner/work/alist/alist/server/webdav/file.go:59
github.com/alist-org/alist/v3/server/webdav.(*Handler).handleCopyMove
	/home/runner/work/alist/alist/server/webdav/webdav.go:477
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
	/home/runner/work/alist/alist/server/webdav/webdav.go:70
github.com/alist-org/alist/v3/server.ServeWebDAV
	/home/runner/work/alist/alist/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
	/home/runner/work/alist/alist/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
	/home/runner/work/alist/alist/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589
net/http.serverHandler.ServeHTTP
	/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3137
net/http.(*conn).serve
	/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2039
runtime.goexit
	/home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695 
[GIN] 2024/10/25 - 13:19:18 | 500 | 39.043209803s |       127.0.0.1 | COPY     "/dav/local/live/biliup/upload/2024-10-25/星星星星星的工作室/星星星星星的工作室.2024-10-25 09_39_27.ing.flv"

crtf1999 avatar Oct 25 '24 06:10 crtf1999

+1,上传5m的zip都不行

wixb50 avatar Oct 25 '24 06:10 wixb50

+1 准确地说,是秒传还可以用,但全新完整地上传是报错的,就是提示"Upload failed"

KeithW0726 avatar Oct 25 '24 07:10 KeithW0726

+1 准确地说,是秒传还可以用,但全新完整地上传是报错的,就是提示“Upload failed”

是的,现在我网页上传一个未上传过的文件报:

{"StatusCode":"400","ErrorCode":"400","ErrorMessage":"Throttling.User"}: unexpected error

crtf1999 avatar Oct 25 '24 07:10 crtf1999

+1

Katou-Kouseki avatar Oct 25 '24 07:10 Katou-Kouseki

上传文件报错:{"StatusCode":"400","ErrorCode":"400","ErrorMessage":"Throttling.User"}: unexpected error

sun3u avatar Oct 25 '24 09:10 sun3u

+1

sln162 avatar Oct 25 '24 09:10 sln162

+1

VanTzz avatar Oct 25 '24 12:10 VanTzz

can't obtain oss token from here https://uplb.115.com/3.0/gettoken.php which gives {"StatusCode":"400","ErrorCode":"400","ErrorMessage":"Throttling.User"}

wiserain avatar Oct 25 '24 15:10 wiserain

+1 准确地说,是秒传还可以用,但全新完整地上传是报错的,就是提示“Upload failed”

是的,现在我网页上传一个未上传过的文件报:

{"StatusCode":"400","ErrorCode":"400","ErrorMessage":"Throttling.User"}: unexpected error

确实是这样,upload failed 和 400 Throttling.User 交替出现

ImproveRei0 avatar Oct 25 '24 16:10 ImproveRei0

+1

pengs361 avatar Oct 25 '24 23:10 pengs361

关注中

tlzwss avatar Oct 26 '24 01:10 tlzwss

+1

gZDJCVcH avatar Oct 26 '24 01:10 gZDJCVcH

是的, 最近突然出现的问题

ICT-Pr1nce avatar Oct 26 '24 06:10 ICT-Pr1nce

同样的问题,期待修复,感谢

Yortl avatar Oct 26 '24 09:10 Yortl

115调整接口了,期待大佬修复

blu-jeans avatar Oct 26 '24 13:10 blu-jeans

期待大佬早日修复解决 非常感谢

cnpilot avatar Oct 27 '24 00:10 cnpilot

+1,希望尽快修复

yumengbai avatar Oct 27 '24 03:10 yumengbai

mark

jiemo9527 avatar Oct 27 '24 05:10 jiemo9527

相同问题,期待修复

a15355447898a avatar Oct 27 '24 08:10 a15355447898a

+1 相同问题,期待修复

yxyxyz6 avatar Oct 27 '24 14:10 yxyxyz6