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:
- Check Your Internet Connection: Ensure you have a stable internet connection.
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.
Verify Service Selection:
- 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.