#2101 HTTPConnectionPool(host='http', port=80): Max retries exceeded with url: /apitts (Caused by NameResolutionError(": Faile

93.44* Posted at: 20 days ago 👁54

HTTPConnectionPool(host='http', port=80): Max retries exceeded with url: /apitts (Caused by NameResolutionError(": Failed to resolve 'http' ([Errno -2] Name or service not known)"))


=
system:Linux-5.14.0-611.11.1.el9_7.x86_64-x86_64-with-glibc2.34
version:v3.90
frozen:False
language:en
root_dir:/home/pietro/pyvideotrans
Python: 3.10.19 (main, Dec 9 2025, 19:03:08) [Clang 21.1.4 ]

1 Replies

The error indicates that the software is trying to connect to a host named http on port 80, which is incorrect. This is likely caused by an improperly formatted Network Proxy URL in your settings.

The error message Failed to resolve 'http' means the system tried to look up a domain named "http" and failed. The proxy URL should be a complete address like http://127.0.0.1:7890 or socks5://127.0.0.1:7890.

Solution:

  1. Go to the main interface of pyVideoTrans.
  2. Look for the "Network Proxy" input field (usually in the 5th row of controls, labeled "Proxy").
  3. Check the URL you entered. It should be in the format: protocol://ip_address:port

    • Correct Examples: http://127.0.0.1:7890, socks5://127.0.0.1:1080
    • Incorrect Examples (that cause this error): http, 127.0.0.1:7890, http:/127.0.0.1:7890
  4. If you are not using a proxy (e.g., you are in a region that doesn't need one for Google/OpenAI), clear this field entirely and leave it blank.
  5. After correcting the proxy setting, try your task again.

If the problem persists after ensuring the proxy field is correct or empty, please provide the complete log file from /home/pietro/pyvideotrans/logs/ for further analysis.

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