Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

123网盘,上传问题依旧 #4046

Closed
4 tasks done
hais1992 opened this issue Apr 5, 2023 · 16 comments
Closed
4 tasks done

123网盘,上传问题依旧 #4046

hais1992 opened this issue Apr 5, 2023 · 16 comments
Labels
bug Something isn't working question Further information is requested

Comments

@hais1992
Copy link

hais1992 commented Apr 5, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

action的3a311a4版本

Driver used / 使用的存储驱动

123pan

Describe the bug / 问题描述

之前已反馈过:#4038 (comment)

issues关闭后前往底部下载alist:https://github.com/alist-org/alist/actions/runs/4606013158

测试后问题依旧。

详细问题是,使用put请求添加Authorization、File-Path到head 发送文件流至 /api/fs/put

得到的响应是: {"code":500,"message":"InvalidArgument: \n\tstatus code: 400, request id: tx0000000000000000cc216-00642cfedb-19207d-zone, host id: ","data":null}

Reproduction / 复现链接

以往的上传一直没问题,直到昨天突然失效。

Logs / 日志

No response

@hais1992 hais1992 added the bug Something isn't working label Apr 5, 2023
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

See

  1. 50% 百度网盘上传问题 #3242

@zyif2012
Copy link

zyif2012 commented Apr 5, 2023

image
123pan 上传失败

@anwen-anyi
Copy link
Contributor

你用最新测试版测试了吗 3.15.0版本的123API改过了

@dhfsqxz
Copy link

dhfsqxz commented Apr 6, 2023

同发现此问题
版本 3.15.0

@pei55
Copy link

pei55 commented Apr 6, 2023

image
3.15.0上传报错,尝试了stream和form
该测试不是直接下载的编译版本,是我下载的源代码,本地编译以后测试的,已经使用了123的最新代码

@xhofe
Copy link
Collaborator

xhofe commented Apr 6, 2023

未能复现?
image

@xhofe xhofe added the question Further information is requested label Apr 6, 2023
@github-actions
Copy link

github-actions bot commented Apr 6, 2023

Hello @hais1992, please input issue by template and add detail. Issues labeled by question will be closed if no activities in 7 days.
你好 @hais1992,请按照issue模板填写, 并详细说明问题/日志记录/复现步骤/复现链接/实现思路或提供更多信息等, 7天内未回复issue自动关闭。

@12189108
Copy link

12189108 commented Apr 7, 2023

ERRO[2023-04-07 09:02:13] failed put /123云盘/Intel Unison/: InvalidArgument:
        status code: 400, request id: tx000000000000001daab27-00642f6b95-19207d-zone, host id:
github.com/alist-org/alist/v3/internal/op.Put
        /source/internal/op/fs.go:569
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:93
github.com/alist-org/alist/v3/server/handles.FsStream
        /source/server/handles/fsup.go:49
github.com/gin-gonic/gin.(*Context).Next
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/context.go:174
github.com/alist-org/alist/v3/server/middlewares.FsUp
        /source/server/middlewares/fsup.go:43
github.com/gin-gonic/gin.(*Context).Next
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/context.go:174
github.com/alist-org/alist/v3/server/middlewares.Auth
        /source/server/middlewares/auth.go:67
github.com/gin-gonic/gin.(*Context).Next
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/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.0/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/context.go:174
github.com/gin-gonic/gin.LoggerWithConfig.func1
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/gin.go:620
github.com/gin-gonic/gin.(*Engine).ServeHTTP
        /go/pkg/mod/github.com/gin-gonic/gin@v1.9.0/gin.go:576
net/http.serverHandler.ServeHTTP
        /usr/local/go/src/net/http/server.go:2936
net/http.(*conn).serve
        /usr/local/go/src/net/http/server.go:1995
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1598
[GIN] 2023/04/07 - 09:02:13 | 200 |  1.157090745s |    173.82.209.6 | PUT      "/api/fs/put"

3.15.1 同样的问题
Screenshot_20230407_090132

@cgapk123
Copy link

cgapk123 commented Apr 7, 2023

的确,离线下载上传永远报错,更新到最新版在主界面上传正常了,但离线下载上传的接口应该没有改正

InvalidArgument: status code: 400, request id: tx000000000000001d8df38-00642f6793-19207d-zone, host id:

@xhofe
Copy link
Collaborator

xhofe commented Apr 8, 2023

的确,离线下载上传永远报错,更新到最新版在主界面上传正常了,但离线下载上传的接口应该没有改正

InvalidArgument: status code: 400, request id: tx000000000000001d8df38-00642f6793-19207d-zone, host id:

离线下载和主界面上传都是同一个上传接口。

@cgapk123
Copy link

cgapk123 commented Apr 8, 2023

的确,离线下载上传永远报错,更新到最新版在主界面上传正常了,但离线下载上传的接口应该没有改正
InvalidArgument: status code: 400, request id: tx000000000000001d8df38-00642f6793-19207d-zone, host id:

离线下载和主界面上传都是同一个上传接口。

但是离线下载是的确无法上传,永远报错:InvalidArgument: status code: 400, request id: tx000000000000002f1f7f3-006430d8a3-19207d-zone, host id:

步骤:打开123 网盘界面,然后点击上传,这种上传是可以正常上传成功的,但是在此界面点击离线下载后是无法上传成功,在后台可以查看到离线任务下载完成后转存过程中一秒就报错了,提示的上面错误代码》

QQ截图20230408110029

@xhofe
Copy link
Collaborator

xhofe commented Apr 8, 2023

未能复现? image

复现方法是在挂载的文件夹的子文件夹里上传,如果是根目录就可以正常上传

截图中就是在子文件夹上传的。

@dhfsqxz
Copy link

dhfsqxz commented Apr 10, 2023

根据本地尝试
可能是文件大小引起的?
离线下载的文件一般较大
或者可以尝试一下直接离线下载一个大于4g的文件
就能看到报错

@cgapk123
Copy link

我尝试离线下载上传一个7GB文件,在打开123 网盘储存界面后选择离线下载,后台还是现实下载完成后在转存的时候直接报错:InvalidArgument: status code: 400, request id: tx00000000000000654eac4-006434b0ab-18c3fb-zone, host id:

这在之前123 网盘上是没有出现过的问题,只从官方换了api 接口后就不行了。

@haoyongbo
Copy link

与文件大小无关,我上传的只有十几K的文件,依然报错
1681268961664

@cgapk123
Copy link

与文件大小无关,我上传的只有十几K的文件,依然报错 1681268961664

是的,我也一样,只要离线转存,全部是报这个代码错误,但所有人好像都找不到问题所在,五天了都没有解决

@xhofe xhofe closed this as completed in fdcad9c Apr 12, 2023
@xhofe xhofe mentioned this issue Apr 13, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

9 participants