Plexconnect NO PLEX LIBRARY AVAILABLE

@amlloyd said:

@ebbandflow said:
It appears as though the change needs to be made on the PMS > Settings > Network > “List of IP addresses and networks that are allowed without auth” and you have to use the ATV IP not the PMS IP.

I tried this, entering the ATV’s IP, but still same error. Ugh.

Add both the IP address from your ATV and the IP SELF from PlexConnect (DNS from ATV) to the list of addresses in PMS. Remember to separate with a comma.

@amlloyd said:

I have an ATV3, and I just followed @rmharper’s suggestion of grabbing the latest version of plexconnect. I made sure that i copied the contents of the certificate folder over to the new version, then started the new version, and edited the newly created Settings.cfg file with the appropriate IP’s and what not from my previous version (and restarted plexconnect). The reason I didn’t just copy/paste the old settings file was b/c the new one had some additional lines that weren’t in the old one, so I just left them.

Long story short, I was able to log into my plex account (using my plex username, not email) and the server is showing! Thanks!

amlloyd it is not clear to me where have you inserted the IP and which IP you have inserted.
This is my Settings.cfg

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

here i see ip_pms (the IP address associated is not real, is not an IP of my network, don’t know where this comes from) and also ip_plexconnect.
You say “edited the newly created settings.cfg file with the appropriate IP”, which IP you’ve filled in? Plex Server IP or aTV3 IP? and in which of the 2 fields ip_pms / ip_plexconnect?

@amlloyd said:

@Ronin_Ng said:

@rmharper said:
I thought I was on the latest version of PlexConnect, but I re downloaded it and that seems to have fixed the problem, in combination with signing in on the ATV.

What version of ATV? I have ATV2 which worked under new version but I’m unable to sign into with my ATV3 with new software. Even with IP authorization entered.

I have an ATV3, and I just followed @rmharper’s suggestion of grabbing the latest version of plexconnect. I made sure that i copied the contents of the certificate folder over to the new version, then started the new version, and edited the newly created Settings.cfg file with the appropriate IP’s and what not from my previous version (and restarted plexconnect). The reason I didn’t just copy/paste the old settings file was b/c the new one had some additional lines that weren’t in the old one, so I just left them.

Long story short, I was able to log into my plex account (using my plex username, not email) and the server is showing! Thanks!

Can you be specific about the editing of the settings.cfg? What did you modify and where? I thought the IP address to enter was on the server itself and on plexconnect settings.

Thanks.

The recent Plex update as killed my plexconnect - shame it was all going so well. Ditched it now. I know it possibly can be fixed.

One real issue for me is that the device serving the plex media library needs to remain on, otherwise Netflix, Itunes, Airplaying etc. stop working on the ATV3.

The creaters of Plex Connect came up with a great solution - so Thank you.

Going to go back to Plex ios and Airplaying (and Samsung blu ray player with plex app).

@orac1971 said:
One real issue for me is that the device serving the plex media library needs to remain on, otherwise Netflix, Itunes, Airplaying etc. stop working on the ATV3.
What needs to be on 24x7 is the device where PlexConnect is installed, not “the device serving the plex media library”. To have the ATV3 available 24x7 for all services you need one of the following options:

  1. Install PlexConnect in a device that can be up 24x7, such as an ATV2 or a NAS
  2. Activate dnsmasq in a device that can be up 24x7, such as a router or RasPI
  3. Change the DNS in the ATV3 as needed (not exactly a “confortable” option)

The only thing I could do is point 3) and I don’t want the hassle.

Didn’t know you could install plex connect on an ATV2?

I tried everything suggested on this forum but nothing solved the situation.

  1. tried to modify the settings.cfg file, adding first the Plex server ip address and also the Plex Connect Server ip address. Then tried to login with my Plex account inside Plex on aTV3 and i was still getting the spinning circle.
  2. tried to add the ip address of my aTV3 in the exception list inside the Network advanced settings in my Plex Server, but i still get the error which i can’t reach from aTV the Plex library.

I gave up. Rollback to the previous server release until someone else comes here giving a clear solution for this situation

How do you rollback to a previous server release though?

My Plex server relay on a QNAP Nas. I simply uploaded manually the QPKG of the previous server version and that’s it, I can continue using Plex, but this is pretty odd

@Ronin_Ng said:
Can you be specific about the editing of the settings.cfg? What did you modify and where? I thought the IP address to enter was on the server itself and on plexconnect settings.

Thanks.

Here is my config file:

[PlexConnect]
enable_plexgdm = False
ip_pms = 192.168.1.173
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 192.168.1.1
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.1.173
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = Normal
logpath = .

since my plex media server and plexconnect are on the same machine, I set ip_pms and ip_plexconnect to that machine’s local IP. ip_dnsmaster is my router’s IP, since that is serving as the DNS.

