alexa / alexa-smart-screen-sdk

⛔️ DEPRECATED Active at https://github.com/alexa/avs-device-sdk
Apache License 2.0
76 stars 26 forks source link

Alexa coming from Listening to Idle Quickly #120

Closed VictorFrench closed 2 years ago

VictorFrench commented 2 years ago

Briefly summarize your issue:

In some scenarios, Alexa dialog state coming from Listening state to Idle state quickly (with in 3 seconds). Following time out prints seen from SDK. What can cause this problem. What indicates STATE_PROVIDER_TIMEDOUT error.

From logs: [2021-12-14 16:48:55.697] # ALEXA STATE: LISTENING # ContextManager:getContextFailureCallbackLocked:token=16,error=STATE_PROVIDER_TIMEDOUT [2021-12-14 16:48:57.744] 2021-12-14 08:48:57.497 [ 9] E ContextManager:getContextFailureCallbackLocked:pendingStateProviderName=RenderedDocumentState,pendingStateProviderNamespace=Alexa.Presentation.APL [2021-12-14 16:48:57.854] 2021-12-14 08:48:57.498 [ 14] E AudioInputProcessor:executeOnContextFailure:error=STATE_PROVIDER_TIMEDOUT [2021-12-14 16:48:58.073] # ALEXA STATE: IDLE # Alexa_listening_to_idle_immediately.txt

What is the expected behavior?

Alexa should wait for User input

What behavior are you observing?

Alexa is not waiting for user input instead coming to IDLE state.

What version of the AVS Device SDK are you using?

AVS SDK - 1.24.0 APL Core - 1.7.1 SS SDK - 2.7.1

Tell us what hardware you're using:

Tell us about your OS (Type & version):

sngoc-amazon commented 2 years ago

Hi @VictorFrench,

Can you please provide the following additional information:

  1. Logs with the DEBUG9 log mode enabled as such: modules/Alexa/SampleApp/src/SampleApp -C <path-to-AlexaClientSDKConfig.json-file> -C <path-to-SmartScreenSDKConfig.json-file> -L DEBUG9
  2. Reproducing steps such as the utterances used.
  3. Is this happening for multiple utterances which results in an Alexa.Presentation.APL directive or only for a specific utterance?
mdaix-az commented 2 years ago

Closing due to inactivity. Please reopen if needed.