PlexConnect won't sign in

Hi,

PlexConnect stopped working for me 4 days ago. So I did a bunch of stuff: rolled PMS back to previous version, updated PlexConnect, hard coded the PMS IP in the config file, deleted and reinstalled the cert but no go - just won’t find any servers. Upon looking at the Python command window, it looks like every time I was trying to sign in that’s where the problem lies. It can’t find a file… Any help would be great. Thank you. I apologize ahead of time if I missed something really obvious.

Oct 03,2020 17:20:44 PlexConnect: ***
Oct 03,2020 17:20:44 PlexConnect: PlexConnect
Oct 03,2020 17:20:44 PlexConnect: Press CTRL-C to shut down.
Oct 03,2020 17:20:44 PlexConnect: ***
Oct 03,2020 17:20:44 PlexConnect: Started
Oct 03,2020 17:20:44 PlexConnect: Version: 0.7.1-080420
Oct 03,2020 17:20:44 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]
Oct 03,2020 17:20:44 PlexConnect: Host OS: win32
Oct 03,2020 17:20:44 PlexConnect: PILBackgrounds: Is PIL installed? False
Oct 03,2020 17:20:44 PlexConnect: IP_PMS: 192.168.1.102
Oct 03,2020 17:20:44 PlexConnect: IP_self (from settings): 192.168.1.102
Oct 03,2020 17:20:44 DNSServer: Started
Oct 03,2020 17:20:44 DNSServer: Intercept Atv Icon: Enabled
Oct 03,2020 17:20:44 DNSServer: Prevent Atv Update: Enabled
Oct 03,2020 17:20:44 DNSServer: ***
Oct 03,2020 17:20:44 DNSServer: DNSServer: Serving DNS on 192.168.1.102 port 53.
Oct 03,2020 17:20:44 DNSServer: intercept: [‘trailers.apple.com’, ‘a1.phobos.apple.com’] => 192.168.1.102
Oct 03,2020 17:20:44 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld.apple.com.edgesuite.net’] => 127.0.0.1
Oct 03,2020 17:20:44 DNSServer: forward other to higher level DNS: 8.8.8.8
Oct 03,2020 17:20:44 DNSServer: ***
Oct 03,2020 17:20:44 WebServer: Started
Oct 03,2020 17:20:44 WebServer: ***
Oct 03,2020 17:20:44 WebServer: WebServer: Serving HTTP on 192.168.1.102 port 80.
Oct 03,2020 17:20:44 WebServer: ***
Oct 03,2020 17:20:45 WebServer: Started
Oct 03,2020 17:20:45 WebServer: ***
Oct 03,2020 17:20:45 WebServer: WebServer: Serving HTTPS on 192.168.1.102 port 443.
Oct 03,2020 17:20:45 WebServer: ***
Oct 03,2020 17:21:43 DNSServer: DNS request received!
Oct 03,2020 17:21:43 DNSServer: Source: (‘192.168.1.157’, 49220)
Oct 03,2020 17:21:43 DNSServer: Domain: p71-buy.itunes.apple.com
Oct 03,2020 17:21:43 DNSServer: ***forward request
Oct 03,2020 17:21:43 DNSServer: -> DNS response from higher level
Oct 03,2020 17:21:47 DNSServer: DNS request received!
Oct 03,2020 17:21:47 DNSServer: Source: (‘192.168.1.157’, 52784)
Oct 03,2020 17:21:47 DNSServer: Domain: trailers.apple.com
Oct 03,2020 17:21:47 DNSServer: ***intercept request
Oct 03,2020 17:21:47 DNSServer: -> DNS response: 192.168.1.102
Oct 03,2020 17:21:47 WebServer: serving /js/application.js
Oct 03,2020 17:21:47 WebServer: serving .xml: /
Oct 03,2020 17:21:47 PlexAPI: Plex Media Servers found: 0
Oct 03,2020 17:21:47 WebServer: serving .xml: /PlexConnect.xml
Oct 03,2020 17:21:47 WebServer: serving /js/utils.js
Oct 03,2020 17:21:47 WebServer: serving /js/handlePlexConnectNavbar.js
Oct 03,2020 17:21:48 WebServer: serving .xml: /media/providers
Oct 03,2020 17:21:48 WebServer: serving /js/utils.js
Oct 03,2020 17:21:48 WebServer: serving /js/sectionHoldSelect.js
Oct 03,2020 17:21:50 WebServer: serving .xml: /channels/all
Oct 03,2020 17:21:50 WebServer: serving /js/utils.js
Oct 03,2020 17:21:50 WebServer: serving .xml: /media/providers
Oct 03,2020 17:21:50 WebServer: serving /js/utils.js
Oct 03,2020 17:21:50 WebServer: serving /js/sectionHoldSelect.js
Oct 03,2020 17:21:51 WebServer: serving .xml: /channels/all
Oct 03,2020 17:21:51 WebServer: serving /js/utils.js
Oct 03,2020 17:21:51 WebServer: serving .xml: /media/providers
Oct 03,2020 17:21:51 WebServer: serving /js/utils.js
Oct 03,2020 17:21:51 WebServer: serving /js/sectionHoldSelect.js
Oct 03,2020 17:22:03 WebServer: serving .xml:
Oct 03,2020 17:22:04 WebServer: serving .xml: /
Oct 03,2020 17:22:04 WebServer: serving /js/utils.js
Oct 03,2020 17:22:04 WebServer: serving /js/settings.js
Oct 03,2020 17:23:18 DNSServer: DNS request received!
Oct 03,2020 17:23:18 DNSServer: Source: (‘192.168.1.157’, 51998)
Oct 03,2020 17:23:18 DNSServer: Domain: trailers.apple.com
Oct 03,2020 17:23:18 DNSServer: ***intercept request
Oct 03,2020 17:23:18 DNSServer: -> DNS response: 192.168.1.102
Oct 03,2020 17:23:18 WebServer: serving .xml: /PlexConnect.xml
Oct 03,2020 17:23:33 WebServer: serving .xml: /
Oct 03,2020 17:23:33 WebServer: serving .xml: /PlexConnect.xml
Oct 03,2020 17:23:34 WebServer: File Not Found:
Traceback (most recent call last):
File “C:\PlexConnect\WebServer.py”, line 248, in do_GET
XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + query, options)
File “C:\PlexConnect\XMLConverter.py”, line 249, in XML_PMS2aTV
(username, auth_token) = PlexAPI.MyPlexSignIn(parts[0], parts[1], options)
File “C:\PlexConnect\PlexAPI.py”, line 691, 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 1] _ssl.c:507: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol>

