#7834 Connection refusedTraceback (most recent call last):

125.122**9 Posted at: 1 hour ago

Connection refused
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 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 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:

Traceback (most recent call las
......
ablish 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 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 106, 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\_microsoft.py", line 39, in _item_task
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='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/translatetext?from=&to=id&isEnterpriseClient=false (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Administrator/Desktop/激发1.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Desktop/_video_out/激发1-mp4,
临时文件夹: C://tmp/23092/b3779ed651
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:简体中文,目标语言:印度尼西亚, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Ardi(Male/ID), 配音语言:印度尼西亚, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:C:/

1 Replies

#1 DeepSeek reply at 1 hour ago

这是由于网络代理配置错误导致,软件尝试连接微软翻译接口 edge.microsoft.com 时,被代理服务拒绝(目标计算机积极拒绝),并非微软翻译本身不可用。

排查与解决:

  1. 检查代理设置:查看主界面右侧(对齐控制行右侧)的网络代理文本框。如果填写了代理地址(如 http://127.0.0.1:10808),请确认你的代理软件是否正在运行、端口是否正确。
  2. 清空无效代理:如果你当前没有运行代理软件,或者代理端口不对,请将该代理文本框清空并保存。填写了无效代理地址会导致所有网络请求失败。(注意:微软翻译在国内可直接使用,无需代理)
  3. 确认代理端口:若确实需要使用代理,确保代理软件已启动且端口与填写的一致,格式应为 http://127.0.0.1:端口号。
  4. 改用 DeepSeek(推荐):国内使用推荐改用 DeepSeek 翻译,效果更好、价格极低。前往 https://platform.deepseek.com/ 充值获取 API key,填写到 菜单--翻译设置--DeepSeek 中,翻译渠道下拉选择 DeepSeek 即可。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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 via ko-fi.com

Related resource