# Error in the log

**URL:** https://forums.plex.tv/t/error-in-the-log/76908
**Category:** Apps & Creations
**Created:** [September 20, 2014, 10:07am UTC](https://forums.plex.tv/t/error-in-the-log/76908 "2014-09-20T10:07:08Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![pecinko](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pecinko/32/933_2.png) [@pecinko](https://forums.plex.tv/u/pecinko)
#### Post date: [September 20, 2014, 10:07am UTC](https://forums.plex.tv/t/error-in-the-log/76908/1 "2014-09-20T10:07:08Z")

</div>

ATV3 ios7 , PlexConnect git pulled 1 hour ago.

&nbsp;

192.168.1.35 client

192.168.1.30 Server & PConnect

&nbsp;

I have this error popping up in the log:&nbsp;

```
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'
```

---

<div class="post-metadata">

### Author: ![pecinko](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pecinko/32/933_2.png) [@pecinko](https://forums.plex.tv/u/pecinko)
#### Post date: [September 24, 2014, 3:54pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/2 "2014-09-24T15:54:29Z")

</div>

Any thoughts?

---

<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: [September 24, 2014, 4:05pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/3 "2014-09-24T16:05:08Z")

</div>

Well...

\>\>[http://192.168.1.30:32400&encoding=utf-8](http://192.168.1.30:32400)

Somehow the subtitleURL is missing/corrupt?

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

---

<div class="post-metadata">

### Author: ![pecinko](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pecinko/32/933_2.png) [@pecinko](https://forums.plex.tv/u/pecinko)
#### Post date: [September 24, 2014, 6:35pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/4 "2014-09-24T18:35:27Z")

</div>

This should be it:

[http://pastebin.com/x7T0xJmx](http://pastebin.com/x7T0xJmx)

---

<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: [September 24, 2014, 6:51pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/5 "2014-09-24T18:51:10Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![pecinko](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pecinko/32/933_2.png) [@pecinko](https://forums.plex.tv/u/pecinko)
#### Post date: [September 24, 2014, 7:42pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/6 "2014-09-24T19:42:10Z")

</div>

> 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.&nbsp;

---

<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: [September 24, 2014, 8:19pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/7 "2014-09-24T20:19:57Z")

</div>

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

---

<div class="post-metadata">

### Author: ![dale\_coop](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dale_coop/32/7185_2.png) [@dale\_coop](https://forums.plex.tv/u/dale_coop)
#### Post date: [November 14, 2014, 5:55pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/8 "2014-11-14T17:55:27Z")

</div>

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'
```

&nbsp;

How did you resolved this error ?

Thanks in advance for your help.

&nbsp;

(my plexconnect is from Cyberghost's Ghithub, recently updated).

&nbsp;

++

dale

---

<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: [November 14, 2014, 9:12pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/9 "2014-11-14T21:12:00Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![dale\_coop](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dale_coop/32/7185_2.png) [@dale\_coop](https://forums.plex.tv/u/dale_coop)
#### Post date: [November 15, 2014, 7:36pm UTC](https://forums.plex.tv/t/error-in-the-log/76908/10 "2014-11-15T19:36:51Z")

</div>

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

I will check for that...

dale

---

<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:00am UTC](https://forums.plex.tv/t/error-in-the-log/76908/11 "2019-12-21T03:00:56Z")

</div>

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