Coder Social home page Coder Social logo

Comments (6)

 avatar commented on August 19, 2024 1

{
"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "Playing Aerosmith from Shachar-PC."
},
"shouldEndSession": true
},
"sessionAttributes": {}
}

You got it! Thank you! How did you come up with the exact URL?

from plexmusicplayer.

 avatar commented on August 19, 2024 1

Thank you again! You can delete the sensitive info please...

You rock!

from plexmusicplayer.

Tyzer34 avatar Tyzer34 commented on August 19, 2024

Hi! You should go to the Heroku dashboard and check the logs there. If you could provide them, it would give a lot more insight on the matter.

from plexmusicplayer.

 avatar commented on August 19, 2024

Thanks! Dang it. Did not take care of log util. This is what Heroku has (from the last hour or so...)

2017-01-30T19:20:19.005064+00:00 heroku[web.1]: Unidling
2017-01-30T19:20:19.005360+00:00 heroku[web.1]: State changed from down to starting
2017-01-30T19:20:23.452261+00:00 heroku[web.1]: Starting process with command waitress-serve --port=36126 server:application
2017-01-30T19:20:26.445444+00:00 app[web.1]: Serving on http://0.0.0.0:36126
2017-01-30T19:20:27.087887+00:00 heroku[web.1]: State changed from starting to up
2017-01-30T19:20:28.149260+00:00 app[web.1]: https://hidden-ip/search?query=Aerosmith&X-Plex-Token=Qu7DyB6w1JiatxoXN7pW&type=8
2017-01-30T19:20:28.664968+00:00 heroku[router]: at=info method=POST path="/plex" host=hidden-host request_id=10fdccde-2251-4a4d-974c-a6b4116b9c33 fwd="72.21.217.163" dyno=web.1 connect=1ms service=606ms status=200 bytes=337
2017-01-30T19:20:28.694424+00:00 app[web.1]: ERROR:requests.packages.urllib3.connection:Certificate did not match expected hostname: hidden-ip. Certificate: {'subject': ((('commonName', '.proxytoken.plex.direct'),),), 'subjectAltName': [('DNS', '.proxytoken.plex.direct')]}
2017-01-30T19:20:47.184303+00:00 app[web.1]: https://hidden-ip:hidden-port/search?query=Aerosmith&X-Plex-Token=hidden-plextoken&type=8
2017-01-30T19:20:47.756344+00:00 app[web.1]: ERROR:requests.packages.urllib3.connection:Certificate did not match expected hostname: hidden-ip. Certificate: {'subject': ((('commonName', '.d9ba61b0c9244cc6a60ed468efc06968.plex.direct'),),), 'subjectAltName': [('DNS', '.d9ba61b0c9244cc6a60ed468efc06968.plex.direct')]}
2017-01-30T19:20:47.725354+00:00 heroku[router]: at=info method=POST path="/plex" host=hidden-host request_id=51d07894-6484-4464-b8ae-5af4e63ea033 fwd="72.21.217.172" dyno=web.1 connect=1ms service=629ms status=200 bytes=337

from plexmusicplayer.

Tyzer34 avatar Tyzer34 commented on August 19, 2024

The problem that is occurring is that the certificate found on the host device of your Plex server does not match it's ip address. This is because the environmental variable on Heroku for the Plex URL is set to a direct link, rather than the Plex Proxy link. The difference is that the Plex Proxy link offers that https connection, while the direct link does not support this, causing application failure. You should set your Heroku environmental variable to the following url:
hidden-link
(Also, be wary with posting your ip-address and open ports online)

from plexmusicplayer.

Tyzer34 avatar Tyzer34 commented on August 19, 2024

Glad to hear I could be of help! Each plex proxy url is unique, but they are always composed in the same way. Because of your logs, I was able to compose it manually :)
The first part is your ip-address, followed by the 'plex proxy token' .plex.direct, followed by your plex port :)

from plexmusicplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.