Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Skill took to long to respond when playing playlists #215

Open
knurp5 opened this issue May 10, 2018 · 2 comments
Open

Skill took to long to respond when playing playlists #215

knurp5 opened this issue May 10, 2018 · 2 comments

Comments

@knurp5
Copy link

knurp5 commented May 10, 2018

I have geemusic running on Docker on a digitalocean droplet.
Everything works fine, but playlists constantly run into a timeout (skill took too long to respond).
I tried to increase the CPUs of the droplet without success.

When I use the Alexa developer portal to debug the request for "alexa ask geemusic to play playlist audiotest", I see the following output: The requested skill took too long to respond.

{
"version": "1.0",
"session": {
"new": true,
"sessionId": "amzn1.echo-api.session.f13e71dc-0980-abcd-efgh-85f3f772983b",
"application": {
"applicationId": "amzn1.ask.skill.84f50d5b-abcd-434f-efgh-5c73d38a8b0c"
},
"user": {
"userId": "amzn1.ask.account.AHD2LBMHJQCV3DLYOXRMBSVVV5UFB3RNXQCWQQ7VD2OU6PFGXYSP67SGDIK3MR6MLUS2FP4UEHOWVEPIRS55U4HKJ6QU2T2G4YE4Q7F6QD6OC4TINZHT2FPK54SEY"
}
},
"context": {
"AudioPlayer": {
"playerActivity": "IDLE"
},
"Display": {},
"System": {
"application": {
"applicationId": "amzn1.ask.skill.84f50d5b-93ff-434f-96d4-5c73d38a8b0c"
},
"user": {
"userId": "amzn1.ask.account.AHD2LBMHJQCV3DLYOXRMBSVVV5UFB3RNXQCWQQ7VD2OU6PFGXYSP67SGDIK3MR6MLUS2FP4UEHOWVEPIRS5MBIEACXOU2T2G4YE4Q7F6QD6OC4TINZHT2FPK54SEY"
},
"device": {
"deviceId": "amzn1.ask.device.AF6SQJ6HXUWA6LNK5NQ3FPKCEC3G65FVAKITL25TM64SCZJW744COUERR7FV6X5ELKTOKGRDAIONRYP3OYNFUAOE5XLYU3YIRAGZBFSVCCW4XQ",
"supportedInterfaces": {
"AudioPlayer": {},
"Display": {
"templateVersion": "1.0",
"markupVersion": "1.0"
}
}
},
"apiEndpoint": "https://api.eu.amazonalexa.com",
"apiAccessToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOiJodHRwczovL2FwaS5hbWF6b25hbGV4YS5jb20iLCJpc3MiOiJBbGV4YVNrHWFlTUDY3U0dESUszTVI2TUxVUzJGUDRVRUhPV1ZFUElSUzVNQklFQUNYT0RIQVJDNkRNSEFWQUxHWk1TSklHUlo0SDdJWVFORUhSS1Y1TEc3WkYzRkk1QklNR1EyU0RaUDNGUFpBM1lGMk1UTVlKR1BSTkY3NVU0SEtKNlFVMlQyRzRZRTRRN0Y2UUQ2T0M0VElOWkhUMkZQSzU0U0VZIn19.GiezESshUYJVmZU-kpYVp78IeoFX6O07SY7eYKAK21wB4bayY3dVYD2b35CFiV-ib7SmtODVg2p-75jBUYKgxGzBt0BSpIITX4h-R4__J2Q2jFVs3fE0ynieSFC0-W56ZhKEJNsv7HNXQuARa0_hmjPzF4c9fVw74BJb5uHcP_IiaRctjOpr7fJ3Gpa7lhLeRHgcgFEbA1YcaXvUf6B5YLOgSP6rzQ-Q3-BNSGM8jSGHx1RDPnWnswabA1T1U4L2hnkSp7GRWm4i7uA1tPYmjOZDZ0YsQk5-rqzTQFwur0AK-qZ-EOAxzYdbmglKGiXK9YYvwsv3eVx-k52BABMj-A"
}
},
"request": {
"type": "IntentRequest",
"requestId": "amzn1.echo-api.request.988eec4c-d5af-4804-b31e-a456e44c9d40",
"timestamp": "2018-05-10T14:01:38Z",
"locale": "de-DE",
"intent": {
"name": "GeeMusicPlayPlaylistIntent",
"confirmationStatus": "NONE",
"slots": {
"playlist_name": {
"name": "playlist_name",
"value": "audiotest",
"resolutions": {
"resolutionsPerAuthority": [
{
"authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.84f50d5b-93ff-434f-96d4-5c73d38a8b0c.MUSICPLAYLIST",
"status": {
"code": "ER_SUCCESS_NO_MATCH"
}
}
]
},
"confirmationStatus": "NONE"
}
}
}
}
}

@fergyfresh
Copy link
Collaborator

@knurp5 how long is your playlist? If your playlist is VERY long, can you try it with a smaller playlist. We might need to return portions of the playlist at a time, or something else. It might be choking on loading every song in the playlist.

@knurp5
Copy link
Author

knurp5 commented Jun 15, 2018

I tested several scenarios, my playlist audiotest has 21 songs only and runs into the same timeout.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants