#1529 requests.exceptions.ProxyError: HTTPSConnectionPool(host='dashscope.aliyuncs.com', port=443): Max retries exceeded with

116.168* Posted at: 1 day ago 👁12

代理设置不正确或代理不可用,请检查代理或关闭代理并删掉代理文本框中所填内容: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='dashscope.aliyuncs.com', port=443): Max retries exceeded with url: /api/v1/services/aigc/text-generation/generation (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\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 863, in run
File "videotrans\translator\_base.py", line 78, in run
File "videotrans\translator\_base.py", line 97, in _run_text
File "videotrans\translator\_qwenmt.py", line 54, in _item_task
File "dashscope\aigc\generation.py", line 140, in call
File "dashscope\client\base_api.py", line 148, in call
File "dashscope\api_entities\http_request.py", line 101, in call
File "dashscope\api_entities\http_request.py", line 330, in _handle_request
File "dashscope\api_entities\http_request.py", line 313, in _handle_request
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 671, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='dashscope.aliyuncs.com', port=443): Max retries exceeded with url: /api/v1/services/aigc/text-generation/generation (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))


=
system:Windows-10-10.0.26100-SP0
version:v3.85
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.83

1 Replies

错误信息显示代理设置不正确或代理服务器不可用。软件无法通过您设置的代理连接到阿里云百炼服务 (dashscope.aliyuncs.com)。

请按以下步骤解决:

  1. 检查代理地址和端口:确保您在软件主界面第5行“网络代理”中填写的地址和端口完全正确,格式应为 http://代理IP:端口https://代理IP:端口
  2. 验证代理服务:确认您的代理服务正在运行且可以正常访问互联网。
  3. 临时解决方案

    • 如果代理不稳定,请清空主界面第5行“网络代理”文本框中的内容
    • 或者直接关闭代理软件,使用直连网络
  4. 如果必须使用代理

    • 检查代理是否支持 HTTPS 连接
    • 确认代理没有对 dashscope.aliyuncs.com 域名进行限制
    • 尝试更换其他代理服务器

错误代码 WinError 10061 表示目标计算机(代理服务器)明确拒绝了连接请求,通常是代理服务未启动或配置错误导致的。

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions