Plex Home

I'm having the same issue. I'm getting PlexAPI: We failed to reach a server. Reason: Unauthorized for all my libraries.

-> PlexHome: rewrite authorisation handling

Big rewrite of the whole initialization and authentication handling for PlexHome. I guess, I am a lot closer now to the intended design... no more unexplainable "We failed to reach a server".

Take a look. Do a test ride. Tell us your experiences. :-D

-> PlexHome: rewrite authorisation handling
Big rewrite of the whole initialization and authentication handling for PlexHome. I guess, I am a lot closer now to the intended design... no more unexplainable "We failed to reach a server".

Take a look. Do a test ride. Tell us your experiences. :-D


Much better, if i sign out from my kids user account it doesn't show my libraries. Only one thing, if i sign out from myplex and sign in again, it will show my libraries since I haven't select a user...

>>Only one thing, if i sign out from myplex and sign in again, it will show my libraries since I haven't select a user...

Yeah... it falls back to operation prior to or without the Plex Home feature - basically a "left home" state.

Does this hurt? Do you kids use your master account/passwort? They shouldn't, right?

>>Only one thing, if i sign out from myplex and sign in again, it will show my libraries since I haven't select a user...
Yeah... it falls back to operation prior to or without the Plex Home feature - basically a "left home" state.
Does this hurt? Do you kids use your master account/passwort? They shouldn't, right?

No they don't, but if in forget to sign in with my user once I sign in with myplex they will have access to my libraries.

Would it be possible to have a pop up once you enter plexconnect that will ask you who's watching tv, just like netflix?

P.s: don't get me wrong, this feature is great! Just try to have it the more secure for my kids. I think the best will be to automatically sign out from any user when you quit plexconnect and once you got back it ask you who's watching. If it's impossible, no problems at all with the way it is right now, i just have to be careful!!

I get the same error after updating to the latest commit :( in the log it now says it found 2 servers and also gets an key for my local server etc but then it says unauthorized..

It's not working for me either, it seems exactly like in the prior version with

23:00:32 PlexAPI: No Response from Plex Media Server
23:00:32 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:00:33 PlexAPI: No Response from Plex Media Server
23:00:33 PlexAPI: The server couldn't fulfill the request. Error code: 404

error messages and not showing more than "Search" as "library" under the plex-home-enabled server.

Anything I could do to make it work?

>>the same error after updating

Well, I said "unexplainable"... Let's hope I was right. :-D

Errors might show up eg. when you GDM your PMS, which doesn't accept requests without auth. But then trigger it without being signed into myPlex, or without a home user - cause PlexConnect would try an empty token, that for sure shouldn't work.

Falco, Maddhin: Signed in into myPlex? Selected a user for PlexHome?

I guess, I need more details, probably a full log... send it per PM if you fear the tokens.

Dear Baa,

I tried all combinations of MyPlex login and home user login but nothing seems to change / have an effect.

The only effect is when I sign in to MyPlex, the Cloud appears and shows the libraries in the cloud.

The log looks unspectacular:

For Win:

23:45:46 PlexConnect: started: 23:45:46
23:45:46 PlexConnect: Version: 0.5-dev
23:45:46 PlexConnect: Python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
23:45:46 PlexConnect: Host OS: win32
23:45:46 PlexConnect: PILBackgrounds: Is PIL installed? True
23:45:46 PlexConnect: IP_self: 192.168.2.20
23:45:47 DNSServer: started: 23:45:47
23:45:47 DNSServer: ***
23:45:47 DNSServer: DNSServer: Serving DNS on 192.168.2.20 port 53.
23:45:47 DNSServer: ***
23:45:48 WebServer: started: 23:45:48
23:45:48 WebServer: ***
23:45:48 WebServer: WebServer: Serving HTTP on 192.168.2.20 port 80.
23:45:48 WebServer: ***
23:45:48 WebServer: started: 23:45:48
23:45:48 WebServer: ***
23:45:48 WebServer: WebServer: Serving HTTPS on 192.168.2.20 port 443.
23:45:48 WebServer: ***
23:46:56 PlexAPI: ***
23:46:56 PlexAPI: looking up Plex Media Server
23:46:56 PlexAPI: ***
23:46:57 PlexAPI: GDM: Servers discovered: 2
23:47:01 PlexAPI: Servers (local, plex.tv, MyPlex): 4
23:47:01 PlexAPI: No Response from Plex Media Server
23:47:01 PlexAPI: We failed to reach a server. Reason: Unauthorized
23:47:17 PlexAPI: MyPlex Sign Out done
23:47:17 PlexAPI: ***
23:47:17 PlexAPI: looking up Plex Media Server
23:47:17 PlexAPI: ***
23:47:18 PlexAPI: GDM: Servers discovered: 2
23:47:18 PlexAPI: Servers (local, plex.tv, MyPlex): 3
23:47:26 PlexAPI: ***
23:47:26 PlexAPI: looking up Plex Media Server
23:47:26 PlexAPI: ***
23:47:27 PlexAPI: GDM: Servers discovered: 2
23:47:27 PlexAPI: Servers (local, plex.tv, MyPlex): 3
23:47:27 PlexAPI: No Response from Plex Media Server
23:47:27 PlexAPI: We failed to reach a server. Reason: Unauthorized
23:48:15 PlexAPI: MyPlex Sign In successfull
23:48:15 PlexAPI: ***
23:48:15 PlexAPI: looking up Plex Media Server
23:48:15 PlexAPI: ***
23:48:16 PlexAPI: GDM: Servers discovered: 2
23:48:19 PlexAPI: Servers (local, plex.tv, MyPlex): 4
23:48:30 PlexAPI: No Response from Plex Media Server
23:48:30 PlexAPI: We failed to reach a server. Reason: Unauthorized
23:48:57 PlexAPI: MyPlex switch HomeUser change successfull
23:48:57 PlexAPI: ***
23:48:57 PlexAPI: looking up Plex Media Server
23:48:57 PlexAPI: ***
23:48:58 PlexAPI: GDM: Servers discovered: 2
23:49:02 PlexAPI: Servers (local, plex.tv, MyPlex): 4
23:49:10 PlexAPI: No Response from Plex Media Server
23:49:10 PlexAPI: We failed to reach a server. Reason: Unauthorized
00:35:15 PlexConnect: Shutting down.
00:35:16 WebServer: Shutting down (HTTPS).
00:35:16 WebServer: Shutting down (HTTP).
00:35:17 DNSServer: Shutting down.
00:35:17 PlexConnect: shutdown

And for Linux (Qnap NAS):

22:45:31 PlexConnect: started: 22:45:31
22:45:31 PlexConnect: Version: 0.5-dev
22:45:31 PlexConnect: Python: 2.7 (r27:82500, Aug 21 2010, 07:52:47) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
22:45:31 PlexConnect: Host OS: linux2
22:45:31 PlexConnect: PILBackgrounds: Is PIL installed? True
22:45:31 PlexConnect: IP_self: 192.168.2.30
22:45:31 DNSServer: started: 22:45:31
22:45:31 DNSServer: ***
22:45:31 DNSServer: DNSServer: Serving DNS on 192.168.2.30 port 53.
22:45:31 DNSServer: ***
22:45:31 WebServer: started: 22:45:31
22:45:31 WebServer: ***
22:45:31 WebServer: WebServer: Serving HTTP on 192.168.2.30 port 80.
22:45:31 WebServer: ***
22:45:31 WebServer: started: 22:45:31
22:45:31 WebServer: ***
22:45:31 WebServer: WebServer: Serving HTTPS on 192.168.2.30 port 443.
22:45:31 WebServer: ***
22:46:20 PlexAPI: MyPlex Sign Out done
22:46:20 PlexAPI: ***
22:46:20 PlexAPI: looking up Plex Media Server
22:46:20 PlexAPI: ***
22:46:21 PlexAPI: GDM: Servers discovered: 2
22:46:21 PlexAPI: Servers (local, plex.tv, MyPlex): 3
22:46:29 PlexAPI: ***
22:46:29 PlexAPI: looking up Plex Media Server
22:46:29 PlexAPI: ***
22:46:30 PlexAPI: GDM: Servers discovered: 2
22:46:30 PlexAPI: Servers (local, plex.tv, MyPlex): 3
22:46:31 PlexAPI: No Response from Plex Media Server
22:46:31 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:47:21 PlexAPI: MyPlex Sign In successfull
22:47:21 PlexAPI: ***
22:47:21 PlexAPI: looking up Plex Media Server
22:47:21 PlexAPI: ***
22:47:22 PlexAPI: GDM: Servers discovered: 2
22:47:26 PlexAPI: Servers (local, plex.tv, MyPlex): 4
22:47:32 PlexAPI: No Response from Plex Media Server
22:47:32 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:48:04 PlexAPI: MyPlex switch HomeUser change successfull
22:48:04 PlexAPI: ***
22:48:04 PlexAPI: looking up Plex Media Server
22:48:04 PlexAPI: ***
22:48:05 PlexAPI: GDM: Servers discovered: 2
22:48:09 PlexAPI: Servers (local, plex.tv, MyPlex): 4
22:48:20 PlexAPI: No Response from Plex Media Server
22:48:20 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:48:28 PlexAPI: No Response from Plex Media Server
22:48:28 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:48:30 PlexAPI: No Response from Plex Media Server
22:48:30 PlexAPI: The server couldn't fulfill the request. Error code: 404
22:48:30 PlexAPI: No Response from Plex Media Server
22:48:30 PlexAPI: The server couldn't fulfill the request. Error code: 404
22:48:33 PlexAPI: No Response from Plex Media Server
22:48:33 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:48:35 PlexAPI: No Response from Plex Media Server
22:48:35 PlexAPI: The server couldn't fulfill the request. Error code: 404
22:48:35 PlexAPI: No Response from Plex Media Server
22:48:35 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:48:36 PlexAPI: No Response from Plex Media Server
22:48:36 PlexAPI: The server couldn't fulfill the request. Error code: 404
22:48:36 PlexAPI: No Response from Plex Media Server
22:48:36 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:48:40 PlexAPI: No Response from Plex Media Server
22:48:40 PlexAPI: The server couldn't fulfill the request. Error code: 404
22:48:40 PlexAPI: No Response from Plex Media Server
22:48:40 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:48:43 PlexAPI: No Response from Plex Media Server
22:48:43 PlexAPI: The server couldn't fulfill the request. Error code: 404
22:48:47 PlexAPI: No Response from Plex Media Server
22:48:47 PlexAPI: The server couldn't fulfill the request. Error code: 401
22:59:32 PlexAPI: ***
22:59:32 PlexAPI: looking up Plex Media Server
22:59:32 PlexAPI: ***
22:59:33 PlexAPI: GDM: Servers discovered: 2
22:59:37 PlexAPI: Servers (local, plex.tv, MyPlex): 4
22:59:37 PlexAPI: No Response from Plex Media Server
22:59:37 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:00:31 PlexAPI: No Response from Plex Media Server
23:00:31 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:00:32 PlexAPI: No Response from Plex Media Server
23:00:32 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:00:33 PlexAPI: No Response from Plex Media Server
23:00:33 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:00:33 PlexAPI: No Response from Plex Media Server
23:00:33 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:25 PlexAPI: No Response from Plex Media Server
23:13:25 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:27 PlexAPI: No Response from Plex Media Server
23:13:27 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:27 PlexAPI: No Response from Plex Media Server
23:13:27 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:28 PlexAPI: No Response from Plex Media Server
23:13:28 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:28 PlexAPI: No Response from Plex Media Server
23:13:28 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:29 PlexAPI: No Response from Plex Media Server
23:13:29 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:30 PlexAPI: No Response from Plex Media Server
23:13:30 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:30 PlexAPI: No Response from Plex Media Server
23:13:30 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:32 PlexAPI: No Response from Plex Media Server
23:13:32 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:32 PlexAPI: No Response from Plex Media Server
23:13:32 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:32 PlexAPI: No Response from Plex Media Server
23:13:32 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:32 PlexAPI: No Response from Plex Media Server
23:13:32 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:33 PlexAPI: No Response from Plex Media Server
23:13:33 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:33 PlexAPI: No Response from Plex Media Server
23:13:33 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:35 PlexAPI: No Response from Plex Media Server
23:13:35 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:36 PlexAPI: No Response from Plex Media Server
23:13:36 PlexAPI: The server couldn't fulfill the request. Error code: 404
23:13:40 PlexAPI: ***
23:13:40 PlexAPI: looking up Plex Media Server
23:13:40 PlexAPI: ***
23:13:41 PlexAPI: GDM: Servers discovered: 2
23:13:41 PlexAPI: Servers (local, plex.tv, MyPlex): 3
23:13:43 PlexAPI: No Response from Plex Media Server
23:13:43 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:51 PlexAPI: MyPlex Sign Out done
23:13:51 PlexAPI: ***
23:13:51 PlexAPI: looking up Plex Media Server
23:13:51 PlexAPI: ***
23:13:52 PlexAPI: GDM: Servers discovered: 2
23:13:52 PlexAPI: Servers (local, plex.tv, MyPlex): 3
23:13:58 PlexAPI: No Response from Plex Media Server
23:13:58 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:58 PlexAPI: No Response from Plex Media Server
23:13:58 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:58 PlexAPI: No Response from Plex Media Server
23:13:58 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:13:58 PlexAPI: No Response from Plex Media Server
23:13:58 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:14:00 PlexAPI: No Response from Plex Media Server
23:14:00 PlexAPI: The server couldn't fulfill the request. Error code: 401
23:14:47 XMLConverter: Section scanner found, updating command.
23:34:49 XMLConverter: Section scanner found, updating command.
23:38:27 XMLConverter: Background (Source): http://192.168.2.20:32400/library/metadata/15388/art/1422545527
23:38:27 PILBackgrounds: Error - Failed to modify image
23:38:27 XMLConverter: Background: http://trailers.apple.com/thumbnails/Background_blank_720.jpg
23:40:48 XMLConverter: Background (Source): http://192.168.2.20:32400/library/metadata/15388/art/1422545527
23:40:48 PILBackgrounds: Error - Failed to modify image
23:40:48 XMLConverter: Background: http://trailers.apple.com/thumbnails/Background_blank_720.jpg
23:41:01 XMLConverter: Section scanner found, updating command.
23:41:36 XMLConverter: Background (Source): http://192.168.2.20:32400/library/metadata/15384/art/1422546005
23:41:36 PILBackgrounds: Error - Failed to modify image
23:41:36 XMLConverter: Background: http://trailers.apple.com/thumbnails/Background_blank_720.jpg
23:41:59 XMLConverter: Background (Source): http://192.168.2.20:32400/library/metadata/15384/art/1422546005
23:41:59 PILBackgrounds: Error - Failed to modify image
23:41:59 XMLConverter: Background: http://trailers.apple.com/thumbnails/Background_blank_720.jpg
23:42:14 XMLConverter: Background (Source): http://192.168.2.20:32400/library/metadata/15384/art/1422546005
23:42:14 PILBackgrounds: Error - Failed to modify image
23:42:14 XMLConverter: Background: http://trailers.apple.com/thumbnails/Background_blank_720.jpg
23:42:17 XMLConverter: Section scanner found, updating command.

Maddhin - are all your own/shared servers on a PMS version that supports PlexHome?

Maddhin - are all your own/shared servers on a PMS version that supports PlexHome?

No, I am running the latest version of PMS (9.11.7) on a Qnap = no access with PlexConnect and a older PMS (9.10.3, "non-PlexHome") on Win7 = access with PlexConnect no problem. There is another remote PMS (also non-PlexHome) but that is not showing on PlexConnect.

But both, the win7 and remote PMS are only backup until the Qnap one is running with PlexConnect as intended....

Updated to PMS 0.9.11.7.803 on my Linux Server and things broken like others posted in this thread. Only resolved it today by removing Plex Home on the server + removing the PIN from Admin account. Not really a fixed but things are working again on the AppleTV.

cmccallu: Using PlexConnect's new PlexHome feature? Please provide an overview of your setup (e.g. PMS connected to...), a log with level=High, going into trailers and possibly changing users, either in paste bin (or similar) or attached here...

Baa, as I read cmccallu's post, he could only get it to work by switching off the PlexHome feature on PMS which seems the common work-around to get PlexConnect working again with PMS.

>>which seems the common work-around to get PlexConnect working again with PMS.

Well, right. Before PlexHome support was implemented into PlexConnect.

Now PlexHome support is there, it should work - at least it does on my environment used for testing. If it doesn't for you, I really would like to know why...

>> I really would like to know why...

Same here:) I posted the logs but that didn't seem to help.

