多次重试连接失败,服务可能暂时不可用:
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 60, in create_connection
File "socket.py", line 967, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 488, in _make_request
File "urllib3\connectionpool.py", line 464, in _make_request
File "urllib3\connectionpool.py", line 1093, in _validate_conn
File "urllib3\connection.py", line 753, in connect
File "urllib3\connection.py", line 205, in _new_conn
urllib3.exceptions.NameResolutionError: : Failed to resolve 'mp.api.speechmatics.com' ([Errno 11001] getaddrinfo failed)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mp.api.speechmatics.com', port=443): Max retries exceeded with url: /v1/api-keys?sk=O8jLx7WCUs6I2j1V3LLKlrhhXN67dkIE (Caused by NameResolutionError(": Failed to resolve 'mp.api.speechmatics.com' ([Errno 11001] getaddrinfo failed)"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 18, in run
File "videotrans\recognition\__init__.py", line 206, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_recognapi.py", line 66, in _exec
File "requests\api.py", line 115, in post
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 677, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='mp.api.speechmatics.com', port=443): Max retries exceeded with url: /v1/api-keys?sk=O8jLx7WCUs6I2j1V3LLKlrhhXN67dkIE (Caused by NameResolutionError(": Failed to resolve 'mp.api.speechmatics.com' ([Errno 11001] getaddrinfo failed)"))
=
system:Windows-10-10.0.22631-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.07