#5078 requests.exceptions.ProxyError: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with ur

209.9* Posted at: 6 days ago

代理设置不正确或代理不可用,请检查代理或关闭代理并删掉代理文本框中所填内容
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 85, in create_connection
File "urllib3\util\connection.py", line 73, in create_connection
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 773, in urlopen
File "urllib3\connectionpool.py", line 1042, in _prepare_proxy
File "urllib3\connection.py", line 753, in connect
File "urllib3\connection.py", line 213, in _new_conn
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

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='translate.google.com', port=443): Max retries exceeded with url: /m?sl=en&tl=zh-cn&hl=zh-cn&q=Hello%20Boss!%0AThis%20is%20our%2045%20cubic%20meter%20oil%20tank%20semi%20-trailer.%0AThis%20tanker%20is%20designed%20with%20five%0Aseparate%20compartments%20in%20total,%20allowing%20you%20to%20transport%20different%20liquids%20at%20the%20same%20time.%0AIt%20comes%20standard%20with%20three%20-axle%20air%20suspension%20and%20liftable%20front%20axle,%0Astable,%0Asafe,%20and%20durable. (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 65, in run
File "videotrans\task\trans_create.py", line 658, in trans
File "videotrans\translator\__init__.py", line 936, in run
File "videotrans\translator\_base.py", line 98, in run
File "videotrans\translator\_base.py", line 119, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_google.py", line 39, in _item_task
File "requests\api.py", line 73, in get
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 671, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: /m?sl=en&tl=zh-cn&hl=zh-cn&q=Hello%20Boss!%0AThis%20is%20our%2045%20cubic%20meter%20oil%20tank%20semi%20-trailer.%0AThis%20tanker%20is%20designed%20with%20five%0Aseparate%20compartments%20in%20total,%20allowing%20you%20to%20transport%20different%20liquids%20at%20the%20same%20time.%0AIt%20comes%20standard%20with%20three%20-axle%20air%20suspension%20and%20liftable%20front%20axle,%0Astable,%0Asafe,%20and%20durable. (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))


=
system:Windows-10-10.0.19041-SP0
version:v3.98
frozen:True
language:zh
root_dir:D:/abw

1 Replies

代理设置错误或代理服务未运行。日志显示软件尝试通过代理连接 translate.google.com,但代理服务器拒绝了连接(WinError 10061),说明代理地址填写了但代理服务没启动,或地址格式不正确。

解决方法:

  1. 停止使用代理:在主界面的“网络代理地址”文本框中,将内容清空(不留任何字符),然后重新开始任务。
  2. 如果必须使用代理:请确认代理软件已打开并正常运行,并在文本框中填入正确的代理地址,格式如 http://127.0.0.1:7890(端口号请根据你代理客户端的实际设置填写)。
  3. 换用无需代理的翻译渠道:Google翻译在国内无法直接访问。如果你没有代理,请在翻译渠道中选择“微软翻译”(免费,无需代理)或百度/腾讯翻译等国内服务。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update. Dondate: ko-fi.com/jianchang512

Related resource

Similar issues already exist