# Cannot get trailers app to work on Apple TV.

**URL:** https://forums.plex.tv/t/cannot-get-trailers-app-to-work-on-apple-tv/136643
**Category:** Apps & Creations
**Created:** [February 25, 2016, 4:23am UTC](https://forums.plex.tv/t/cannot-get-trailers-app-to-work-on-apple-tv/136643 "2016-02-25T04:23:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jplivingston08](https://avatars.discourse-cdn.com/v4/letter/j/7993a0/32.png) [@jplivingston08](https://forums.plex.tv/u/jplivingston08)
#### Post date: [February 25, 2016, 4:23am UTC](https://forums.plex.tv/t/cannot-get-trailers-app-to-work-on-apple-tv/136643/1 "2016-02-25T04:23:48Z")

</div>

Here is the log. Any help would be greatly appreciated!

23:16:16 PlexConnect: started: 23:16:16  
23:16:16 PlexConnect: Version: 0.5-dev-211015  
23:16:16 PlexConnect: Python: 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]  
23:16:16 PlexConnect: Host OS: win32  
23:16:16 PlexConnect: PILBackgrounds: Is PIL installed? False  
23:16:16 PlexConnect: IP\_self: 192.168.1.201  
23:16:17 DNSServer: started: 23:16:17  
23:16:17 DNSServer: \*\*\*  
23:16:17 DNSServer: DNSServer: Serving DNS on 192.168.1.201 port 53.  
23:16:17 DNSServer: \*\*\*  
23:16:17 WebServer: started: 23:16:17  
23:16:17 WebServer: \*\*\*  
23:16:17 WebServer: WebServer: Serving HTTP on 192.168.1.201 port 80.  
23:16:17 WebServer: \*\*\*  
23:16:17 WebServer: started: 23:16:17  
23:16:18 WebServer: \*\*\*  
23:16:18 WebServer: WebServer: Serving HTTPS on 192.168.1.201 port 443.  
23:16:18 WebServer: \*\*\*  
23:16:54 PlexAPI: \*\*\*  
23:16:54 PlexAPI: PlexGDM - looking up Plex Media Server  
23:16:54 PlexAPI: \*\*\*  
23:16:55 PlexAPI: GDM: Servers discovered: 1  
23:16:55 PlexAPI: Servers (local, [plex.tv](http://plex.tv), MyPlex): 2  
23:16:55 PlexAPI: Error loading response XML from Plex Media Server:  
Traceback (most recent call last):  
File “C:\Program Files (x86)\PlexConnect-master\PlexAPI.py”, line 406, in getXMLFromPMS  
response = urllib2.urlopen(request, timeout=20)  
File “C:\Python27\lib\urllib2.py”, line 154, in urlopen  
return opener.open(url, data, timeout)  
File “C:\Python27\lib\urllib2.py”, line 431, in open  
response = self.\_open(req, data)  
File “C:\Python27\lib\urllib2.py”, line 449, in \_open  
‘\_open’, req)  
File “C:\Python27\lib\urllib2.py”, line 409, in \_call\_chain  
result = func(\*args)  
File “C:\Python27\lib\urllib2.py”, line 1227, in http\_open  
return self.do\_open(httplib.HTTPConnection, req)  
File “C:\Python27\lib\urllib2.py”, line 1200, in do\_open  
r = h.getresponse(buffering=True)  
File “C:\Python27\lib\httplib.py”, line 1132, in getresponse  
response.begin()  
File “C:\Python27\lib\httplib.py”, line 453, in begin  
version, status, reason = self.\_read\_status()  
File “C:\Python27\lib\httplib.py”, line 409, in \_read\_status  
line = self.fp.readline(\_MAXLINE + 1)  
File “C:\Python27\lib\socket.py”, line 480, in readline  
data = self.\_sock.recv(self.\_rbufsize)  
error: [Errno 10054] An existing connection was forcibly closed by the remote host

23:16:55 WebServer: File Not Found:  
Traceback (most recent call last):  
File “C:\Program Files (x86)\PlexConnect-master\WebServer.py”, line 229, in do\_GET  
XML = XMLConverter.XML\_PMS2aTV(PMSaddress, self.path + query, options)  
File “C:\Program Files (x86)\PlexConnect-master\XMLConverter.py”, line 387, in XML\_PMS2aTV  
aTVTree = etree.parse(sys.path[0]+’/assets/templates/’+XMLtemplate)  
File “”, line 62, in parse  
File “”, line 26, in parse  
IOError: [Errno 13] Permission denied: ‘C:\Program Files (x86)\PlexConnect-master/assets/templates/’

23:17:06 PlexAPI: Error loading response XML from Plex Media Server:  
Traceback (most recent call last):  
File “C:\Program Files (x86)\PlexConnect-master\PlexAPI.py”, line 406, in getXMLFromPMS  
response = urllib2.urlopen(request, timeout=20)  
File “C:\Python27\lib\urllib2.py”, line 154, in urlopen  
return opener.open(url, data, timeout)  
File “C:\Python27\lib\urllib2.py”, line 431, in open  
response = self.\_open(req, data)  
File “C:\Python27\lib\urllib2.py”, line 449, in \_open  
‘\_open’, req)  
File “C:\Python27\lib\urllib2.py”, line 409, in \_call\_chain  
result = func(\*args)  
File “C:\Python27\lib\urllib2.py”, line 1227, in http\_open  
return self.do\_open(httplib.HTTPConnection, req)  
File “C:\Python27\lib\urllib2.py”, line 1200, in do\_open  
r = h.getresponse(buffering=True)  
File “C:\Python27\lib\httplib.py”, line 1132, in getresponse  
response.begin()  
File “C:\Python27\lib\httplib.py”, line 453, in begin  
version, status, reason = self.\_read\_status()  
File “C:\Python27\lib\httplib.py”, line 409, in \_read\_status  
line = self.fp.readline(\_MAXLINE + 1)  
File “C:\Python27\lib\socket.py”, line 480, in readline  
data = self.\_sock.recv(self.\_rbufsize)  
error: [Errno 10054] An existing connection was forcibly closed by the remote host