Please try the following:

  1. Start PlexConnect
  2. Logoff plex.tv (in PlexConnect settings)
  3. Login plex.tv again

If this does not work I need the full PlexConnect.log file

Thanks for getting back so quickly moody. I’m already logged out of PlexConnect, but can’t sign back in. Just spins and spin. Attached is the log file. I’ve also attached the ATVSettings just in case (renamed to .txt so I could upload).

ATVSettings.txt (1.7 KB)
PlexConnect.log (2.2 KB)

Delete ATVSettings.cfg and try again. Also see Q15 in FAQ.

Deleted, same thing. PlexConnect launches but I can’t sign in, just spins. I looked at Q15 in the FAQ before opening this thread. :slight_smile: I’ll attach the log file again just in case. Sorry and thank you for your help.
PlexConnect.log (3.5 KB)

This is probably because of this Plex announcement, but I will check.

This problem also appeared.
And the Server was not visible in Plexconnect.
I was helped by updating Python to the latest (2.7.18) version

2 Likes

I updated Python and this worked! Thank you moody and fangornm! I totally appreciate your help with this.

Documentation updated. Some platforms where PlexConnect can be installed, such as jb’d ATV2 and ATV3, support old python versions only. plex.tv login now requires python 2.7.9+ for TLS 1.1 support. Those platforms will be limited to local/GDM support from now on.

awesome! thank-you so much! So simple in the end!

You have saved my sanity. Thank you so much!

Is there some way to use Plex an ATV 3rd gen now?
It doesn’t see my local plex server :frowning:

@timur_senchenkov This announcement has two consequences:

  1. If you have PlexConnect installed in the ATV3 you can’t login it to plex.tv, therefore you can’t access remote PMS, or use plex pass. But you can use your local PMS (see below)
  2. If you have PlexConnect installed in other platform, you need to install python 2.7.9 or higher (2.7.18 is recommended)

If you opt for option 1. above these are the steps to access a local PMS:

  1. Identify the IP assigned to the ATV3 and parametrize PMS according to Q7 in FAQ’s
  2. SSH to the ATV3 and stop PlexConnect (see Wiki)
  3. Edit Settings.cfg so that enable_plexgdm = False and ip_pms = x.x.x.x (where x.x.x.x is the ip address of the ATV3)
  4. Start PlexConnect

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