The problem could be either caused by the PMS or PlexConnect. I didn't see any option in my PMS which could interfere with PlexConnect except the "network auth" option which I have not switched on.

The PlexConnect side of things I cannot judge. I tried the latest version of PlexConnect on Win7 and on Qnap, both with same results = no access.

I'm happy to help if you can lead me through the process of finding the problem. Maybe there is something messed up with my PMS install? But it works with several PHT clients (using PlexHome) without problems.

In my opinion (based on the fact that the CloudSync starts showing when logging in with my user), the log-in process works fine but there is a problem showing the libraries. Maybe this process does not use the 'PlexHome auth' yet? Dunno, just guessing what the problem could be.

Thanks for your efforts, which are highly appreciated!!

I still have no idea if you even selected a "HomeUser" in PlexConnect. Give me more information. :-D

As for the log, it's not loglevel=High, it's a copy of the terminal print, right? See https://forums.plex.tv/topic/128879-plex-home/?p=840770.

Hi guys

I enable plex Home and setup 3 users

Everything is working ok, but if find some little problem.

I don't have the subtitle enable by default.

Even when my files are for example

movie.m4v

movie.es.srt

There is a way to solve this ???

Thanks in advance 

cmccallu: Using PlexConnect's new PlexHome feature? Please provide an overview of your setup (e.g. PMS connected to...), a log with level=High, going into trailers and possibly changing users, either in paste bin (or similar) or attached here...

