#6121 ASR Error [FunASR(Local)] Traceback (most recent call last): File

202.150* Posted at: 1 day ago

ASR Error [FunASR(Local)] Traceback (most recent call last):
File "urllib3\response.py", line 779, in _error_catcher
File "urllib3\response.py", line 1248, in read_chunked
File "urllib3\response.py", line 1167, in _update_chunk_length
File "socket.py", line 717, in readinto
File "ssl.py", line 1307, in recv_into
File "ssl.py", line 1163, in read
TimeoutError: The read operation timed out

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

Traceback (most recent call last):
File "requests\models.py", line 820, in generate
File "urllib3\response.py", line 1088, in stream
File "urllib3\response.py", line 1231, in read_chunked
File "contextlib.py", line 153, in exit
File "urllib3\response.py", line 784, in _error_catcher
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.modelscope.cn', port=443): Read timed out.

During handling of the above exception, another exception occurred:

Traceback (most recent call
......
ed out.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 466, in paraformer
File "modelscope\pipelines\builder.py", line 152, in pipeline

model = normalize_model_input(

File "modelscope\pipelines\builder.py", line 40, in normalize_model_input

model = snapshot_download(

File "modelscope\hub\snapshot_download.py", line 137, in snapshot_download

return _snapshot_download(

File "modelscope\hub\snapshot_download.py", line 310, in _snapshot_download

endpoint = _api.get_endpoint_for_read(

File "modelscope\hub\api.py", line 541, in get_endpoint_for_read

if not self.repo_exists(

File "modelscope\hub\api.py", line 698, in repo_exists

r = self.session.get(path, cookies=cookies,

File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 746, in send
File "requests\models.py", line 902, in content
File "requests\models.py", line 826, in generate
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.modelscope.cn', port=443): Read timed out.
TaskCfgSTT(is_cuda=True, uuid='72e35f36f7', cache_folder='E:/ytrans/tmp/4660/72e35f36f7', target_dir='E:/ytrans/output/recogn', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='E:/ytrans/output/recogn/18.srt', target_wav=None, target_wav_output=None, name='E:/PH/18.m4a', noextname='18', basename='18.m4a', ext='m4a', dirname='E:/PH', shound_del_name=None, detect_language='zh-cn', recogn_type=3, model_name='paraformer-zh', shibie_audio='E:/ytrans/tmp/4660/72e35f36f7/18-1785204144.6648576.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=1, fix_punc=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:E:/ytrans

1 Replies

This error is caused by a network timeout when pyVideoTrans tries to download the FunASR Paraformer model (paraformer-zh) from the modelscope.cn mirror. The software cannot reach the server within the timeout limit, which is common in networks with restricted access or unstable connections to Chinese model repositories.

Solutions:

  1. Switch to a different ASR channel (recommended):
    Use faster-whisper(本地内置) with model large-v3 instead. This channel can automatically download models from HuggingFace (uses a mirror if needed) and is more reliable for most languages.
  2. Manually download the FunASR model:

  3. Check your network connection:

    • If you are behind a firewall or proxy, configure the proxy in pyVideoTrans (菜单 → 工具 → 高级选项 → 通用设置 → 代理).
    • Try using a VPN or change to a more reliable network.
  4. Upgrade to a newer version:
    You are using v3.97; consider updating to v4.07 to benefit from improved model management and fallback mechanisms.

Please read related 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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource