WebServer: File Not Found error

Hey Guys,

I’m getting erratic behaviour on my freshly installed PMS (0.9.15.2.1663-7efd-46) + PlexConnect (0.5-dev-101215) on Windows 2012R2 with my ATV3 (v7.2).

When trying to navigate through the Trailor (PlexConnect) menus, it often seems to hang and then errors like the following appear in the PlexConnect log:

_15:15:10 XMLConverter: CCmds_getKey: /library/metadata/108,False
15:15:10 XMLConverter: CCmds_getParam: ,
15:15:10 XMLConverter: CCmds_getConversion: ,
15:15:10 XMLConverter: CCmds_getParam: thumb, :=COPY
15:15:10 XMLConverter: CCmds_getConversion: [(’’, ‘COPY’)],
vel=1&PlexConnectLog=atv.onGenerateRequest%20done%3A%20http%3A%2F%2Ftrailers.apple.com%2Fjs%2FupdateXML.js%3FPlexConnectUDID%3DDY3HPBA3DRHN%26PlexConnectATVName%3DApple%2520TV
15:15:10 XMLConverter: CCmds_getKey: /library/metadata/113734/thumb/1454461028,=COPY,False
15:15:10 WebServer: File Not Found:
Traceback (most recent call last):
File “C:\Program Files (x86)\PlexConnect\WebServer.py”, line 230, in do_GET
self.sendResponse(XML, ‘text/xml’, True)
File “C:\Program Files (x86)\PlexConnect\WebServer.py”, line 92, in sendResponse
self.end_headers()
File “C:\Python27\lib\BaseHTTPServer.py”, line 412, in end_headers
self.wfile.write("
")
File “C:\Python27\lib\socket.py”, line 328, in write
self.flush()
File “C:\Python27\lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053] An established connection was aborted by the software in your host machine

15:15:10 Localize: aTVLanguage: en
15:15:10 XMLConverter: CCmds_getParam: , =COPY
ibrary/metadata/108_

When I first fired it up, PMS hadn’t finished indexing my library and even though it was throwing an error, I was getting proper navigation and some thumbnails. Now PMS has finished indexing and I’ve turned the loggin in PlexConnect up, I just end up with the error above, when I try to nav into any of the main headings under a library (e.g. All Movies, On Deck, Unwatched, etc). I’ve also noticed it a few times when I first hit a library (e.g. Videos).

Any ideas?

Note: My config is possibly slightly unusual, as I’m running Windows Server 2012R2 Essentials edition, with the web site running and the RDP gateway, so 80 and 443 on the default IP address are already in use. So I added a secondary IP and made sure IIS, etc wasn’t using it, so that PMS could bind properly. Then put set up trailers.apple.com as a domain in my internal DNS, pointing at that second IP.

sorry, that last bit “so that PMS could bind properly” is actually “so that PlexConnect could bind properly”. PMS is running on the detault IP (including localhost)

Hmm… I’m also getting a few other errors on the console, which aren’t turning up in the log file:

Exception happened during processing of request from (‘X.X.X.X’, 49319)
Traceback (most recent call last):
File “C:\Python27\lib\SocketServer.py”, line 599, in process_request_thread
self.finish_request(request, client_address)
File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “C:\Python27\lib\SocketServer.py”, line 657, in init
self.finish()
File “C:\Python27\lib\SocketServer.py”, line 716, in finish
self.wfile.close()
File “C:\Python27\lib\socket.py”, line 283, in close
self.flush()
File “C:\Python27\lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053] An established connection was aborted by the software in yo
ur host machine

15:57:56 WebServer: File Not Found:
Traceback (most recent call last):
File “C:\Program Files (x86)\PlexConnect\WebServer.py”, line 230, in do_GET
self.sendResponse(XML, ‘text/xml’, True)
File “C:\Program Files (x86)\PlexConnect\WebServer.py”, line 92, in sendRespon
se
self.end_headers()
File “C:\Python27\lib\BaseHTTPServer.py”, line 412, in end_headers
self.wfile.write("
")
File “C:\Python27\lib\socket.py”, line 328, in write
self.flush()
File “C:\Python27\lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053] An established connection was aborted by the software in yo
ur host machine


Exception happened during processing of request from (‘X.X.X.X’, 49323)
Traceback (most recent call last):
File “C:\Python27\lib\SocketServer.py”, line 599, in process_request_thread
self.finish_request(request, client_address)
File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “C:\Python27\lib\SocketServer.py”, line 657, in init
self.finish()
File “C:\Python27\lib\SocketServer.py”, line 716, in finish
self.wfile.close()
File “C:\Python27\lib\socket.py”, line 283, in close
self.flush()
File “C:\Python27\lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053] An established connection was aborted by the software in yo
ur host machine

Which seem to be being caused by the same underlying problem:
error: [Errno 10053] An established connection was aborted by the software in your host machine

Any idea, what file it is actually looking for? Those log snippets don’t seem to give the full picture…