Baa,

        Within PlexConnect I have logged in and select my admin account as the PlexHome user. My set is AppleTV -> PlexConnect (Fedora in VirtualBox) -> PMS (Fedora Server) / PMS (macmini). Basic logging below. Will need to re-configure PlexHome and enable detailed logging tomorrow and get back

21:19:33 PlexConnect: started: 21:19:33
21:19:33 PlexConnect: Version: 0.5-dev
21:19:33 PlexConnect: Python: 2.7.1 (r271:86832, Apr 12 2011, 16:15:16) 
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)]
21:19:33 PlexConnect: Host OS: linux2
21:19:33 PlexConnect: PILBackgrounds: Is PIL installed? False
21:19:33 PlexConnect: IP_self: 10.0.10.42
21:19:33 DNSServer: started: 21:19:33
21:19:33 DNSServer: ***
21:19:33 DNSServer: DNSServer: Serving DNS on 10.0.10.42 port 53.
21:19:33 DNSServer: ***
21:19:33 WebServer: started: 21:19:33
21:19:33 WebServer: ***
21:19:33 WebServer: WebServer: Serving HTTP on 10.0.10.42 port 80.
21:19:33 WebServer: ***
21:19:33 WebServer: started: 21:19:33
21:19:33 WebServer: ***
21:19:33 WebServer: WebServer: Serving HTTPS on 10.0.10.42 port 443.
21:19:33 WebServer: ***
21:20:10 PlexAPI: ***
21:20:10 PlexAPI: looking up Plex Media Server
21:20:10 PlexAPI: ***
21:20:11 PlexAPI: GDM: Servers discovered: 2
21:20:12 PlexAPI: Servers (local, plex.tv, MyPlex): 3
21:20:13 PlexAPI: No Response from Plex Media Server
21:20:13 PlexAPI: The server couldn't fulfill the request. Error code: 401
21:20:13 PlexAPI: No Response from Plex Media Server
21:20:13 PlexAPI: The server couldn't fulfill the request. Error code: 401
21:20:19 PlexAPI: ***
21:20:19 PlexAPI: looking up Plex Media Server
21:20:19 PlexAPI: ***
 

Hope this is some help?

Thanks

Chris 

>>which seems the common work-around to get PlexConnect working again with PMS.

Well, right. Before PlexHome support was implemented into PlexConnect.

Now PlexHome support is there, it should work - at least it does on my environment used for testing. If it doesn't for you, I really would like to know why...

Baa, i can report that PlexHome is working correctly and as intended in PlexConnect.