#7363 System Error (11001): getaddrinfo failed:{'text': '안녕, 나의 소중한 친구야. 너의 매일매일이 아름답고 즐겁기를 바라!', 'rate': '+0%', 'role': 'InJo

59.25**4 Posted at: 1 hour ago

System Error (11001): getaddrinfo failed:
{'text': '안녕, 나의 소중한 친구야. 너의 매일매일이 아름답고 즐겁기를 바라!', 'rate': '+0%', 'role': 'InJoon(Male/KR)', 'filename': 'C:\Users\nepal\AppData\Local\Temp/pyvideotrans/0-1789561728.744727.wav', 'tts_type': 0, 'language': 'ko', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "aiohttp\connector.py", line 1512, in _create_direct_connection
File "aiohttp\connector.py", line 1128, in _resolve_host
File "aiohttp\connector.py", line 1159, in _resolve_host_with_throttle
File "aiohttp\resolver.py", line 40, in resolve
File "asyncio\base_events.py", line 863, in getaddrinfo
File "concurrent\futures\thread.py", line 58, in run
File "socket.py", line 967, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

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 232, 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 1189, in _create_connection
File "aiohttp\connector.py", line 1518, in _create_direct_connection
aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host speech.platform.bing.com:443 ssl: [getaddrinfo failed]


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:en_US
root_dir:D:/New folder

1 Replies

#1 DeepSeek reply at 1 hour ago

This is a DNS resolution failure (getaddrinfo failed) — the system was unable to resolve the hostname speech.platform.bing.com, which is the server used by the Edge-TTS channel (tts_type: 0) to generate the Korean voiceover.

Causes and fixes:

  1. Network / DNS problem — Check that your internet connection is working and DNS is resolving properly. Try opening https://speech.platform.bing.com in a browser; if it fails to resolve, your network or DNS is the issue.
  2. DNS configuration — Switch your DNS to a public resolver (e.g. 8.8.8.8 / 1.1.1.1 or 223.5.5.5 for CN) and run ipconfig /flushdns in CMD, then retry.
  3. Proxy misconfiguration — If a proxy is filled in the "Alignment" row (proxy textbox), an invalid/unreachable proxy address will break all network requests. Clear the proxy field or set a valid one like http://127.0.0.1:10808.
  4. Edge-TTS may need a proxy in some regions. If your network requires a VPN/proxy to reach Microsoft services, configure it correctly; if it's interfering, create an empty file named edgetts-noproxy.txt in the software root directory to force Edge-TTS to bypass the proxy.
  5. Retry after fixing network, or lower the Edge-TTS concurrency to 1 and set a pause of 5–10s in Advanced Options → Dubbing.

请查阅相关文档:

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