Skip to content

Instantly share code, notes, and snippets.

@claym
Created November 22, 2015 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claym/d174146629febc48adf6 to your computer and use it in GitHub Desktop.
Save claym/d174146629febc48adf6 to your computer and use it in GitHub Desktop.
[19:04:14] [DEBUG]::MAIN: Opening URL: http://localhost:8181/headphones/api with PARAMS: {'cmd': 'getHistory', 'apikey': '12345'}
[19:04:14] [DEBUG]::HEADPHONES: Opening URL: http://localhost:8181/headphones/api with PARAMS: {'cmd': 'forceProcess', 'apikey': '12345', 'dir': '/mnt/media/download/sabnzbd/complete/music'}
[19:04:43] [DEBUG]::HEADPHONES: Result: <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>500 Internal Server Error</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>500 Internal Server Error</h2>
<p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
<pre id="traceback">Traceback (most recent call last):
File "/usr/pbi/headphones-amd64/share/headphones/headphones/lib/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/pbi/headphones-amd64/share/headphones/headphones/lib/cherrypy/lib/encoding.py", line 217, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/pbi/headphones-amd64/share/headphones/headphones/lib/cherrypy/_cpdispatch.py", line 61, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/pbi/headphones-amd64/share/headphones/headphones/headphones/webserve.py", line 1440, in api
return a.fetchData()
File "/usr/pbi/headphones-amd64/share/headphones/headphones/headphones/api.py", line 83, in fetchData
methodToCall(**self.kwargs)
File "/usr/pbi/headphones-amd64/share/headphones/headphones/headphones/api.py", line 334, in _forceProcess
postprocessor.forcePostProcess(self.dir)
File "/usr/pbi/headphones-amd64/share/headphones/headphones/headphones/postprocessor.py", line 1142, in forcePostProcess
verify(snatched['AlbumID'], folder, snatched['Kind'], keep_original_folder=keep_original_folder)
File "/usr/pbi/headphones-amd64/share/headphones/headphones/headphones/postprocessor.py", line 237, in verify
doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list, Kind, keep_original_folder)
File "/usr/pbi/headphones-amd64/share/headphones/headphones/headphones/postprocessor.py", line 434, in doPostProcessing
prowl.notify(pushmessage, statusmessage)
File "/usr/pbi/headphones-amd64/share/headphones/headphones/headphones/notifiers.py", line 156, in notify
body=urlencode(data))
File "/usr/pbi/headphones-amd64/lib/python2.7/httplib.py", line 1001, in request
self._send_request(method, url, body, headers)
File "/usr/pbi/headphones-amd64/lib/python2.7/httplib.py", line 1035, in _send_request
self.endheaders(body)
File "/usr/pbi/headphones-amd64/lib/python2.7/httplib.py", line 997, in endheaders
self._send_output(message_body)
File "/usr/pbi/headphones-amd64/lib/python2.7/httplib.py", line 850, in _send_output
self.send(msg)
File "/usr/pbi/headphones-amd64/lib/python2.7/httplib.py", line 812, in send
self.connect()
File "/usr/pbi/headphones-amd64/lib/python2.7/httplib.py", line 1212, in connect
server_hostname=server_hostname)
File "/usr/pbi/headphones-amd64/lib/python2.7/ssl.py", line 350, in wrap_socket
_context=self)
File "/usr/pbi/headphones-amd64/lib/python2.7/ssl.py", line 566, in __init__
self.do_handshake()
File "/usr/pbi/headphones-amd64/lib/python2.7/ssl.py", line 788, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
</pre>
<div id="powered_by">
<span>
Powered by <a href="http://www.cherrypy.org">CherryPy 3.6.0</a>
</span>
</div>
</body>
</html>
[19:04:43] [ERROR]::HEADPHONES: Server returned status 500
[19:04:43] [ERROR]::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/nzbToHeadPhones.py script.
HeadPhones: Failed to post-process - Server returned status 500!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment