houtianze / bypy

Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘Python客户端
MIT License
7.89k stars 1.4k forks source link

每次上传要报错一次,不知道有没有影响 #683

Open qazgp opened 6 months ago

qazgp commented 6 months ago

Saving Hash Cache... Hash Cache saved.

[17:22:53] Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file' [17:22:53] Function: _rapidupload_file_act [17:22:53] Website parameters: {u'slice-md5': '07987741154b5329c5ca537d18796442', u'content-length': 2569011200, u'ondup': u'overwrite', u'content-md5': u'c910c1a4bob12d2a06304e3110624b4b', u'content-crc32': '0x2a307b74', u'path': u'/apps/bypy/\u5c0f\u5c24/\u5c0f\u5c24_2024-04-03_13-11-21.ts', u'method': u'rapidupload'} [17:22:53] Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?slice-md5=07987741154b5329c5ca537d18796442&access_token=121.441656adb7afac7f2c287848b4bb1a61.Y5TmDMRqzrleSZ_x9DcSMKSsdyipudUiY0E-S3D.N4Q-Eg&content-length=2569011200&ondup=overwrite&content-crc32=0x2a307b74&path=%2Fapps%2Fbypy%2F%E5%B0%8F%E5%B0%A4%2F%E5%B0%8F%E5%B0%A4_2024-04-03_13-11-21.ts&method=rapidupload&content-md5=c910c1a4bob12d2a06304e3110624b4b [17:22:53] HTTP Response Status Code: 400 [17:22:53] Error JSON returned:{u'error_code': 31023, u'error_msg': u'param error', u'request_id': 2173746092354703467} Error code: 31023 Error Description: param error [17:22:53] Website returned: {"error_code":31023,"error_msg":"param error","request_id":2173746092354703467}
houtianze commented 6 months ago

没有影响,这个是已知问题,之前百度这个秒传接口突然返回这个错误,也找不接口参数的新文档,所以一直无法解决,也就是秒传现在不能用了。如果谁知道新的秒传接口参数的话,告知一下我可以更新代码。

On Wed, Apr 3, 2024 at 5:29 PM Pan @.***> wrote:

Saving Hash Cache... Hash Cache saved. [17:22:53] Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file' [17:22:53] Function: _rapidupload_file_act [17:22:53] Website parameters: {u'slice-md5': '07987741154b5329c5ca537d18796442', u'content-length': 2569011200, u'ondup': u'overwrite', u'content-md5': u'c910c1a4bob12d2a06304e3110624b4b', u'content-crc32': '0x2a307b74', u'path': u'/apps/bypy/\u5c0f\u5c24/\u5c0f\u5c24_2024-04-03_13-11-21.ts', u'method': u'rapidupload'} [17:22:53] Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?slice-md5=07987741154b5329c5ca537d18796442&access_token=121.441656adb7afac7f2c287848b4bb1a61.Y5TmDMRqzrleSZ_x9DcSMKSsdyipudUiY0E-S3D.N4Q-Eg&content-length=2569011200&ondup=overwrite&content-crc32=0x2a307b74&path=%2Fapps%2Fbypy%2F%E5%B0%8F%E5%B0%A4%2F%E5%B0%8F%E5%B0%A4_2024-04-03_13-11-21.ts&method=rapidupload&content-md5=c910c1a4bob12d2a06304e3110624b4b [17:22:53] HTTP Response Status Code: 400 [17:22:53] Error JSON returned:{u'error_code': 31023, u'error_msg': u'param error', u'request_id': 2173746092354703467} Error code: 31023 Error Description: param error [17:22:53] Website returned: {"error_code":31023,"error_msg":"param error","request_id":2173746092354703467}

— Reply to this email directly, view it on GitHub https://github.com/houtianze/bypy/issues/683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYFZXJD2U7FKQ7UVYYJR3Y3PDXJAVCNFSM6AAAAABFU5ZIJ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDENBQGEZDQMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mexiaoqian commented 5 months ago

我也遇到这个问题,目前 syncup 都报错。请问有解决方案么?

houtianze commented 5 months ago

暂时没有,不知道百度把接口改成啥样了。。现在每个文件应该只试着秒传一次,错误可以忽略。