语音识别阶段出错 [阿里百炼 Qwen3-ASR] 网络连接失败
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 534, in _make_request
File "urllib3\connection.py", line 565, in getresponse
File "http\client.py", line 1374, in getresponse
File "http\client.py", line 318, in begin
File "http\client.py", line 287, in _read_status
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (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 474, in increment
File "urllib3\util\util.py", line 38, in reraise
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 534, in _make_request
File "urllib3\connection.py", line 565, in getresponse
File "http\client.py", line 1374, in getresponse
File "http\client.py", line 318, in begin
File "http\client.py", line 287, in _read_status
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
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\_speech2text.py", line 156, in recogn
File "videotrans\recognition\__init__.py", line 249, in run
File "videotrans\recognition\_base.py", line 140, in run
File "videotrans\recognition\_qwen3asr.py", line 40, 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 659, in send
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
TaskCfg(cache_folder='D:/Green Softwares/Videotrans/videotrans/tmp/15020/ee8775bb51', target_dir='c:/users/seamuswong/videos/pyvideotrans/recogn', remove_noise=False, is_separate=False, detect_language='ja', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='c:/users/seamuswong/videos/pyvideotrans/recogn/VID_20240606_024452_298.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles='', novoice_mp4=None, noextname='VID_20240606_024452_298', shibie_audio='D:/Green Softwares/Videotrans/videotrans/tmp/15020/ee8775bb51/VID_20240606_024452_298-1770120824.201244.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=6, model_name='tiny', voice_autorate=False, video_autorate=False, cuda=False, name='C:/Users/SeamusWong/Desktop/FFOutput/VID_20240606_024452_298/VID_20240606_024452_298.aac', basename='VID_20240606_024452_298.aac', ext='aac', dirname='C:/Users/SeamusWong/Desktop/FFOutput/VID_20240606_024452_298', shound_del_name=None, uuid='ee8775bb51', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=1, only_out_mp4=False, fix_punc=False, recogn2pass=False)
=
system:Windows-10-10.0.19045-SP0
version:v3.95
frozen:True
language:zh
