#1630 [Errno 11001] getaddrinfo failed

176.88* Posted at: 1 day ago 👁17

[Errno 11001] getaddrinfo failed


=
system:Windows-10-10.0.26100-SP0
version:v3.86
frozen:True
language:en
root_dir:C:/Users/Enes/Desktop/win-pyvideotrans-v3.86

1 Replies

The error "[Errno 11001] getaddrinfo failed" indicates a network connection failure, typically when the software cannot resolve a domain name (like api.openai.com or speech.platform.bing.com) to an IP address. This is most common when using online services (e.g., OpenAI translation, Edge-TTS, Google Translate) without a proper proxy configuration, especially if you are in a region where these services are restricted.

Follow these steps to resolve the issue:

  1. Check Your Internet Connection: Ensure you have a stable internet connection.
  2. Configure Proxy (Most Likely Solution):

    • On the main interface, find the "Network Proxy" input box (located in the 5th row of controls).
    • Enter your proxy address in the format: http://127.0.0.1:7890 (replace with your actual proxy server and port).
    • If you don't use a proxy, this error suggests you might need one to access the specific service you selected.
  3. Verify Service Selection:

    • If you are using a service like Google Translate or OpenAI, a proxy is almost always required from certain regions.
    • Consider switching to a local service that doesn't require an internet connection:

      • For Speech Recognition (ASR): Use faster-whisper (local).
      • For Translation: Use a local model if available, or try Microsoft Translator (which might be more accessible than Google in some cases).
      • For Text-to-Speech (TTS): Use Edge-TTS is often the most reliable free online service, but if it fails, check the proxy.
  4. Check Firewall/Antivirus: Temporarily disable your firewall or antivirus software to see if they are blocking the connection. If it works, add sp.exe to the exception list.

If the problem persists after trying these steps, please specify which specific service (e.g., "OpenAI Translation," "Edge-TTS," "Google Translate") you were using when the error occurred. This will help in providing a more targeted solution.

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