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

关于调用biliup模块上传偶尔出错 #610

Open
WANGCHUANdeLianyi opened this issue Aug 12, 2023 · 2 comments
Open

关于调用biliup模块上传偶尔出错 #610

WANGCHUANdeLianyi opened this issue Aug 12, 2023 · 2 comments

Comments

@WANGCHUANdeLianyi
Copy link

我通过python调用biliup模块上传
这里是出错信息:
2023-08-13 01:41:55_os: upos
Traceback (most recent call last):
File "requests\models.py", line 971, in json
File "json_init_.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "upload.py", line 212, in main
File "biliup\plugins\bili_webup.py", line 413, in upload_file
File "asyncio\runners.py", line 190, in run
File "asyncio\runners.py", line 118, in run
File "asyncio\base_events.py", line 653, in run_until_complete
File "biliup\plugins\bili_webup.py", line 540, in upos
File "requests\models.py", line 975, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
出现在部分文件上传结束(分P结束但整个投稿还在上传),概率出现,大多是时候是可以正常上传的。
线路选择的是ws,网络所在地是德国(AUTO选择的qn速度非常慢所以手动选择了ws,gcs线路经常报错偶尔能用)
还请作者看一下是什么问题,我是萌新小白不太懂,是bug还是网络原因?

@WANGCHUANdeLianyi
Copy link
Author

补充一下新的报错:
使用持久化内容上传
使用cookies上传
2023-08-17 03:00:36_线路选择 => upos: upcdn=ws&probe_version=20221109. time: None
2023-08-17 03:00:36_os: upos
2023-08-17 03:00:37_Assigned UpOS endpoint //upos-cs-upcdnqnhk.bilivideo.com was never seen before, something else might have changed, so will not modify it
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 467, in _make_request
File "urllib3\connectionpool.py", line 1092, in validate_conn
File "urllib3\connection.py", line 642, in connect
File "urllib3\connection.py", line 783, in ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl
.py", line 469, in ssl_wrap_socket
File "urllib3\util\ssl
.py", line 513, in _ssl_wrap_socket_impl
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1075, in _create
File "ssl.py", line 1346, in do_handshake
TimeoutError: _ssl.c:985: The handshake operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "requests\adapters.py", line 486, in send
File "urllib3\connectionpool.py", line 844, in urlopen
File "urllib3\util\retry.py", line 470, in increment
File "urllib3\util\util.py", line 39, in reraise
File "urllib3\connectionpool.py", line 790, in urlopen
File "urllib3\connectionpool.py", line 491, in _make_request
File "urllib3\connectionpool.py", line 469, in _make_request
File "urllib3\connectionpool.py", line 370, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='upos-cs-upcdnqnhk.bilivideo.com', port=443): Read timed out. (read timeout=15)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "upload.py", line 218, in main
File "biliup\plugins\bili_webup.py", line 413, in upload_file
File "asyncio\runners.py", line 190, in run
File "asyncio\runners.py", line 118, in run
File "asyncio\base_events.py", line 653, in run_until_complete
File "biliup\plugins\bili_webup.py", line 539, in upos
File "requests\sessions.py", line 637, in post
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 532, in send
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='upos-cs-upcdnqnhk.bilivideo.com', port=443): Read timed out. (read timeout=15)

@z0z0r4
Copy link

z0z0r4 commented Oct 22, 2023

qnhk 已经废了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants