# PlexAPI: We failed to reach a server. Reason: Unauthorized

**URL:** <https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605>\
**Category:** Apps & Creations\
**Created:** [December 8, 2014, 5:53am UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605 "2014-12-08T05:53:33Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![balsamfir](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@balsamfir](https://forums.plex.tv/u/balsamfir)\
**Post date:** [December 8, 2014, 5:53am UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/1 "2014-12-08T05:53:33Z")

</div>

I upgraded to plex 0.9.11.4 today and now my ATV through PlexConnect can no longer see my PMS.

&nbsp;

I am unable to find any documentation in the forums.

&nbsp;

PlexConnect Log:

&nbsp;

&nbsp;

00:46:23 PlexAPI: No Response from Plex Media Server

00:46:23 PlexAPI: We failed to reach a server. Reason: Unauthorized

&nbsp;

I see nothing in the PMS logs.

&nbsp;

Any help would be greatly appreciated.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [December 8, 2014, 6:29am UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/2 "2014-12-08T06:29:48Z")

</div>

A more detailed issue report would help:  
  
[https://github.com/iBaa/PlexConnect/wiki/How-to-report-an-issue](https://github.com/iBaa/PlexConnect/wiki/How-to-report-an-issue)  
  
  
Use the template provided to report the issue in more detail.

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [December 8, 2014, 7:15am UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/3 "2014-12-08T07:15:39Z")

</div>

As wahlman.j pointed out, we need those details, also as your on 9.11.4 did you enable Plex home?

---

<div class="post-metadata">

**Author:** ![balsamfir](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@balsamfir](https://forums.plex.tv/u/balsamfir)\
**Post date:** [December 8, 2014, 2:41pm UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/4 "2014-12-08T14:41:50Z")

</div>

It was plex home that killed my ATV/plexconnect.   
  
  
If I could make a suggestion, make a sticky with regards to ATV/PlexConnect no longer workng with 0.9.11.4 due to PlexHome. Disable PlexHome and life will ne restored to good again. I only suggest this as, after you mentioned Plex Home, did I find a single thread about it. Until then, I found nothing that references the problem.   
  
  
Any ETA for at least a work around with PlexHome enabled?  
  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [December 8, 2014, 4:48pm UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/5 "2014-12-08T16:48:53Z")

</div>

Wiki?

-\>&nbsp;[https://github.com/iBaa/PlexConnect/wiki/Features-&-Limitations#plex-home](https://github.com/iBaa/PlexConnect/wiki/Features-&-Limitations#plex-home)

---

<div class="post-metadata">

**Author:** ![birgirrafn](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@birgirrafn](https://forums.plex.tv/u/birgirrafn)\
**Post date:** [January 28, 2015, 8:33pm UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/6 "2015-01-28T20:33:32Z")

</div>

I have the same problem.

But how can I disable the PlexHome feature in order to get ATV/Plexconnect working again?

I've done "Leave Home" and restarted PMS and Plexconnect but that did not fix it.

Still PlexAPI gives the Unauthorized message.

Thanks

BR

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [January 28, 2015, 9:17pm UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/7 "2015-01-28T21:17:47Z")

</div>

I guess, in PMS you need to delete the other users. Or leave the home. Or something.

Or do some reading over there...

-\> [https://forums.plex.tv/topic/128879-plex-home/?p=837199](https://forums.plex.tv/topic/128879-plex-home/?p=837199)

It might just be what you need?

---

<div class="post-metadata">

**Author:** ![partizan76](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@partizan76](https://forums.plex.tv/u/partizan76)\
**Post date:** [January 23, 2017, 5:29pm UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/8 "2017-01-23T17:29:03Z")

</div>

Baa, in logs i see that:  
20:20:43 PlexAPI: No Response from Plex Media Server  
20:20:43 PlexAPI: We failed to reach a server. Reason: Unauthorized  
20:20:43 PlexAPI: Traceback:  
Traceback (most recent call last):  
File “/share/MD0\_DATA/.qpkg/PlexConnect/PlexAPI.py”, line 432, in getXMLFromPMS  
response = urllib2.urlopen(request, timeout=20)  
File “/share/MD0\_DATA/.qpkg/Python/lib/python2.7/urllib2.py”, line 154, in urlopen  
return opener.open(url, data, timeout)  
File “/share/MD0\_DATA/.qpkg/Python/lib/python2.7/urllib2.py”, line 437, in open  
response = meth(req, response)  
File “/share/MD0\_DATA/.qpkg/Python/lib/python2.7/urllib2.py”, line 550, in http\_response  
‘http’, request, response, code, msg, hdrs)  
File “/share/MD0\_DATA/.qpkg/Python/lib/python2.7/urllib2.py”, line 475, in error  
return self.\_call\_chain(\*args)  
File “/share/MD0\_DATA/.qpkg/Python/lib/python2.7/urllib2.py”, line 409, in \_call\_chain  
result = func(\*args)  
File “/share/MD0\_DATA/.qpkg/Python/lib/python2.7/urllib2.py”, line 558, in http\_error\_default  
raise HTTPError(req.get\_full\_url(), code, msg, hdrs, fp)  
HTTPError: HTTP Error 401: Unauthorized

On ATV3 it shows empty Library section

---

<div class="post-metadata">

**Author:** ![partizan76](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@partizan76](https://forums.plex.tv/u/partizan76)\
**Post date:** [January 23, 2017, 5:31pm UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/9 "2017-01-23T17:31:59Z")

</div>

Of course Plex Home is disabled, IP address of ATV is added to server for allow connection without auth.

---

<div class="post-metadata">

**Author:** ![gr0bda](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gr0bda](https://forums.plex.tv/u/gr0bda)\
**Post date:** [December 22, 2018, 1:13am UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/10 "2018-12-22T01:13:00Z")

</div>

Has this been resolved? I’ve been trying to revive my ATV3 after not using it for about 2 years due to problems I couldn’t resolve, but I’ve been greeted with nothing but issues again, including now the Unauthorized issue . So sick of all the network problems! Why the damn components can’t talk to each other!?

---

<div class="post-metadata">

**Author:** ![moody\_blue](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/moody_blue/32/7835_2.png) [@moody\_blue](https://forums.plex.tv/u/moody_blue)\
**Post date:** [December 22, 2018, 9:04am UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/11 "2018-12-22T09:04:47Z")

</div>

Latest versions of [PlexConnect](https://github.com/iBaa/PlexConnect/archive/master.zip) and [Plex Media Server](https://www.plex.tv/media-server-downloads/) work together. All the known issues are listed [here](https://github.com/iBaa/PlexConnect/issues).

The [install guide](https://github.com/iBaa/PlexConnect/wiki/Install-Guide) is updated.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 3:47am UTC](https://forums.plex.tv/t/plexapi-we-failed-to-reach-a-server-reason-unauthorized/85605/12 "2019-12-21T03:47:40Z")

</div>

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