avs-device-sdk icon indicating copy to clipboard operation
avs-device-sdk copied to clipboard

Give "Resume" command after pause an Audible book, Alexa will resume Amazon music instead of Audible book

Open DeepikaBalaga opened this issue 4 years ago • 14 comments

[Steps]

  1. Ask Alexa to read Audible book. ("Alexa, read The Hobbit.")
  2. "Alexa, stop."
  3. "Alexa, play."
  4. "Alexa, pause."
  5. "Alexa, resume."

Briefly summarize your issue:

Give "Resume" command after pause an Audible book, Alexa will resume Amazon music instead of Audible book

What is the expected behavior?

  1. Alexa stop reading Audible book.
  2. Alexa resume to read Audible book.
  3. Alexa stop reading Audible book.
  4. Alexa resume to read Audible book.

What behavior are you observing?

  1. Alexa resume Amazon Music. log: A10_audible_resume.txt attached below.

Provide the steps to reproduce the issue, if applicable:

As mentioned above

Tell us about your environment:

What version of the AVS Device SDK are you using?

  1.17

Tell us what hardware you're using:

  • [ ] Desktop / Laptop

Tell us about your OS (Type & version):

  • [ ] Linux

LOGS BELOW: A10_AudibleIssue_log.txt

DeepikaBalaga avatar Aug 03 '20 04:08 DeepikaBalaga

In-addition to the above query, we have 2 more pointers:

  1. Account basis reproducibility: Issue is reproduced only with one account for 10/10 re-trails and with other accounts Audible is playing after resume also. Account with the issue reproducibility [email protected]
  2. Log analysis: lease check below additional information from our end after analyzing the logs of issue reproducible and not reproducible cases.

For issue reproducible case, please check the below logs: image For issue not-reproducible case, please check the below logs: image

It's clear that instead of Playing Audible, Amazon music is playing that too for 100% issue reproducibility. New logs for reference by which we analyzed:
Logs_AudibleResumeIssue.txt

Let us know for any other information needed from our end and help to get back ASAP.

Thanks!

DeepikaBalaga avatar Aug 04 '20 20:08 DeepikaBalaga

Hi @DeepikaBalaga, sorry, the logs you provided does not contain enough information for further investigation. Would it be possible to attach the full DEBUG9 log from the SDK?

kclchan avatar Aug 04 '20 21:08 kclchan

Hi @DeepikaBalaga, sorry, the logs you provided does not contain enough information for further investigation. Would it be possible to attach the full DEBUG9 log from the SDK?

Hi @kclchan Thanks for the response, we will reproduce this issue and send the DEBUG9 logs to you ASAP.

DeepikaBalaga avatar Aug 07 '20 14:08 DeepikaBalaga

Hi @DeepikaBalaga, sorry, the logs you provided does not contain enough information for further investigation. Would it be possible to attach the full DEBUG9 log from the SDK?

Thanks for the waiting @kclchan , Please check the below DEBUG9 logs for this issue. Also, we found one more issue when tried to capture DEBUG9 logs. That is Alexa got disconnected Automatically.

Please help to check this main issue - Give "Resume" command after pause an Audible book, Alexa will resume Amazon music instead of Audible book #1770 and let us know for the updates.

DEBUG9 LOGS::: A10_AudibleIssue_DEBUG9_log.txt

Thanks!

DeepikaBalaga avatar Aug 14 '20 09:08 DeepikaBalaga

Dear @kclchan ,

Thanks for waiting, please check the attached DEBUG9 logs captured.

Help us to either resolve this issue or support us to analyze the root cause from the DEBUG9 logs.

Let us know for any other information needed from our end. log_A10_AudibleResumeIssue_DEBUG9.txt

DeepikaBalaga avatar Aug 17 '20 04:08 DeepikaBalaga

Hi @DeepikaBalaga The latest log you provided shows that the client is not connected to Alexa yet. It appears there is an issue with registration as well:

2020-08-14 06:19:43.416 [ 2c] E MessageRequest:onExceptionReceived:exception={"header"\:{"namespace"\:"System"\,"name"\:"Exception"\,"messageId"\:"58cb66c9-6a06-4ecc-a5f1-95fc824cffc3"}\,"payload"\:{"code"\:"INVALID_REQUEST_EXCEPTION"\,"description"\:"Registration information does not match for the AVS endpoint\: Registered productId is <CDR8010>. Registered deviceSerialNumber is <61A4B000204>"}}

