#3647 httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (

119.235* Posted at: 1 hour ago 👁6

Network connection failed:Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\http_proxy.py", line 317, in handle_request
File "httpcore\_sync\http11.py", line 383, in start_tls
File "httpcore\_backends\sync.py", line 152, in start_tls
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

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

Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 981, in run
File "videotrans\translator\_base.py", line 103, in run
File "videotrans\translator\_base.py", line 124, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_gemini.py", line 112, in _item_task
File "google\genai\models.py", line 5407, in generate_content_stream
File "google\genai\models.py", line 4101, in _generate_content_stream
File "google\genai\_api_client.py", line 1405, in request_streamed
File "google\genai\_api_client.py", line 1224, in _request
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 420, in exc_check
File "tenacity\__init__.py", line 187, in reraise
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "google\genai\_api_client.py", line 1188, in _request_once
File "httpx\_client.py", line 914, in send
File "httpx\_client.py", line 942, in _send_handling_auth
File "httpx\_client.py", line 979, in _send_handling_redirects
File "httpx\_client.py", line 1014, in _send_single_request
File "httpx\_transports\default.py", line 249, in handle_request
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:D:/BACKUP 8 Oct 2025/Downloads/Compressed/win-videotrans-v3.80

1 Replies

This error is caused by an SSL certificate verification failure when the software tries to connect to the Gemini AI service. This is a common network-related issue, often due to system certificate problems or network proxy interference.

To resolve this, follow these steps:

  1. Update the Software: Your current version is v3.97. The latest version is v3.98. Some network-related issues have been addressed in newer versions. Please download the latest full package or patch from the official source and update your installation.
  2. Check Network Proxy Settings: If you are using a VPN or proxy (especially in mainland China to access services like Gemini), ensure the proxy address and port in the software's "Network Proxy" field are correct. The format should be like http://127.0.0.1:7860. An incorrect or unstable proxy can cause SSL errors.
  3. Temporarily Disable Proxy for Testing: If you are not sure about the proxy settings, try clearing the "Network Proxy" field to test if the connection works without it (if your network allows direct access to Gemini).
  4. System Certificate Check (Advanced): The error unable to get local issuer certificate indicates your system might be missing or have outdated root certificates. You can try:

    • Updating your Windows operating system.
    • Ensuring your system time and date are correct.

If the issue persists after trying the above steps, please provide the latest log file from the logs/ folder in your software installation directory (copy the bottom ~30 lines of the error message) for further analysis.

Please refer to the relevant documentation:

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.

Related resource