PlexAPI: "We failed to reach a server: No host given"

Hi,

 

seems to be an issue in the latest update i think. looking at the log, i can see pms address is coming out blank...actually should there be a value there?  

22:49:19 WebServer: http request path:
/PMS()/library/sections&PlexConnectUDID=DY5JP5QDDRHN
22:49:19 Localize: aTVLanguage: en
22:49:19 WebServer: pms address:
 
22:49:19 WebServer: cleaned path:
/library/sections
22:49:19 WebServer: PlexConnect options:
anyway if i go back to a previous version of plexconnect from a few days ago it works fine though
 
here is my config

[PlexConnect]
logpath = .
enable_dnsserver = True
ip_webserver = 192.168.0.100
port_webserver = 80
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.0.100
certfile = C:\Portable\PlexConnect\PlexConnect-master\assets\certificates railers.pem
ip_dnsmaster = 194.168.8.100
loglevel = High
enable_plexgdm = False
ip_pms = 192.168.0.100
port_pms = 32400
port_ssl = 443
port_dnsserver = 53
enable_webserver_ssl = True

thanks

j

signing out of MyPlex in the settings menu fixed it . don't know why

thanks

j

Confirmed. This bug still exists. (and signing in and out) makes no difference.

I have downgraded until a fix is available

jmp909 had it fixed.

shockwave confirmed no fix?

How does that work?

Anyways, just to keep you guys informed: this issue is known, though not really understood. 

We are working on new code, not directly to fix it... but to provide a bigger overhaul to the whole server handling stuff. My estimate is, that this "bug" will go away. Or at least hide much better. :-)

So the moral is to downgrade at this point if you're experiencing the bug?

So the moral is to downgrade at this point if you're experiencing the bug?


Try signing out or refreshing the server, if that does not work then you can downgrade until it is fixed.
Implementing MyPlex with a clean approach and without quirks is quite involved.

Your ATV model : aTV 3 (5.1 5201)

The DNS server set on the ATV: 192.168.1.5

The device and operating system that PlexConnect is installed on: PC, Windows 7

The local IP address of the device that PlexConnect is installed on: 192.168.1.5

The device and operating system that the Plex media server (PMS) is installed on:  PC, Windows 7

The Plex media server (PMS) version number you are running : v1.2.17

The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.5

The PlexConnect version number: downloaded today (28 October 2013)

The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)

Settings.cfg

[PlexConnect]
enable_webserver_ssl = True
logpath = .
enable_dnsserver = True
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
 


ATVSettings.cfg

[DEFAULT]
showsynopsis = Hide
movies_navbar_decades = checked
showplayerclock = True
tv_navbar_unwatched = checked
movies_navbar_directors = checked
subtitlesize = 100
transcoderaction = Auto
tv_navbar_genres = checked
durationformat = Hours/Minutes
pms_uuid = *
clockposition = Center
movies_navbar_more = checked
showview = List
movieview = Grid
movies_navbar_unwatched = checked
overscanadjust = 0
movies_navbar_actors = checked
showendtime = True
tv_navbar_more = checked
audioboost = 100
transcodequality = 1080p 40.0Mbps
seasonview = List
myplex_auth =
showunwatched = True
movies_navbar_collections = checked
listviewmetadata = Show
myplex_user =
timeformat = 24 Hour
actorview = Movies
movies_navbar_genres = checked

[C0HJQTKVDRHN]
pms_uuid = 74835f425e6ae2431xxxxxxxa34e9f59d4c438d6
durationformat = Hours/Minutes
transcodequality = 1080p 40.0Mbps
myplex_user =
myplex_auth =
 

Detail on the media file if it is an issue related to playing a media file:

None

PlexConnect log:

16:16:06 PlexConnect: started: 16:16:06
16:16:06 PlexConnect: IP_self: 192.168.1.5
16:16:06 DNSServer: started: 16:16:06
16:16:06 DNSServer: ***
16:16:06 DNSServer: DNSServer: Serving DNS on 192.168.1.5 port 53.
16:16:06 DNSServer: ***
16:16:06 WebServer: started: 16:16:06
16:16:06 WebServer: ***
16:16:06 WebServer: WebServer: Serving HTTP on 192.168.1.5 port 80.
16:16:06 WebServer: ***
16:16:06 PlexAPI: ***
16:16:06 PlexAPI: looking up Plex Media Server
16:16:06 PlexAPI: ***
16:16:06 WebServer: started: 16:16:06
16:16:06 WebServer: ***
16:16:06 WebServer: WebServer: Serving HTTPS on 192.168.1.5 port 443.
16:16:06 WebServer: ***
16:16:07 PlexAPI: servers discovered: 1
16:16:07 XMLConverter: PlexGDM - PMS: 192.168.1.5:32400
16:17:10 PlexConnect: Shutting down.
16:17:10 WebServer: Shutting down.
16:17:11 WebServer: Shutting down.
16:17:11 DNSServer: Shutting down.
16:17:11 PlexConnect: shutdown

A detailed description of the issue (the clearer you can make this the better):

