#7142 Proxy configuration issue, check settings or disable proxy:{'text': 'こんにちは、親愛なる友よ。あなたの日々がいつも素晴らしく、楽しいものでありますように!', 'rate

183.221**8 Posted at: 53 minutes ago

Proxy configuration issue, check settings or disable proxy:
{'text': 'こんにちは、親愛なる友よ。あなたの日々がいつも素晴らしく、楽しいものでありますように!', 'rate': '+0%', 'role': 'Nanami(Female/JP)', 'filename': 'C:\Users\WIN10\AppData\Local\Temp/pyvideotrans/0-1788953515.4693363.wav', 'tts_type': 0, 'language': 'ja', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "aiohttp\connector.py", line 1248, in _wrap_create_connection
File "aiohappyeyeballs\impl.py", line 122, in start_connection
File "aiohappyeyeballs\impl.py", line 73, in start_connection
File "aiohappyeyeballs\impl.py", line 208, in _connect_sock
File "asyncio\selector_events.py", line 501, in sock_connect
File "asyncio\selector_events.py", line 541, in _sock_connect_cb
ConnectionRefusedError: [Errno 10061] Connect call failed ('127.0.0.1', 11304)

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

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 230, in run
File "videotrans\tts\_base.py", line 94, in run
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\tts\_edgetts.py", line 154, in _exec
File "edge_tts\communicate.py", line 590, in save
File "edge_tts\communicate.py", line 566, in stream
File "edge_tts\communicate.py", line 431, in __stream
File "aiohttp\client.py", line 1482, in aenter
File "aiohttp\client.py", line 1061, in _ws_connect
File "aiohttp\client.py", line 770, in _request
File "aiohttp\client.py", line 725, in _connect_and_send_request
File "aiohttp\connector.py", line 622, in connect
File "aiohttp\connector.py", line 1187, in _create_connection
File "aiohttp\connector.py", line 1586, in _create_proxy_connection
File "aiohttp\connector.py", line 1561, in _create_direct_connection
File "aiohttp\connector.py", line 1530, in _create_direct_connection
File "aiohttp\connector.py", line 1271, in _wrap_create_connection
aiohttp.client_exceptions.ClientProxyConnectionError: Cannot connect to host 127.0.0.1:11304 ssl: [Connect call failed ('127.0.0.1', 11304)]


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/翻译软件

1 Replies

#1 DeepSeek reply at 53 minutes ago

这是代理配置问题导致的。软件当前配置了代理 127.0.0.1:11304,但该代理服务未运行或端口错误,导致 Edge-TTS 无法连接。

解决方案:

  1. 清空代理设置

    • 在主界面「对齐控制(Alignment)」行的右侧,找到网络代理文本框
    • 将其内容彻底清空,然后保存
    • 如果代理已停止使用,必须清空,否则所有网络请求都会失败
  2. 强制 Edge-TTS 绕过代理(推荐)

    • 进入软件根目录 D:/翻译软件
    • 新建一个空文件,命名为 edgetts-noproxy.txt
    • 该文件存在时,Edge-TTS 将自动禁用代理并直接连接
  3. 检查代理服务

    • 如果你确实需要使用代理,请确认你已在 127.0.0.1:11304 端口成功运行了代理服务(如 v2ray、Clash 等),并且端口填写正确
    • 也请确认代理格式正确,应为 http://127.0.0.1:11304socks5://127.0.0.1:11304

如果以上操作后仍报错,请提供 logs/ 目录下最新的日志文件(复制底部约 30 行报错信息)以便进一步分析。

请查阅相关文档:

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