#4299 urllib.error.URLError: <urlopen error Tunnel connection failed: 404 Not Found>

188.253* Posted at: 4 hours ago 👁11

Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 1348, in do_open

h.request(req.get_method(), req.selector, req.data, headers,

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1283, in request

self._send_request(method, url, body, headers, encode_chunked)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1329, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1278, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1038, in _send_output

self.send(msg

......
erall.py", line 31, in _exec

raws = self._openai()

File "F:\Ailocal\pyvideotrans\videotrans\recognition\_overall.py", line 73, in _openai

raws=self._new_process(callback=openai_whisper,title=title,is_cuda=self.is_cuda,kwargs=kwargs)

File "F:\Ailocal\pyvideotrans\videotrans\configure\_base.py", line 289, in _new_process

raise RuntimeError(err)

RuntimeError: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 1348, in do_open

h.request(req.get_method(), req.selector, req.data, headers,

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1283, in request

self._send_request(method, url, body, headers, encode_chunked)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1329, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1278, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1038, in _send_output

self.send(msg)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 976, in send

self.connect()

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 1448, in connect

super().connect()

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 952, in connect

self._tunnel()

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\http\client.py", line 925, in _tunnel

raise OSError(f"Tunnel connection failed: {code} {message.strip()}")

OSError: Tunnel connection failed: 404 Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "F:\Ailocal\pyvideotrans\videotrans\process\stt_fun.py", line 63, in openai_whisper

model = whisper.load_model(

File "F:\Ailocal\pyvideotrans.venv\lib\site-packages\whisper\__init__.py", line 137, in load_model

checkpoint_file = _download(_MODELS[name], download_root, in_memory)

File "F:\Ailocal\pyvideotrans.venv\lib\site-packages\whisper\__init__.py", line 73, in _download

with urllib.request.urlopen(url) as source, open(download_target, "wb") as output:

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 216, in urlopen

return opener.open(url, data, timeout)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 519, in open

response = self._open(req, data)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 536, in _open

result = self._call_chain(self.handle_open, protocol, protocol +

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 496, in _call_chain

result = func(*args)

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 1391, in https_open

return self.do_open(http.client.HTTPSConnection, req,

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\urllib\request.py", line 1351, in do_open

raise URLError(err)

urllib.error.URLError:


=
system:Windows-10-10.0.22621-SP0
version:v3.99
frozen:False
language:zh
root_dir:F:/Ailocal/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:37:08) [MSC v.1944 64 bit (AMD64)]

1 Replies

这是因网络代理配置错误导致的模型下载失败。软件通过代理连接时收到 404 响应,说明代理地址无效或代理服务未启动。

解决方法:

  1. 在主界面找到“网络代理地址”输入框。
  2. 如果确实不需要代理,请清空该项(留空即可)。
  3. 若必须使用代理,请确认代理服务已运行,且地址格式正确(如 http://127.0.0.1:10809),端口号需与你的代理客户端一致。
  4. 修改后重新开始任务。

请查阅相关文档:

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