Got it working -

  1. went 2 versions back for Plex Media Server
  2. reinstalled Plex Connect and set up the ATV3 from scratch

Have to be very careful with just updating Plex Server from now on if I want to continue using Plex Connect

I can confirm that I got this working per amlloyd’s instructions in this thread. I will elaborate a little.

  • Made a back up copy of my entire PlexConnect-master folder located C:Program Files (x86)
  • Downloaded newest version of PlexConnect to ensure I was up to date. Located here: https://github.com/iBaa/PlexConnect/archive/master.zip
  • Copied all files/folders from that new zip download into the C:Program Files (x86)\PlexConnect-master folder.
  • Then took the 3 certs from my backup folder and put into the main PlexConnect-master folder
  • Launched PlexConnect so that it creates the settings.cfg file
  • Edit that newly created file so that the ip_pms and ip_plexconnect fields are set to my Plex Server local machine IP (mine is static set from the router)
  • Edit ip_dnsmaster field to be the ip of the router.

Done!! Works like a charm. But there’s 15 mins I’ll never get back :slight_smile:

Well, i tried to follow these steps and up to the 5th point i did the same.

Then, 6th point, you say to insert the same ip address both on ip_pms and ip_plexconnect, but if do this i get an error trying to lunch Plex Connect telling me that the ip_plexconnect is not valid. I have the flex Server on the NAS 192.168.1.100, and the PlexConnect server on a different machine (windows 7 192.168.1.110). So in order to be able to execute the plex connect server i have to put 192.168.1.100 on ip_pms, and 192.168.1.110 on ip_plexconnect. I then have inserted the router ip (192.168.1.1) on the ip_dnsmaster parameter.

But with this configuration when i try to login with my flex account i still get this error message:

21:02:31 WebServer: File Not Found:
Traceback (most recent call last):
File “C:\PlexConnect\WebServer.py”, line 229, in do_GET
XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + query, options)
File “C:\PlexConnect\XMLConverter.py”, line 241, in XML_PMS2aTV
(username, auth_token) = PlexAPI.MyPlexSignIn(parts[0], parts[1], options)
File “C:\PlexConnect\PlexAPI.py”, line 654, in MyPlexSignIn
response = urlopener.open(request).read()
File “C:\Python27\lib\urllib2.py”, line 404, in open
response = self._open(req, data)
File “C:\Python27\lib\urllib2.py”, line 422, in _open
‘_open’, req)
File “C:\Python27\lib\urllib2.py”, line 382, in _call_chain
result = func(*args)
File “C:\Python27\lib\urllib2.py”, line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File “C:\Python27\lib\urllib2.py”, line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 11004] getaddrinfo failed>

So here it seems that it’s missing a fiscal file… is anybody experiencing the same issue? Is it just me? I’m using the very last version of flex connect on Github so i can’t explain why there’s some file missing…

EDIT: it was a problem of mine. there was a mistake in the setting of the DNS for the PlexConnect machine, was set the NAS instead of the router, that’s why i was getting that error, because python wasn’t able to resolve the address PlexConnect was asking to login with Plex Credentials. Nice, to have finally fixed this.

Nice. Glad you got it working. I forgot to mention in my post, that to get it working, I did have to sign out and sign back into Plex on my ATV3’s.

A quick fix for this issue is to disable or sign out the server in plex , by doing this plexconnect works as normal but my xbox plex app stops connecting to the plex server.

I have solved the issue entering the Plex Media Server IP under the settings for: “List of IP addresses and networks that are allowed without auth

Like gipasoft, it only worked for me when I entered the Plex server IP address into the list of allowed IP addresses. Doesn’t make much sense to me since I thought I should have entered the ATV IP address instead, but whatever works…

Instead of inputting the PMS server address into the ‘no auth required’ list, can I set PMS to allow an IP range so it covers any device used on my local network. i.e allow 192.168.0.x address. PMS states you can enter an IP address or netmask entries - I have no knowledge of netmask but sounds like it would cover a broader range of more than just individual IP addresses?

oh god. Finally I got it working. In “List of IP addresses and networks that are allowed without auth” section, you have to use netmask as well. For example, if your ATV’s IP address is 192.168.0.100, you have to use 192.168.0.100/255.255.255.0 to make it work.

Does it works well for you ?
I have still the issue (no thumbnails then “lost of connection”) an ATV reboot and it works well until the next trouble.

latest server: 1.2.3.2914
latest plexconnect
no secure connection in plex conf
network with netmask in the list of network allowed without auth
logged in atv->plexconnect to plex account

Help would be appreciated :slight_smile:

Moreover, plexconnect log does not show valuable info to debug or patch :frowning: