Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.84k stars 1.83k forks source link

WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED #2036

Closed Xiaomarker closed 1 year ago

Xiaomarker commented 1 year ago

Describe the bug Unable to launch the quick start, text to speech.

Speech synthesis canceled: CancellationReason.Error Error details: Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1 X-ConnectionId: c8e8dc9dc6d84ddca905f2ec32dd9178 USP state: Sending. Received audio size: 0 bytes.

To Reproduce Steps to reproduce the behavior:

  1. Run the exaplem directly.

Version of the Cognitive Services Speech SDK 1.30

Platform, Operating System, and Programming Language

Additional context Log file:

[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxThreadService' as '303073113'
[94248]: 13ms SPX_TRACE_WARNING: resource_manager.cpp:139 Failed to create 'CSpxCodecAdapter' as '199052375'. Are all required extension libraries loaded?
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:60 CSpxUspTtsEngineAdapter
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxUspTtsEngineAdapter' as '919101823'
[94248]: 13ms SPX_TRACE_INFO: AZ_LOG_INFO:  shim_openssl.c:93 Loaded libssl.so.1.1 (version 1010115f) at 0x56220c7bb440
[94248]: 13ms SPX_TRACE_INFO: AZ_LOG_INFO:  tlsio_openssl.c:2179 Using OpenSSL 1.1.1u  30 May 2023: 1010115f
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxDefaultSpeaker' as '853898539'
[94248]: 13ms SPX_TRACE_VERBOSE:  dynamic_module.cpp:52 dlopen('libMicrosoft.CognitiveServices.Speech.core.so') returned non-NULL
[94248]: 13ms SPX_TRACE_VERBOSE:  dynamic_module.cpp:58 dlsym('GetModuleObject') returned non-NULL
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxPullAudioOutputStream' as '853898539'
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  cloud_tts_engine_adapter.cpp:134 SetOutput
[94248]: 13ms SPX_TRACE_INFO:  cloud_tts_engine_adapter.cpp:212 SetOutput: request format [riff-16khz-16bit-mono-pcm] has header, using raw format instead for streaming.
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:111 CSpxHandleTable::TrackHandle p=0x0x56220c7b8818
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:121 CSpxHandleTable::TrackHandle class=ISpxSynthesizer, h=0x0x56220c7b8818, p=0x0x56220c7b8818, tot=1
[94248]: 13ms SPX_DBG_TRACE_SCOPE_EXIT:  speechapi_c_factory.cpp:519 synthesizer_create_speech_synthesizer_from_config
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:111 CSpxHandleTable::TrackHandle p=0x0x56220c7b8be8
[94248]: 13ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:121 CSpxHandleTable::TrackHandle class=ISpxNamedProperties, h=0x0x56220c7b8be8, p=0x0x56220c7b8be8, tot=2
[94248]: 14ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:111 CSpxHandleTable::TrackHandle p=0x0x56220c7ad170
[94248]: 14ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:121 CSpxHandleTable::TrackHandle class=CSpxAsyncOp<std::shared_ptr<ISpxSynthesisResult>>, h=0x0x56220c7ad170, p=0x0x56220c7ad170, tot=1
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxAudioDataStream' as '418301898'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  null_audio_output.h:93 SetFormat is called with format 0x0x56220c7ad240
[370557]: 14ms SPX_DBG_TRACE_FUNCTION:  synthesis_result.cpp:25 CSpxSynthesisResult
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxSynthesisResult' as '3874248'
[370557]: 14ms SPX_TRACE_INFO:  thread_service.cpp:92 Started thread User with ID [250294ll]
[370557]: 14ms SPX_TRACE_VERBOSE:  synthesizer.cpp:211 ExecuteSynthesis: synthesis started, request id: 96c025970de74d7e8fd7cab2e71bcd18; text: 你好,这是晓晓。
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  synthesizer_timeout_management.cpp:32 SetTimeoutValues: RTF set to 2.00; frame timeout interval set to 3000 ms.
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:92 Speak
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:110 Speak: start to send synthesis request, request id : 96c025970de74d7e8fd7cab2e71bcd18, try: 0
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-SynthVoice'; value='zh-CN-XiaoxiaoNeural'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:193 SSML sent to TTS cognitive service: <speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='en-US'><voice name='zh-CN-XiaoxiaoNeural'>你好,这是晓晓。</voice></speak>
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:474 UspInitialize: this=0x0x56220c685e30
[250294]: 14ms SPX_DBG_TRACE_SCOPE_ENTER:  synthesizer.cpp:1069 DispatchEvent task started...
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-SubscriptionKey'; value='******************************c4'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c685e80; name='AZAC-SDK-PROGRAMMING-LANGUAGE'; value='Python'
[250294]: 14ms SPX_DBG_TRACE_VERBOSE:  synthesizer.cpp:481 [0x56220c7b87f0]CSpxSynthesizer::FireResultEvent
[250294]: 14ms SPX_DBG_TRACE_VERBOSE:  synthesizer.cpp:544 No listener connected to event
[250294]: 14ms SPX_DBG_TRACE_SCOPE_EXIT:  synthesizer.cpp:1069 DispatchEvent task complete!
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x0056220c685e80; name='HttpHeader#User-agent'; value='SpeechSDK-Python/1.30.0 Linux Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64 4.18.0-2.4.3.3.kwai.x86_64'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::FindPrefix: this=0x0x0056220c685e80; name='User-agent'; value='SpeechSDK-Python/1.30.0 Linux Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64 4.18.0-2.4.3.3.kwai.x86_64'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxUspCallbackWrapper' as '710381509'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-Region'; value='southeastasia'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-ProxyHostBypass'; value=''
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='OPENSSL_SINGLE_TRUSTED_CERT'; value=''
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='OPENSSL_DISABLE_CRL_CHECK'; value='true'
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxUspConnection' as '792041254'
[370557]: 14ms SPX_TRACE_INFO:  usp_connection.cpp:460 Connect: entering...
[370557]: 14ms SPX_TRACE_INFO:  usp_connection.cpp:477 Adding subscription key headers
[370557]: 14ms SPX_TRACE_INFO:  usp_connection.cpp:512 Set a user defined HTTP header 'User-agent':'SpeechSDK-Python/1.30.0 Linux Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64 4.18.0-2.4.3.3.kwai.x86_64'
[370557]: 14ms SPX_TRACE_INFO:  usp_connection.cpp:518 Set an underlying io option 'tcp_nodelay'
[370557]: 14ms SPX_TRACE_INFO:  usp_connection.cpp:527 connectionUrl=wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxTelemetry' as '151041793'
[370557]: 14ms SPX_DBG_TRACE_SCOPE_ENTER:  web_socket.cpp:216 CSpxWebSocket
[370557]: 14ms SPX_DBG_TRACE_SCOPE_EXIT:  web_socket.cpp:216 CSpxWebSocket
[370557]: 14ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxWebSocket' as '482598724'
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:31 UwsWebSocket
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:31 UwsWebSocket
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:43 Initialize
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:43 Initialize
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 14ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 14ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 15ms SPX_TRACE_INFO:  thread_service.cpp:92 Started thread Background with ID [162257ll]
[370557]: 15ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-ConnectionUrl'; value='wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1'
[370557]: 15ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:363 speech.config {"context":{"system":{"version":"1.30.0","name":"SpeechSDK","build":"Linux-x64"},"os":{"platform":"Linux","name":"Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64","version":"4.18.0-2.4.3.3.kwai.x86_64"}}}
[162257]: 15ms SPX_TRACE_INFO:  web_socket.cpp:800 DoWork: open transport.
[162257]: 15ms SPX_TRACE_INFO:  web_socket.cpp:479 Start to open websocket. WebSocket: 0x64003b70, wsio handle: 0x64005190
[370557]: 15ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:414 speech.config='{"context":{"system":{"version":"1.30.0","name":"SpeechSDK","build":"Linux-x64"},"os":{"platform":"Linux","name":"Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64","version":"4.18.0-2.4.3.3.kwai.x86_64"}}}'
[162257]: 15ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:149 Open
[162257]: 15ms SPX_TRACE_INFO: AZ_LOG_INFO:  tlsio_openssl.c:2004 create_openssl_instance by TLS_method.
[370557]: 15ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:414 synthesis.context='{"synthesis":{"audio":{"outputFormat":"raw-16khz-16bit-mono-pcm","metadataOptions":{"visemeEnabled":false,"bookmarkEnabled":false,"wordBoundaryEnabled":false,"punctuationBoundaryEnabled":false,"sentenceBoundaryEnabled":false,"sessionEndEnabled":true}},"language":{"autoDetection":false}}}'
[370557]: 15ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:399 ssml <speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='en-US'><voice name='zh-CN-XiaoxiaoNeural'>你好,这是晓晓。</voice></speak>
[370557]: 15ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:414 ssml='<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='en-US'><voice name='zh-CN-XiaoxiaoNeural'>你好,这是晓晓。</voice></speak>'
[162257]: 16ms SPX_TRACE_INFO: AZ_LOG_INFO:  tlsio_openssl.c:1826 load_system_store not implemented on this platform
[162257]: 16ms SPX_TRACE_INFO: AZ_LOG_INFO:  tlsio_openssl.c:1855 CRL check off, as requested.
[162257]: 24ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  socketio_berkeley.c:710 Failure: connect failure 101.
[162257]: 24ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  tlsio_openssl.c:780 Could not open underlying IO: 1
[162257]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:247 OnWebSocketOpened
[162257]: 24ms SPX_TRACE_ERROR:  web_socket.cpp:907 WS open operation failed with result=1(WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED), code=101[0x00000065], time=2023-08-04T04:01:02.1937180Z
[162257]: 24ms SPX_TRACE_INFO:  usp_connection.cpp:908 TS:10, TransportError: connection:0x64002f80, code=5, string=Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: 31444b2d54184332b3a1e35fa235a9a7
[162257]: 24ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:816 Response: On Error: Code:5, Message: Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: 31444b2d54184332b3a1e35fa235a9a7.
[162257]: 24ms SPX_DBG_TRACE_VERBOSE:  create_object_helpers.h:78 SpxTerm: ptr=0x0x7fa564002378
[162257]: 24ms SPX_DBG_TRACE_SCOPE_ENTER:  usp_connection.cpp:144 ~CSpxUspConnection
[162257]: 24ms SPX_DBG_TRACE_SCOPE_EXIT:  usp_connection.cpp:144 ~CSpxUspConnection
[370557]: 24ms SPX_DBG_TRACE_FUNCTION:  synthesis_result.cpp:25 CSpxSynthesisResult
[162257]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:247 OnWebSocketOpened
[162257]: 24ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  tlsio_openssl.c:2374 Failed opening the underlying I/O.
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxSynthesisResult' as '3874248'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564006d30; name='CancellationDetails_ReasonDetailedText'; value='Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: 31444b2d54184332b3a1e35fa235a9a7 USP state: Sending. Received audio size: 0 bytes.'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564006d30; name='CancellationDetails_ReasonDetailedText'; value='Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: 31444b2d54184332b3a1e35fa235a9a7 USP state: Sending. Received audio size: 0 bytes.'
[370557]: 24ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:132 Synthesis cancelled without data received, retrying.
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:110 Speak: start to send synthesis request, request id : a0247aa4bbab49be832f7c865836243d, try: 1
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-SynthVoice'; value='zh-CN-XiaoxiaoNeural'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:193 SSML sent to TTS cognitive service: <speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='en-US'><voice name='zh-CN-XiaoxiaoNeural'>你好,这是晓晓。</voice></speak>
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:474 UspInitialize: this=0x0x56220c685e30
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-SubscriptionKey'; value='******************************c4'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c685e80; name='AZAC-SDK-PROGRAMMING-LANGUAGE'; value='Python'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c685e80; name='HttpHeader#User-agent'; value='SpeechSDK-Python/1.30.0 Linux Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64 4.18.0-2.4.3.3.kwai.x86_64'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::FindPrefix: this=0x0x0056220c685e80; name='User-agent'; value='SpeechSDK-Python/1.30.0 Linux Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64 4.18.0-2.4.3.3.kwai.x86_64'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxUspCallbackWrapper' as '710381509'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-Region'; value='southeastasia'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-ProxyHostBypass'; value=''
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='OPENSSL_SINGLE_TRUSTED_CERT'; value=''
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x0056220c7b8be8; name='OPENSSL_DISABLE_CRL_CHECK'; value='true'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxUspConnection' as '792041254'
[370557]: 24ms SPX_TRACE_INFO:  usp_connection.cpp:460 Connect: entering...
[370557]: 24ms SPX_TRACE_INFO:  usp_connection.cpp:477 Adding subscription key headers
[370557]: 24ms SPX_TRACE_INFO:  usp_connection.cpp:512 Set a user defined HTTP header 'User-agent':'SpeechSDK-Python/1.30.0 Linux Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64 4.18.0-2.4.3.3.kwai.x86_64'
[370557]: 24ms SPX_TRACE_INFO:  usp_connection.cpp:518 Set an underlying io option 'tcp_nodelay'
[370557]: 24ms SPX_TRACE_INFO:  usp_connection.cpp:527 connectionUrl=wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
[370557]: 24ms SPX_DBG_TRACE_SCOPE_ENTER:  web_socket.cpp:216 CSpxWebSocket
[370557]: 24ms SPX_DBG_TRACE_SCOPE_EXIT:  web_socket.cpp:216 CSpxWebSocket
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxWebSocket' as '482598724'
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:31 UwsWebSocket
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:31 UwsWebSocket
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:43 Initialize
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:43 Initialize
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:221 SetRequestHeader
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:215 SetOption
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x0056220c7b8be8; name='SPEECH-ConnectionUrl'; value='wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1'
[370557]: 24ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:363 speech.config {"context":{"system":{"version":"1.30.0","name":"SpeechSDK","build":"Linux-x64"},"os":{"platform":"Linux","name":"Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64","version":"4.18.0-2.4.3.3.kwai.x86_64"}}}
[370557]: 25ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:414 speech.config='{"context":{"system":{"version":"1.30.0","name":"SpeechSDK","build":"Linux-x64"},"os":{"platform":"Linux","name":"Linux 4.18.0-2.4.3.3.kwai.x86_64 #1 SMP Wed Apr 6 06:31:51 UTC 2022 x86_64","version":"4.18.0-2.4.3.3.kwai.x86_64"}}}'
[370557]: 25ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:414 synthesis.context='{"synthesis":{"audio":{"outputFormat":"raw-16khz-16bit-mono-pcm","metadataOptions":{"visemeEnabled":false,"bookmarkEnabled":false,"wordBoundaryEnabled":false,"punctuationBoundaryEnabled":false,"sentenceBoundaryEnabled":false,"sessionEndEnabled":true}},"language":{"autoDetection":false}}}'
[370557]: 25ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:399 ssml <speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='en-US'><voice name='zh-CN-XiaoxiaoNeural'>你好,这是晓晓。</voice></speak>
[370557]: 25ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:414 ssml='<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='en-US'><voice name='zh-CN-XiaoxiaoNeural'>你好,这是晓晓。</voice></speak>'
[162257]: 25ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  uws_client.c:1781 Opening the underlying IO failed
[162257]: 25ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:149 Open
[162257]: 25ms SPX_TRACE_ERROR:  web_socket.h:81 Failed to change state for WebSocket 0x7fa564003b70. From: 0, To: 4, Current: 4
[162257]: 25ms SPX_TRACE_ERROR:  web_socket.cpp:804 Failed to open transport
[162257]: 25ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:468 usp connection lost when trying to send message.
[162257]: 25ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:468 usp connection lost when trying to send message.
[162257]: 25ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:468 usp connection lost when trying to send message.
[162257]: 25ms SPX_TRACE_INFO:  web_socket.cpp:800 DoWork: open transport.
[162257]: 25ms SPX_TRACE_INFO:  web_socket.cpp:479 Start to open websocket. WebSocket: 0x640082f0, wsio handle: 0x640098a0
[162257]: 25ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:149 Open
[162257]: 25ms SPX_TRACE_INFO: AZ_LOG_INFO:  tlsio_openssl.c:2004 create_openssl_instance by TLS_method.
[162257]: 25ms SPX_TRACE_INFO: AZ_LOG_INFO:  tlsio_openssl.c:1826 load_system_store not implemented on this platform
[162257]: 25ms SPX_TRACE_INFO: AZ_LOG_INFO:  tlsio_openssl.c:1855 CRL check off, as requested.
[162257]: 32ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  socketio_berkeley.c:710 Failure: connect failure 101.
[162257]: 32ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  tlsio_openssl.c:780 Could not open underlying IO: 1
[162257]: 32ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:247 OnWebSocketOpened
[162257]: 32ms SPX_TRACE_ERROR:  web_socket.cpp:907 WS open operation failed with result=1(WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED), code=101[0x00000065], time=2023-08-04T04:01:02.2014127Z
[162257]: 32ms SPX_TRACE_INFO:  usp_connection.cpp:908 TS:7, TransportError: connection:0x64007a00, code=5, string=Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: c8e8dc9dc6d84ddca905f2ec32dd9178
[162257]: 32ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:816 Response: On Error: Code:5, Message: Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: c8e8dc9dc6d84ddca905f2ec32dd9178.
[162257]: 32ms SPX_DBG_TRACE_VERBOSE:  create_object_helpers.h:78 SpxTerm: ptr=0x0x7fa564006358
[162257]: 32ms SPX_DBG_TRACE_SCOPE_ENTER:  usp_connection.cpp:144 ~CSpxUspConnection
[162257]: 32ms SPX_DBG_TRACE_SCOPE_EXIT:  usp_connection.cpp:144 ~CSpxUspConnection
[370557]: 32ms SPX_DBG_TRACE_FUNCTION:  synthesis_result.cpp:25 CSpxSynthesisResult
[162257]: 32ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:247 OnWebSocketOpened
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  resource_manager.cpp:131 Created 'CSpxSynthesisResult' as '3874248'
[162257]: 32ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  tlsio_openssl.c:2374 Failed opening the underlying I/O.
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa56400a9e0; name='CancellationDetails_ReasonDetailedText'; value='Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: c8e8dc9dc6d84ddca905f2ec32dd9178 USP state: Sending. Received audio size: 0 bytes.'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa56400a9e0; name='CancellationDetails_ReasonDetailedText'; value='Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: c8e8dc9dc6d84ddca905f2ec32dd9178 USP state: Sending. Received audio size: 0 bytes.'
[370557]: 32ms SPX_DBG_TRACE_FUNCTION:  synthesis_result.cpp:30 ~CSpxSynthesisResult
[370557]: 32ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:132 Synthesis cancelled without data received, retrying.
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='RESULT-SynthesisBackend'; value='online (websocket)'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='RESULT-SynthesisFirstByteLatencyMs'; value='-1'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='RESULT-SynthesisFinishLatencyMs'; value='18'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='RESULT-SynthesisConnectionLatencyMs'; value='-1'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='RESULT-SynthesisNetworkLatencyMs'; value='-1'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='RESULT-SynthesisServiceLatencyMs'; value='-1'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='RESULT-SynthesisUnderrunTimeMs'; value='0'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxPropertyBagImpl::SetStringValue: this=0x0x007fa564000e78; name='CancellationDetails_ReasonDetailedText'; value='Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: c8e8dc9dc6d84ddca905f2ec32dd9178 USP state: Sending. Received audio size: 0 bytes.'
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  pull_audio_output_stream.cpp:166 Signal End of Writing is called
[370557]: 32ms SPX_DBG_TRACE_VERBOSE:  pull_audio_output_stream.cpp:166 Signal End of Writing is called
[370557]: 32ms SPX_DBG_TRACE_FUNCTION:  synthesis_result.cpp:30 ~CSpxSynthesisResult
[250294]: 32ms SPX_DBG_TRACE_SCOPE_ENTER:  synthesizer.cpp:1069 DispatchEvent task started...
[250294]: 32ms SPX_DBG_TRACE_VERBOSE:  synthesizer.cpp:481 [0x56220c7b87f0]CSpxSynthesizer::FireResultEvent
[250294]: 32ms SPX_DBG_TRACE_VERBOSE:  synthesizer.cpp:544 No listener connected to event
[250294]: 32ms SPX_DBG_TRACE_SCOPE_EXIT:  synthesizer.cpp:1069 DispatchEvent task complete!
[94248]: 32ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:111 CSpxHandleTable::TrackHandle p=0x0x7fa56400a9d0
[94248]: 32ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:121 CSpxHandleTable::TrackHandle class=ISpxSynthesisResult, h=0x0x7fa56400a9d0, p=0x0x7fa56400a9d0, tot=1
[94248]: 32ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x56220c7ad170
[94248]: 32ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=CSpxAsyncOp<std::shared_ptr<ISpxSynthesisResult>>, h=0x0x56220c7ad170, p=0x0x56220c7ad170, tot=0
[94248]: 32ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:111 CSpxHandleTable::TrackHandle p=0x0x7fa56400a9e0
[94248]: 32ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:121 CSpxHandleTable::TrackHandle class=ISpxNamedProperties, h=0x0x7fa56400a9e0, p=0x0x7fa56400a9e0, tot=3
[94248]: 32ms SPX_DBG_TRACE_VERBOSE:  named_properties.h:478 ISpxNamedProperties::GetStringValue: this=0x0x007fa56400a9e0; name='CancellationDetails_ReasonDetailedText'; value='Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://southeastasia.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: c8e8dc9dc6d84ddca905f2ec32dd9178 USP state: Sending. Received audio size: 0 bytes.'
[162257]: 33ms SPX_TRACE_ERROR: AZ_LOG_ERROR:  uws_client.c:1781 Opening the underlying IO failed
[162257]: 33ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:149 Open
[162257]: 33ms SPX_TRACE_ERROR:  web_socket.h:81 Failed to change state for WebSocket 0x7fa5640082f0. From: 0, To: 4, Current: 4
[162257]: 33ms SPX_TRACE_ERROR:  web_socket.cpp:804 Failed to open transport
[162257]: 33ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:468 usp connection lost when trying to send message.
[162257]: 33ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:468 usp connection lost when trying to send message.
[162257]: 33ms SPX_TRACE_ERROR:  usp_tts_engine_adapter.cpp:468 usp connection lost when trying to send message.
[162257]: 34ms SPX_DBG_TRACE_SCOPE_ENTER:  web_socket.cpp:221 ~CSpxWebSocket
[162257]: 34ms SPX_DBG_TRACE_SCOPE_EXIT:  web_socket.cpp:221 ~CSpxWebSocket
[162257]: 34ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:36 ~UwsWebSocket
[162257]: 34ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:36 ~UwsWebSocket
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x56220c6f6948
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=ISpxSpeechConfig, h=0x0x56220c6f6948, p=0x0x56220c6f6948, tot=0
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x56220c6f68e8
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=ISpxNamedProperties, h=0x0x56220c6f68e8, p=0x0x56220c6f68e8, tot=2
[94248]: 34ms SPX_DBG_TRACE_FUNCTION:  synthesizer.cpp:459 SetDisposing
[94248]: 34ms SPX_DBG_TRACE_SCOPE_ENTER:  web_socket.cpp:221 ~CSpxWebSocket
[94248]: 34ms SPX_DBG_TRACE_SCOPE_EXIT:  web_socket.cpp:221 ~CSpxWebSocket
[94248]: 34ms SPX_TRACE_SCOPE_ENTER:  uws_web_socket.cpp:36 ~UwsWebSocket
[94248]: 34ms SPX_TRACE_SCOPE_EXIT:  uws_web_socket.cpp:36 ~UwsWebSocket
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x56220c7b8818
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=ISpxSynthesizer, h=0x0x56220c7b8818, p=0x0x56220c7b8818, tot=0
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x56220c7b8be8
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=ISpxNamedProperties, h=0x0x56220c7b8be8, p=0x0x56220c7b8be8, tot=1
[94248]: 34ms SPX_DBG_TRACE_SCOPE_ENTER:  synthesizer.cpp:41 ~CSpxSynthesizer
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  create_object_helpers.h:78 SpxTerm: ptr=0x0x56220c685e78
[94248]: 34ms SPX_DBG_TRACE_SCOPE_ENTER:  usp_tts_engine_adapter.cpp:86 Term
[94248]: 34ms SPX_DBG_TRACE_SCOPE_EXIT:  usp_tts_engine_adapter.cpp:86 Term
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  usp_tts_engine_adapter.cpp:65 ~CSpxUspTtsEngineAdapter: this=0x0x56220c685e30
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  create_object_helpers.h:78 SpxTerm: ptr=0x0x56220c7b8fc8
[94248]: 34ms SPX_DBG_TRACE_SCOPE_ENTER:  thread_service.cpp:43 Term
[94248]: 34ms SPX_DBG_TRACE_SCOPE_EXIT:  thread_service.cpp:43 Term
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  create_object_helpers.h:78 SpxTerm: ptr=0x0x56220c7b2ef8
[94248]: 34ms SPX_DBG_TRACE_SCOPE_EXIT:  synthesizer.cpp:41 ~CSpxSynthesizer
[94248]: 34ms SPX_DBG_TRACE_SCOPE_ENTER:  thread_service.cpp:43 Term
[94248]: 34ms SPX_DBG_TRACE_SCOPE_EXIT:  thread_service.cpp:43 Term
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x7fa56400a9d0
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=ISpxSynthesisResult, h=0x0x7fa56400a9d0, p=0x0x7fa56400a9d0, tot=0
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x7fa56400a9e0
[94248]: 34ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=ISpxNamedProperties, h=0x0x7fa56400a9e0, p=0x0x7fa56400a9e0, tot=0
[94248]: 34ms SPX_DBG_TRACE_FUNCTION:  synthesis_result.cpp:30 ~CSpxSynthesisResult
[94248]: 34ms SPX_TRACE_SCOPE_ENTER:  audio_data_stream.cpp:25 ~CSpxAudioDataStream
[94248]: 34ms SPX_TRACE_SCOPE_EXIT:  audio_data_stream.cpp:25 ~CSpxAudioDataStream
[94248]: 35ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:180 CSpxHandleTable::StopTracking(h) h=0x0x56220c79d630
[94248]: 35ms SPX_DBG_TRACE_VERBOSE:  handle_table.h:195 CSpxHandleTable::StopTracking(h) class=ISpxAudioConfig, h=0x0x56220c79d630, p=0x0x56220c79d630, tot=0
[94248]: 38ms SPX_DBG_TRACE_FUNCTION:  memory_logger.cpp:130 Exit
[94248]: 38ms SPX_DBG_TRACE_FUNCTION:  resource_manager.cpp:101 ~CSpxResourceManager
glharper commented 1 year ago

@XiaomaQ Thank you for using SpeechSDK and writing this issue up. From the logs, it appears the SDK was unable to connect to the service endpoint, which could be network issues or possibly credential issues.

Are you able to ping southeastasia.tts.speech.microsoft.com and get a DNS address back? If so, can you try with a different subscription key/region pair?

Xiaomarker commented 1 year ago

Thank you for your relpy.Because of device limitations,I can't use 'ping' command.I have try other key/region,no one work.Now turn to xunfei TTS Service. if there is any solution,I will back.