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

202.150**2 Posted at: 1 hour 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
......
eption, 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='26bbfee985', cache_folder='E:/ytrans/tmp/13912/26bbfee985', 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/09-12.srt', target_wav=None, target_wav_output=None, name='E:/PH/Nana/A/audio/09-12.m4a', noextname='09-12', basename='09-12.m4a', ext='m4a', dirname='E:/PH/Nana/A/audio', shound_del_name=None, detect_language='zh-cn', recogn_type=3, model_name='paraformer-zh', shibie_audio='E:/ytrans/tmp/13912/26bbfee985/09-12-1788438856.0650518.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


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

1 Replies

#1 DeepSeek reply at 1 hour ago

The root cause is a network timeout while automatically downloading the FunASR model (paraformer-zh) from www.modelscope.cn. The connection to the model repository timed out during the initial download, which is a network connectivity issue rather than a software bug.

Solutions (try in order):

  1. Check network connectivity — Ensure www.modelscope.cn is reachable from your machine. If you are using a proxy/VPN, try disabling it or switching to a different connection. In China, modelscope.cn is normally accessible without a proxy.
  2. Manually download the model — If automatic downloading keeps failing, download the FunASR model manually and place it in the software's models/ directory. The exact download links and folder structure are documented here: 手动下载模型. Look for the FunASR (paraformer-zh) section.
  3. Switch to the default ASR channel — The recommended channel is faster-whisper(内置) (default model large-v3-turbo). It is more stable and does not require modelscope.cn. You can switch to it in the "语音识别" dropdown.
  4. Upgrade the software — Your version is v3.97, which is outdated. Please upgrade to the latest version (v4.11) via 下载软件. Newer versions have improved model download handling.

If the problem persists after trying these steps, please provide the latest log file from logs/ directory (the bottom ~30 lines) for further analysis.

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource