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

上传速度突然变慢/8.19彻底无法上传 #119

Open
fedstryale opened this issue Aug 18, 2023 · 8 comments
Open

上传速度突然变慢/8.19彻底无法上传 #119

fedstryale opened this issue Aug 18, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@fedstryale
Copy link

fedstryale commented Aug 18, 2023

SVIP用户,一直以来用得很好,上传速度能5m以上,昨天开始上传速度变成50k以下了,用客户端上传速度正常,我看域名客户端上传已经不是用的pcs.baidu.com了,而这个地址现在很慢,不知道是不是这个原因

8.19
今天彻底无法上传了,debug的错误:

2023-08-19 11:13:36,874 | DEBUG | upload: `_init_encrypt_io`: encrypt_type: EncryptType.No, localpath: /mnt/borg/data/10/10336, remotepath: /apps/borg/data/10/10336, encrypt_io_len: 172968630                                              
2023-08-19 11:13:37,220 | DEBUG | upload: `_rapid_upload`: rapid_upload starts                                                  
2023-08-19 11:13:37,282 | WARNING | upload: `_rapid_upload`: rapid_upload fails                                                 
2023-08-19 11:13:37,282 | WARNING | upload: `_rapid_upload`: unknown error: error_code: 31023, message: 输入参数错误            
2023-08-19 11:13:37,282 | WARNING | upload: `upload_file_concurrently`: fails: error: error_code: 31023, message: 输入参数错误, fail_count: 22
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/baidupcs_py/common/concurrent.py", line 25, in retry_it
    r = func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/baidupcs_py/commands/upload.py", line 427, in upload_file_concurrently
    ok = _rapid_upload(
  File "/usr/local/lib/python3.10/dist-packages/baidupcs_py/commands/upload.py", line 297, in _rapid_upload
    raise err
  File "/usr/local/lib/python3.10/dist-packages/baidupcs_py/commands/upload.py", line 257, in _rapid_upload
    api.rapid_upload_file(
  File "/usr/local/lib/python3.10/dist-packages/baidupcs_py/baidupcs/api.py", line 168, in rapid_upload_file
   info = self._baidupcs.rapid_upload_file(
  File "/usr/local/lib/python3.10/dist-packages/baidupcs_py/baidupcs/errors.py", line 152, in check
    raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31023, message: 输入参数错误
@fedstryale fedstryale changed the title 上传速度突然变慢 上传速度突然变慢/8.19彻底无法上传 Aug 19, 2023
@Ted-bug
Copy link

Ted-bug commented Aug 28, 2023

可能是秒传的问题,完全失效了,我用的是其他的工具

@PeterDing PeterDing added the bug Something isn't working label Aug 28, 2023
@PeterDing
Copy link
Owner

https://pcs.baidu.com/rest/2.0/pcs/file 似乎不再支持 rapidupload (秒传) 了。

有朋友知道是接口更新了吗? 我在 https://pan.baidu.com/union/doc/3ksg0s9ye 没找到 rapidupload 接口。

@Ted-bug
Copy link

Ted-bug commented Aug 29, 2023

https://pcs.baidu.com/rest/2.0/pcs/file 似乎不再支持 rapidupload (秒传) 了。

有朋友知道是接口更新了吗? 我在 https://pan.baidu.com/union/doc/3ksg0s9ye 没找到 rapidupload 接口。

在其他地方说是:百度对接口做了修改了,原理上第三方无法秒穿了

@xiatian12345
Copy link

确实,大概半个月前就没法传了。。。。

@XuYipei
Copy link

XuYipei commented Sep 6, 2023

请问现在还可以使用命令行上传吗?

@Ted-bug
Copy link

Ted-bug commented Sep 6, 2023

请问现在还可以使用命令行上传吗?

可以的

@Ted-bug
Copy link

Ted-bug commented Sep 7, 2023

https://pcs.baidu.com/rest/2.0/pcs/file 似乎不再支持 rapidupload (秒传) 了。

有朋友知道是接口更新了吗? 我在 https://pan.baidu.com/union/doc/3ksg0s9ye 没找到 rapidupload 接口。

似乎有途径恢复了: qjfoidnh/BaiduPCS-Go#290

@frankcui95
Copy link

在docker里面跑
现在进度条一闪而过,没有网络传输
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants