Comments (6)
{
"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.
Thank you again! You can delete the sensitive info please...
You rock!
from plexmusicplayer.
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.
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.
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.
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)
- Using waitress might prove to be too slow HOT 1
- It should be possible to add tracks to the current playlist
- Better handling of requests that fetch large amounts of tracks HOT 3
- Pause and resume HOT 3
- Prevent Bad Requests on PlaybackStarted, PlaybackStopped and PlaybackFinished requests
- Unable to find my library HOT 1
- Different results for two songs in the same album HOT 16
- Playing all tracks by an artist should shuffle songs HOT 1
- *Almost* working via Centos7+httpd+wsgi+ssl+python2.7 HOT 11
- Can't get playback working on 2nd Gen Dot HOT 1
- Started only playing one song from the queue. HOT 9
- I was not able to find {artist} in your library.
- Cannot find anything in library, and errors on status
- Songs keep stopping HOT 2
- Display current artist \ album \ song on Echo Show
- I am impressed by this HOT 5
- newb help
- Suggest to loosen the dependency on fuzzywuzzy
- Heroku alternative
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plexmusicplayer.