Could you please share how you registered the device and how you generated the AlexaClientSDKConfg.json file?

mvelegon-amzn avatar Aug 21 '20 00:08 mvelegon-amzn

Hi @DeepikaBalaga The latest log you provided shows that the client is not connected to Alexa yet. It appears there is an issue with registration as well:

2020-08-14 06:19:43.416 [ 2c] E MessageRequest:onExceptionReceived:exception={"header"\:{"namespace"\:"System"\,"name"\:"Exception"\,"messageId"\:"58cb66c9-6a06-4ecc-a5f1-95fc824cffc3"}\,"payload"\:{"code"\:"INVALID_REQUEST_EXCEPTION"\,"description"\:"Registration information does not match for the AVS endpoint\: Registered productId is <CDR8010>. Registered deviceSerialNumber is <61A4B000204>"}}

Could you please share how you registered the device and how you generated the AlexaClientSDKConfg.json file?

Hi @mvelegon-amzn , Seems we have uploaded some other logs, we will try to provide New DEBUG9 logs with you again. Apologies for the inconvinience.

For your query - Could you please share how you registered the device and how you generated the AlexaClientSDKConfg.json file? We have registered the device using CBL process at the link - https://amazon.com/us/code

AlexaClientSDKConfig.json file is generated during building of AVS-SDK and will be pushed to the device to /product/avs/ folder.

Please wait till we send the new DEBUG9 logs with issue reproducibility scenario.

Thanks!

DeepikaBalaga avatar Aug 21 '20 14:08 DeepikaBalaga

Dear @mvelegon-amzn @kclchan ,

Please check the below attached DEBUG9 logs for this issue. Let me know for any further information from our end.

As this is a long time issue, please help to check and help us fast. Thanks! A10_audibleLogs.txt

DeepikaBalaga avatar Aug 25 '20 04:08 DeepikaBalaga

Hi @DeepikaBalaga I see from the logs that following the resume utterance, that a Play Directive for Amazon Music. I'm going to raise this issue with the cloud team to see why this is being sent.

womw avatar Aug 26 '20 17:08 womw

@womw , Thanks for the update.

just for information, please note that this issue is getting reproduced only with one account - [email protected]

We have verified with other accounts and working as expected overthere.

Please help to check whether this cloud issue might be an account related issue!! We will be waiting for your response.

Thanks in advance!

DeepikaBalaga avatar Aug 26 '20 20:08 DeepikaBalaga

Hi @DeepikaBalaga can you provide a more recent log of this issue happening? It will help assist our Cloud team with their investigation.

womw avatar Aug 27 '20 22:08 womw

Hi @womw , Please check the below logs attached below:: A10_audibleLogs.txt

We are observing this issue only on one account only with username [email protected]

Please help us to solve if this is an account related issue or any other cloud issue.

Thanks in advance!

DeepikaBalaga avatar Aug 28 '20 05:08 DeepikaBalaga

Hi @womw , @kclchan , @mvelegon-amzn ,

Please let us know for any updates on this issue and confirm whether it's any account related issue or not.

Thanks!

DeepikaBalaga avatar Sep 04 '20 05:09 DeepikaBalaga

Hi @DeepikaBalaga This issue is still under investigation

womw avatar Oct 14 '20 17:10 womw

Hello @DeepikaBalaga, Is this issue still persistent on the latest version of the AVS Device SDK?

blazusiak-amazon avatar Oct 03 '22 17:10 blazusiak-amazon

Hi team,

Thanks for the message.

I'm not sure about the issue as I left earlier organization. I'll surely forward this email and let them know to reproduce the issue.

Best, Deepika

On Mon, Oct 3, 2022, 18:35 Jacob Blazusiak @.***> wrote:

Hello @DeepikaBalaga https://github.com/DeepikaBalaga, Is this issue still persistent on the latest version of the AVS Device SDK?

— Reply to this email directly, view it on GitHub https://github.com/alexa/avs-device-sdk/issues/1770#issuecomment-1265801398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTWRLUZHBJ5HJP6U6VZTGTWBMKOHANCNFSM4PS52FNQ . You are receiving this because you were mentioned.Message ID: @.***>

DeepikaBalaga avatar Oct 03 '22 18:10 DeepikaBalaga

Hello @DeepikaBalaga,

Due to the inactivity of this ticket, this ticket will be closed. Please feel free to re-open the ticket if you have more questions or feel that your question has not been answered fully.

blazusiak-amazon avatar Nov 14 '22 01:11 blazusiak-amazon