#1218 aiohttp.client_exceptions.ClientProxyConnectionError: Cannot connect to host 127.0.0.1:10808 ssl:False [Connect call fai

139.227* Posted at: 2 days ago 👁14

代理设置不正确或代理不可用,请检查代理或关闭代理并删掉代理文本框中所填内容:
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 128, in run
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

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 499, in sock_connect
File "asyncio\selector_events.py", line 534, in _sock_connect_cb
ConnectionRefusedError: [Errno 10061] Connect call failed ('127.0.0.1', 10808)

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

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 246, in run
File "videotrans\tts\_base.py", line 182, in run
File "videotrans\tts\_edgetts.py", line 70, in _create_audio_with_retry
File "asyncio\tasks.py", line 445, in wait_for
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:10808 ssl:False [Connect call failed ('127.0.0.1', 10808)]


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

1 Replies

错误显示代理设置有问题。Edge-TTS 无法连接到您在代理设置中指定的地址 127.0.0.1:10808

请按以下步骤解决:

  1. 在软件菜单栏选择 翻译设置
  2. 在打开的窗口中,找到 网络代理 设置。
  3. 如果您的代理服务当前未运行或配置不正确,请 清空代理地址文本框取消勾选 使用代理选项。
  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.

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

Similar issues already exist

Trending Questions