AWS LexV2 Plugin issue

37 views
Skip to first unread message

igorgor...@gmail.com

unread,
Jul 22, 2021, 8:27:47 PM7/22/21
to UniMRCP
Hi!

I've setup unimrcp server and AWS LexV2 and Polly plugins.

While TTS with Polly is working, I'm getting an 006 recognizer-error for ASR:

2021-07-23 00:18:08:311107 [INFO]   Process RECOGNIZE Request <672dc76781224d0c@speechrecog> [5]
2021-07-23 00:18:08:311133 [INFO]   Init Speech Detector: frame-size=160, max-frame-count=150, output-frame-count=20, vad-mode=2, noinput-timeout=86400000 ms, input-timeout=60000 ms, start-timeout=50 ms, complete-timeout=400 ms, incomplete-timeout=1000 ms, leading-silence
=300 ms, trailing-silence=300 ms, interim-results=1, start-of-input=external <672dc76781224d0c>
2021-07-23 00:18:08:311165 [INFO]   Start Conversation botId [xxxxx] aliasId [xxxxx] locale [en-US] <672dc76781224d0c@lex>
2021-07-23 00:18:08:311395 [DEBUG]  Check connection [https://runtime-v2-lex.us-west-2.amazonaws.com:443] state [0] pending streams [0] active streams [0] max streams [100] <cca7159686da4206>
2021-07-23 00:18:08:311405 [INFO]   Create HTTP/2 connection [https://runtime-v2-lex.us-west-2.amazonaws.com:443] <cca7159686da4206>
2021-07-23 00:18:08:311547 [INFO]   Process RECOGNIZE Response <672dc76781224d0c@speechrecog> [5]
2021-07-23 00:18:08:311557 [INFO]   State Transition IDLE -> RECOGNIZING <672dc76781224d0c@speechrecog>
2021-07-23 00:18:08:311575 [INFO]   Send MRCPv2 Data 172.18.63.19:1544 <-> 172.18.63.19:12054 [83 bytes]
MRCP/2.0 83 5 200 IN-PROGRESS
Channel-Identifier: 672dc76781224d0c@speechrecog


2021-07-23 00:18:08:322798 [INFO]   Receive SIP Event [nua_i_ack] Status 200 OK [SIP-Agent-1]
2021-07-23 00:18:08:322813 [INFO]   Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]
2021-07-23 00:18:08:322817 [NOTICE] SIP Call State 0x7faa4c004368 [ready]
2021-07-23 00:18:08:322819 [INFO]   Receive SIP Event [nua_i_active] Status 200 Call active [SIP-Agent-1]
2021-07-23 00:18:08:360271 [INFO]   Disconnected <cca7159686da4206>
2021-07-23 00:18:08:360290 [INFO]   Delete H2 session <cca7159686da4206>
2021-07-23 00:18:08:360339 [DEBUG]  Stop Input <672dc76781224d0c@lex>
2021-07-23 00:18:08:360354 [INFO]   Process Request Complete [3] <672dc76781224d0c@lex>
2021-07-23 00:18:08:360360 [DEBUG]  Stop Input <672dc76781224d0c@lex>
2021-07-23 00:18:08:367646 [INFO]   Input Complete [stopped] size=0 bytes, dur=0 ms <672dc76781224d0c@lex>
2021-07-23 00:18:08:367693 [INFO]   Process RECOGNITION-COMPLETE Event <672dc76781224d0c@speechrecog> [5]
2021-07-23 00:18:08:367697 [INFO]   State Transition RECOGNIZING -> RECOGNIZED <672dc76781224d0c@speechrecog>
2021-07-23 00:18:08:367720 [INFO]   Send MRCPv2 Data 172.18.63.19:1544 <-> 172.18.63.19:12054 [138 bytes]
MRCP/2.0 138 RECOGNITION-COMPLETE 5 COMPLETE
Channel-Identifier: 672dc76781224d0c@speechrecog
Completion-Cause: 006 recognizer-error


Any idea what could be an issue? and how to troubleshoot it? The logs  don't shed the light on the root cause.

-Ihor

Vahagn Kocharyan

unread,
Jul 28, 2021, 6:01:55 AM7/28/21
to UniMRCP
Hi 
please set priority to DEBUG on logger.xml and share your logs
<source name="LEX-PLUGIN" priority="INFO" masking="NONE"/>

 Thanks

Reply all
Reply to author
Forward
0 new messages