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

2409:8918* Posted at: 3 hours ago 👁11

代理设置不正确或代理不可用,请检查代理或关闭代理并删掉代理文本框中所填内容
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=You%20know%20what%20time%20it%20is%0AIt's%20the%20slut%20slide%0ALet%20me%20hear%20the%20fellas%0ALet%20me%20hear%20the%20ladies%0AEverybody%0AFollow%20my%20lead%0ASlide%20to%20the%20fucking%20right%0ANow%20slap%20your%20ass%0ASlap%20your%20ass%0ASlap%20your%20ass (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=You%20know%20what%20time%20it%20is%0AIt's%20the%20slut%20slide%0ALet%20me%20hear%20the%20fellas%0ALet%20me%20hear%20the%20ladies%0AEverybody%0AFollow%20my%20lead%0ASlide%20to%20the%20fucking%20right%0ANow%20slap%20your%20ass%0ASlap%20your%20ass%0ASlap%20your%20ass (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:X:/52682

1 Replies

这是由于网络代理设置错误或代理服务未启动导致的。错误信息显示软件尝试通过代理连接 Google 翻译服务,但代理服务器(目标计算机)拒绝了连接。

解决方案:

  1. 检查您的代理服务(如 VPN 或代理客户端)是否已正确启动并运行。
  2. 如果您没有可用的代理服务,或者代理服务已关闭,请清空软件主界面“网络代理地址”文本框中的内容。
  3. 如果您有可用的代理服务,请确认其地址和端口号,并确保在“网络代理地址”文本框中填写的格式正确,通常为 http://127.0.0.1:端口号http://代理IP:端口号
  4. 完成修改后,重新尝试翻译任务。

请查阅相关文档:

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.

Related resource

Similar issues already exist