Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

I was not able to find {artist} in your library. #30

Open
maticslaszlo opened this issue Aug 26, 2017 · 0 comments
Open

I was not able to find {artist} in your library. #30

maticslaszlo opened this issue Aug 26, 2017 · 0 comments

Comments

@maticslaszlo
Copy link

maticslaszlo commented Aug 26, 2017

Hi,

I try to setup PlexMusicPlayer, but there is a constant problem:
Input Json from skill:
{ "session": { "new": false, "sessionId": "SessionId.9d42446e-36b6-4f95-88be-52f527526cbd", "application": { "applicationId": "amzn1.ask.skill.55b69e44-928e-458f-8694-78478aab2bac" }, "attributes": {}, "user": { "userId": "amzn1.ask.account.AGE6VWIL5OKDU2VVYFNZJ5IIZ5CUXJHKWCXKJHOJL5Y7EYRDTFSOWE4RBMO74XCJ3PDPOJ3IEVPMDZ6NA3XIGHUDMCTHQONH6GEYLPJSO3BD6Q7SYOO4Y7GTOCL2Z4KH2L2TBL4FQT5JNPV2IUSEZWH2GX4E5OHE7FVETJ3NOZSZDNI6N67KEXQHB6UXGWME4WBDBXJQ3BK37CI" } }, "request": { "type": "IntentRequest", "requestId": "EdwRequestId.286236d2-88d0-4035-8867-fed0f6e03204", "intent": { "name": "PlexPlayArtistIntent", "slots": { "artist": { "name": "artist", "value": "zorall" } } }, "locale": "en-US", "timestamp": "2017-08-26T16:25:25Z" }, "context": { "AudioPlayer": { "playerActivity": "IDLE" }, "System": { "application": { "applicationId": "amzn1.ask.skill.55b69e44-928e-458f-8694-78478aab2bac" }, "user": { "userId": "amzn1.ask.account.AGE6VWIL5OKDU2VVYFNZJ5IIZ5CUXJHKWCXKJHOJL5Y7EYRDTFSOWE4RBMO74XCJ3PDPOJ3IEVPMDZ6NA3XIGHUDMCTHQONH6GEYLPJSO3BD6Q7SYOO4Y7GTOCL2Z4KH2L2TBL4FQT5JNPV2IUSEZWH2GX4E5OHE7FVETJ3NOZSZDNI6N67KEXQHB6UXGWME4WBDBXJQ3BK37CI" }, "device": { "supportedInterfaces": {} } } }, "version": "1.0" }

an output is:
{ "version": "1.0", "response": { "outputSpeech": { "text": "I was not able to find zorall in your library.", "type": "PlainText" }, "speechletResponse": { "outputSpeech": { "text": "I was not able to find zorall in your library." }, "shouldEndSession": true } }, "sessionAttributes": {} }

Heroku log's always contains code 200:
2017-08-26T16:25:26.023728+00:00 heroku[router]: at=info method=POST path="/plex" host=plexmusichq.herokuapp.com request_id=9268e2c4-ad03-40ec-8a7e-58c807c0b5bd fwd="72.21.217.139" dyno=web.1 connect=1ms service=145ms status=200 bytes=334 protocol=https
Another info:
Tcpdump doesn't show anything traffic to my port 32400.
If i try to search manually in plex by curl, there is correct:

`
About to connect() to XX.XXXXXXXXXXX.hu port 32400 (#0)
Trying XX.XX.XX.XX...
connected
Connected to XX.XXXXXXXXX.hu (XX.XX.XX.XX) port 32400 (#0)
successfully set certificate verify locations:* CAfile: none
CApath: /etc/ssl/certs
SSLv3, TLS handshake, Client hello (1):
} [data not shown]
SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
SSLv3, TLS handshake, CERT (11):
{ [data not shown]
SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
SSLv3, TLS handshake, Finished (20):
} [data not shown]
SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
SSLv3, TLS handshake, Finished (20):
{ [data not shown]
SSL connection using ECDHE-RSA-AES128-GCM-SHA256
Server certificate:
subject: CN=XX.XXXXXXXXXXX.hu
start date: 2017-08-24 21:00:00 GMT
expire date: 2017-11-22 21:00:00 GMT
subjectAltName: XX.XXXXXXXXXXX.hu matched
issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
SSL certificate verify ok.

GET /search?query=zorall&X-Plex-Token=XXXXXXXXXXXXXXXXXXXXXX&type=10 HTTP/1.1
User-Agent: curl/7.26.0
Host: XX.XXXXXXXXX.hu:32400
Accept: /

additional stuff not fine transfer.c:1037: 0 0
HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Type: text/xml;charset=utf-8
< Content-Length: 14042
< Connection: Keep-Alive
< Keep-Alive: timeout=20
< X-Plex-Protocol: 1.0
< Cache-Control: no-cache
< Date: Sat, 26 Aug 2017 16:33:45 GMT
<
{ [data not shown]

.... `

There aren't any more logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant