Error in the log

ATV3 ios7 , PlexConnect git pulled 1 hour ago.

 

192.168.1.35 client

192.168.1.30 Server & PConnect

 

I have this error popping up in the log: 

11:56:53 WebServer: serving subtitle: /library/metadata/13767
11:56:53 Subtitle: subtitle URL: http://192.168.1.30:32400&encoding=utf-8
11:56:53 Subtitle: xargs: {'X-Plex-Token': ''}
----------------------------------------
Exception happened during processing of request from ('192.168.1.35', 54516)
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 649, in __init__
    self.handle()
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/Users/pecinko/PlexConnect/WebServer.py", line 208, in do_GET
    XML = Subtitle.getSubtitleJSON(PMSaddress, self.path + query, options)
  File "/Users/pecinko/PlexConnect/Subtitle.py", line 57, in getSubtitleJSON
    response = urllib2.urlopen(request, timeout=20)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1153, in do_open
    h = http_class(host, timeout=req.timeout) # will parse host:port
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 704, in __init__
    self._set_hostport(host, port)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 732, in _set_hostport
    raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
InvalidURL: nonnumeric port: '32400&encoding=utf-8'

Any thoughts?

Well...

>>http://192.168.1.30:32400&encoding=utf-8

Somehow the subtitleURL is missing/corrupt?

I need more of the log - at least the "PlayVideo" XML before that snippet.

This should be it:

http://pastebin.com/x7T0xJmx

Ehm...

please set loglevel to High, and start from the aTV main menu.

Your attached file has a fresh PlexConnect, directly checking on "/library/metadata/13767" without PlexGDM and all that stuff. It can't work the way shown here... it doesn't know about any PMS.

Ehm...

please set loglevel to High, and start from the aTV main menu.

Your attached file has a fresh PlexConnect, directly checking on "/library/metadata/13767" without PlexGDM and all that stuff. It can't work the way shown here... it doesn't know about any PMS.

Thanks for taking a look.

I've set a PMS address manually in the settings as my PMS IP is not changing and I have only 1 server.

I'll repost a new log if the matter re-appears, seems to be working fine now. 

Even with a fixed PMS, aTV/PlexConnect has to go through the "discovery" process: PlexAPI.py/discoverPMS( )

Hi

I have exactly same errors :

Exception happened during processing of request from ('192.168.1.18', 51725)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 639, in __init__
    self.handle()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 343, in handle
    self.handle_one_request()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 331, in handle_one_request
    method()
  File "/Users/dale/Documents/PlexConnect/PlexConnectCyberGhost84/WebServer.py", line 208, in do_GET
    XML = Subtitle.getSubtitleJSON(PMSaddress, self.path + query, options)
  File "/Users/dale/Documents/PlexConnect/PlexConnectCyberGhost84/Subtitle.py", line 57, in getSubtitleJSON
    response = urllib2.urlopen(request, timeout=20)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1199, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1140, in do_open
    h = http_class(host, timeout=req.timeout) # will parse host:port
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 693, in __init__
    self._set_hostport(host, port)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 718, in _set_hostport
    raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
InvalidURL: nonnumeric port: '32400&encoding=utf-8'
 
How did you resolved this error ?
Thanks in advance for your help.
 
(my plexconnect is from Cyberghost's Ghithub, recently updated).
 
++
dale

Do you have enablegdm=False with fixed ip_pms?

Did you restart PlexConnect, while aTV was still in trailers?

=> return to aTV main screen and enter trailers again to setup PlexConnect correctly. Or go to settings/discover.

Ok, thanks maybe that, causes the error (I restart PlexConnect while aTV still in trailers... often).

I will check for that...

dale