#7900 Proxy configuration issue, check settings or disable proxy:{'text': 'Hello, my dear friend, I hope every day of yours is

58.218**0 Posted at: 1 hour ago

Proxy configuration issue, check settings or disable proxy:
{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate': '+0%', 'role': 'Sonia(Female/GB)', 'filename': 'C:\Users\ADMINI~1\AppData\Local\Temp/pyvideotrans/0-1791510736.2995381.wav', 'tts_type': 0, 'language': 'en', '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', 2802)

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 122, in run
File "videotrans\tts\_base.py", line 95, 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 161, 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:2802 ssl: [Connect call failed ('127.0.0.1', 2802)]


=
system:Windows-10-10.0.19045-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:D:/BaiduNetdiskDownload

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:软件启用了网络代理 http://127.0.0.1:2802,但该代理端口没有服务在运行(连接被拒绝 ConnectionRefused),导致 Edge-TTS 请求全部失败。

解决方案(按顺序排查):

  1. 检查代理是否真的在运行:127.0.0.1:2802 是本机代理端口,请确认你的代理软件已启动、端口号是否正确(很多软件默认端口是 10808、10809、7890 等,而非 2802)。
  2. 若代理未运行或不需要代理:在主界面 对齐控制(Alignment) 行右侧的网络代理文本框中清空内容并保存。清空后软件将直连,Edge-TTS 本身无需代理即可使用。
  3. 若确实需要代理:填写正确的代理地址,格式必须为 http://127.0.0.1:正确端口号 或 socks5://127.0.0.1:正确端口号,并确保代理服务确实监听该端口。
  4. 强制 Edge-TTS 绕过代理(推荐):在软件根目录(即 sp.exe 所在文件夹,你的为 D:/BaiduNetdiskDownload)下新建一个空文本文件,命名为 edgetts-noproxy.txt,保存后重启软件,即可强制 Edge-TTS 不使用代理。
  5. 修改后重新执行任务;如仍有问题,可先勾选清理已生成再重试。

请查阅相关文档:

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