#3812 TaskCfg(cache_folder='D:/Program Files/win-pyvideotrans/tmp/24544/8c2ea48b04', target_dir='C:/Users/Juno/Desktop/video-t

158.180* Posted at: 3 hours ago 👁8

ASR Error [Ali Qwen3-ASR] Connection timeout, please check network stability
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 85, in create_connection
File "urllib3\util\connection.py", line 73, in create_connection
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

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

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 488, in _make_request
File "urllib3\connectionpool.py", line 464, in _make_request
File "urllib3\connectionpool.py", line 1093, in _validate_conn
File "urllib3\connection.py", line 753, in connect
File "urllib3\connection.py", line 207, in _new_conn
urllib3
......
raceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dashscope-file-mgr.oss-cn-beijing.aliyuncs.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(, 'Connection to dashscope-file-mgr.oss-cn-beijing.aliyuncs.com timed out. (connect timeout=3600)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 106, in run
File "videotrans\task\trans_create.py", line 358, in recogn
File "videotrans\recognition\__init__.py", line 239, in run
File "videotrans\recognition\_base.py", line 141, in run
File "videotrans\recognition\_qwen3asr.py", line 37, in _exec
File "dashscope\aigc\multimodal_conversation.py", line 99, in call
File "dashscope\aigc\multimodal_conversation.py", line 170, in _preprocess_messages
File "dashscope\utils\oss_utils.py", line 241, in preprocess_message_element
File "dashscope\utils\oss_utils.py", line 216, in check_and_upload
File "dashscope\utils\oss_utils.py", line 180, in check_and_upload_local
File "dashscope\utils\oss_utils.py", line 83, in upload
File "requests\sessions.py", line 637, in post
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 665, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='dashscope-file-mgr.oss-cn-beijing.aliyuncs.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(, 'Connection to dashscope-file-mgr.oss-cn-beijing.aliyuncs.com timed out. (connect timeout=3600)'))
TaskCfg(cache_folder='D:/Program Files/win-pyvideotrans/tmp/24544/8c2ea48b04', target_dir='C:/Users/Juno/Desktop/video-test/_video_out/Pre-sales Training Movie_6th(GOTO)_0327-mp4', remove_noise=False, is_separate=False, detect_language='ja', subtitle_language=None, source_language='Japanese', target_language='Simplified Chinese', source_language_code='ja', target_language_code='zh-cn', source_sub='C:/Users/Juno/Desktop/video-test/_video_out/Pre-sales Training Movie_6th(GOTO)_0327-mp4/ja.srt', target_sub='C:/Users/Juno/Desktop/video-test/_video_out/Pre-sales Training Movie_6th(GOTO)_0327-mp4/zh-cn.srt', source_wav='D:/Program Files/win-pyvideotrans/tmp/24544/8c2ea48b04/ja.wav', source_wav_output='C:/Users/Juno/Desktop/video-test/_video_out/Pre-sales Training Movie_6th(GOTO)_0327-mp4/ja.m4a', target_wav='D:/Program Files/win-pyvideotrans/tmp/24544/8c2ea48b04/target.wav', target_wav_output='C:/Users/Juno/Desktop/video-test/_video_out/Pre-sales Training Movie_6th(GOTO)_0327-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/Program Files/win-pyvideotrans/tmp/24544/8c2ea48b04/novoice.mp4', noextname='Pre-sales Training Movie_6th(GOTO)_0327', shibie_audio=None, targetdir_mp4='C:/Users/Juno/Desktop/video-test/_video_out/Pre-sales Training Movie_6th(GOTO)_0327-mp4/Pre-sales Training Movie_6th(GOTO)_0327.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=True, clear_cache=False, translate_type=4, tts_type=0, recogn_type=7, model_name='distil-large-v3', voice_autorate=False, video_autorate=False, is_cuda=False, name='C:/Users/Juno/Desktop/video-test/Pre-sales Training Movie_6th(GOTO)_0327.mp4', basename='Pre-sales Training Movie_6th(GOTO)_0327.mp4', ext='mp4', dirname='C:/Users/Juno/Desktop/video-test', shound_del_name=None, uuid='8c2ea48b04', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False, fix_punc=False, recogn2pass=True)


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:D:/Program Files/win-pyvideotrans

1 Replies

This error is caused by a network connection timeout when the Ali Qwen3-ASR service attempts to upload the audio file for processing. The service (dashscope-file-mgr.oss-cn-beijing.aliyuncs.com) could not be reached.

Solution Steps:

  1. Check Network Stability: Ensure your internet connection is stable. The error indicates a timeout, which is often a network issue.
  2. Configure Network Proxy (if needed): If you are in a region where direct access to Alibaba Cloud services is restricted or slow, you may need to configure a network proxy. In the main interface of pyVideoTrans, fill in the "Network Proxy Address" field with your proxy address (e.g., http://127.0.0.1:10808). If you do not use a proxy, leave this field empty.
  3. Switch to a Local ASR Model: For more reliable offline processing, consider switching to a local speech recognition model. Since your source language is Japanese (ja), you have several options:

    • Free/Local: In the "Speech Recognition" dropdown, select HuggingFace_ASR and choose the model reazon-research/japanese-wav2vec2-large-rs35kh for Japanese.
    • Free/Local: Alternatively, use faster-whisper(local) or openai-whisper(local) with the large-v3 model, which also supports Japanese well. Ensure you have sufficient GPU memory (>=10GB for large-v3) or system RAM (>=16GB without GPU).
  4. Verify API Key and Service Status: If you must use the Ali Qwen3-ASR online service, ensure your API key is correctly configured in Menu -> Translation Settings -> Alibaba Qwen3-ASR Settings. Also, check if the Alibaba DashScope service is experiencing any outages.

Additional Notes:

  • Your software is installed in D:/Program Files/win-pyvideotrans. It is recommended to move it to a path without spaces and that does not require administrator permissions, such as D:\pyVideoTrans, to avoid potential file access issues.
  • The error log shows you are using the distil-large-v3 model, which is designed only for English audio. For Japanese audio, you must select a model that supports multilingual or Japanese-specific recognition.

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

Similar issues already exist