Trying to get PlexConnect working on a windows 7 pc, same location that i run PMS.

When i go the first time to Trailer app on the Apple-TV there is no PMS Server in the Namefield and i get this Lines in the Log:

PlexAPI: No Response from Plex Media Server
PlexAPI: We failed to reach a server. Reason: no host given
 
After refreshing the Field the Server comes up. But when i want to start a film now, i have all the time the issue "trailer is not available..."
 
I did this installation guide from github -> https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows with option 2, profil directly into the atv
 
Whats wrong? How could i downgrad to an older version of plexconnect? I couldn't find older files and no how to.
 
Thanks!

Your ATV model : aTV 3 (5.1 5201)
The DNS server set on the ATV: 192.168.1.5
The device and operating system that PlexConnect is installed on: PC, Windows 7
The local IP address of the device that PlexConnect is installed on: 192.168.1.5
The device and operating system that the Plex media server (PMS) is installed on:  PC, Windows 7
The Plex media server (PMS) version number you are running : v1.2.17
The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.5
The PlexConnect version number: downloaded today (28 October 2013)
The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)
 
Settings.cfg
[PlexConnect]
enable_webserver_ssl = True
logpath = .
enable_dnsserver = True
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
 

ATVSettings.cfg
[DEFAULT]
showsynopsis = Hide
movies_navbar_decades = checked
showplayerclock = True
tv_navbar_unwatched = checked
movies_navbar_directors = checked
subtitlesize = 100
transcoderaction = Auto
tv_navbar_genres = checked
durationformat = Hours/Minutes
pms_uuid = *
clockposition = Center
movies_navbar_more = checked
showview = List
movieview = Grid
movies_navbar_unwatched = checked
overscanadjust = 0
movies_navbar_actors = checked
showendtime = True
tv_navbar_more = checked
audioboost = 100
transcodequality = 1080p 40.0Mbps
seasonview = List
myplex_auth =
showunwatched = True
movies_navbar_collections = checked
listviewmetadata = Show
myplex_user =
timeformat = 24 Hour
actorview = Movies
movies_navbar_genres = checked
[C0HJQTKVDRHN]
pms_uuid = 74835f425e6ae2431xxxxxxxa34e9f59d4c438d6
durationformat = Hours/Minutes
transcodequality = 1080p 40.0Mbps
myplex_user =
myplex_auth =
 

 
Detail on the media file if it is an issue related to playing a media file:
None
 
PlexConnect log:

16:16:06 PlexConnect: started: 16:16:06
16:16:06 PlexConnect: IP_self: 192.168.1.5
16:16:06 DNSServer: started: 16:16:06
16:16:06 DNSServer: ***
16:16:06 DNSServer: DNSServer: Serving DNS on 192.168.1.5 port 53.
16:16:06 DNSServer: ***
16:16:06 WebServer: started: 16:16:06
16:16:06 WebServer: ***
16:16:06 WebServer: WebServer: Serving HTTP on 192.168.1.5 port 80.
16:16:06 WebServer: ***
16:16:06 PlexAPI: ***
16:16:06 PlexAPI: looking up Plex Media Server
16:16:06 PlexAPI: ***
16:16:06 WebServer: started: 16:16:06
16:16:06 WebServer: ***
16:16:06 WebServer: WebServer: Serving HTTPS on 192.168.1.5 port 443.
16:16:06 WebServer: ***
16:16:07 PlexAPI: servers discovered: 1
16:16:07 XMLConverter: PlexGDM - PMS: 192.168.1.5:32400
16:17:10 PlexConnect: Shutting down.
16:17:10 WebServer: Shutting down.
16:17:11 WebServer: Shutting down.
16:17:11 DNSServer: Shutting down.
16:17:11 PlexConnect: shutdown
A detailed description of the issue (the clearer you can make this the better):
Trying to get PlexConnect working on a windows 7 pc, same location that i run PMS.
When i go the first time to Trailer app on the Apple-TV there is no PMS Server in the Namefield and i get this Lines in the Log:
 
PlexAPI: No Response from Plex Media Server
PlexAPI: We failed to reach a server. Reason: no host given
 
After refreshing the Field the Server comes up. But when i want to start a film now, i have all the time the issue "trailer is not available..."
 
I did this installation guide from github -> https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows with option 2, profil directly into the atv
 
Whats wrong? How could i downgrad to an older version of plexconnect? I couldn't find older files and no how to.
 
Thanks!

https://github.com/iBaa/PlexConnect/wiki/Supported-Apple-TV-devices-and-firmwares
Essentially you either need to upgrade your ATV firmware or use the play button to skip the pre play screen (rather than hitting the centre button to select a film).

Essentially you either need to upgrade your ATV firmware or use the play button to skip the pre play screen (rather than hitting the centre button to select a film).

Thats the point!

"5.1 with limitation: aTV doesn't support so the PrePlayScreen is broken. Workaround: directly PLAY form movie list."

I didn't understand this, but now i know what it means. It works fine with the Play Button, thanks alot f00b4r! :)

Confirmed fixed for me with the latest release.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.