23:17:06 WebServer: File Not Found:  
Traceback (most recent call last):  
File “C:\Program Files (x86)\PlexConnect-master\WebServer.py”, line 229, in do\_GET  
XML = XMLConverter.XML\_PMS2aTV(PMSaddress, self.path + query, options)  
File “C:\Program Files (x86)\PlexConnect-master\XMLConverter.py”, line 387, in XML\_PMS2aTV  
aTVTree = etree.parse(sys.path[0]+’/assets/templates/’+XMLtemplate)  
File “”, line 62, in parse  
File “”, line 26, in parse  
IOError: [Errno 13] Permission denied: ‘C:\Program Files (x86)\PlexConnect-master/assets/templates/’

23:17:10 WebServer: File Not Found:  
Traceback (most recent call last):  
File “C:\Program Files (x86)\PlexConnect-master\WebServer.py”, line 229, in do\_GET  
XML = XMLConverter.XML\_PMS2aTV(PMSaddress, self.path + query, options)  
File “C:\Program Files (x86)\PlexConnect-master\XMLConverter.py”, line 387, in XML\_PMS2aTV  
aTVTree = etree.parse(sys.path[0]+’/assets/templates/’+XMLtemplate)  
File “”, line 62, in parse  
File “”, line 26, in parse  
IOError: [Errno 13] Permission denied: ‘C:\Program Files (x86)\PlexConnect-master/assets/templates/’

---

<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: [February 25, 2016, 4:43am UTC](https://forums.plex.tv/t/cannot-get-trailers-app-to-work-on-apple-tv/136643/2 "2016-02-25T04:43:20Z")

</div>

> error: [Errno 10054] An existing connection was forcibly closed by the remote host

This this to be the first error popping up… Firewall?  
The other message (Permission denied) would be a secondary error, thrown as something went wrong before, I guess.

---

<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: [January 8, 2020, 7:13pm UTC](https://forums.plex.tv/t/cannot-get-trailers-app-to-work-on-apple-tv/136643/3 "2020-01-08T19:13:56Z")

</div>


