Exception in thread CP WSGIServer Thread-14

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Exception in thread CP WSGIServer Thread-14

Post by sander »

FWIW: I just got the errors below with SAB 0.6.10, with HTTPS activated. After a restart, I got more errors.

It might be caused because connecting to HTTP is redirected to HTTPS, and the remote-access bug I just reported (http://forums.sabnzbd.org/viewtopic.php?f=3&t=9264)


Code: Select all

2011-11-05 12:32:07,364::INFO::[__init__:838] Saving data for postproc1.sab in /home/sander/.sabnzbd/admin/postproc1.sab
2011-11-05 12:32:07,364::INFO::[postproc:603] Queue has finished, launching: None (None)
Exception in thread CP WSGIServer Thread-14:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1295, in run
    conn.communicate()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1212, in communicate
    req.simple_response("408 Request Timeout")
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 612, in simple_response
    self.wfile.sendall("".join(buf))
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1126, in sendall
    return self._safe_call(False, super(SSL_fileobject, self).sendall, *args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1078, in _safe_call
    return call(*args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 748, in sendall
    bytes_sent = self.send(data)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1129, in send
    return self._safe_call(False, super(SSL_fileobject, self).send, *args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1108, in _safe_call
    raise FatalSSLAlert(*e.args)
FatalSSLAlert: [('SSL routines', 'SSL23_WRITE', 'ssl handshake failure')]

2011-11-05 14:24:13,894::ERROR::[dirscanner:284] Cannot read Watched Folder /home/sander/scandir
2011-11-05 14:24:15,099::ERROR::[_cplogging:55] [05/Nov/2011:14:24:15] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/home/sander/SABnzbd-0.6.10/cherrypy/process/servers.py", line 75, in _start_http_thread
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1655, in start
    self.tick()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1703, in tick
    s, addr = self.socket.accept()
  File "<string>", line 4, in accept
  File "/usr/lib/python2.7/socket.py", line 202, in accept
error: [Errno 24] Too many open files

2011-11-05 14:24:15,100::INFO::[_cplogging:55] [05/Nov/2011:14:24:15] ENGINE Bus STOPPING
2011-11-05 14:24:21,286::INFO::[_cplogging:55] [05/Nov/2011:14:24:21] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 8080)) shut down
2011-11-05 14:24:21,294::INFO::[_cplogging:55] [05/Nov/2011:14:24:21] ENGINE Stopped thread '_TimeoutMonitor'.
2011-11-05 14:24:21,294::INFO::[_cplogging:55] [05/Nov/2011:14:24:21] ENGINE Bus STOPPED
2011-11-05 14:24:21,294::INFO::[_cplogging:55] [05/Nov/2011:14:24:21] ENGINE Bus EXITING
2011-11-05 14:24:21,295::INFO::[_cplogging:55] [05/Nov/2011:14:24:21] ENGINE Bus EXITED
Exception in thread HTTPServer Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1655, in start
    self.tick()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1703, in tick
    s, addr = self.socket.accept()
  File "<string>", line 4, in accept
  File "/usr/lib/python2.7/socket.py", line 202, in accept
    sock, addr = self._sock.accept()
error: [Errno 24] Too many open files
and after a restart:

Code: Select all

2011-11-05 14:38:57,442::INFO::[urlgrabber:75] URLGrabber starting up
Created new window in existing browser session.
Exception in thread CP WSGIServer Thread-16:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1295, in run
    conn.communicate()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1212, in communicate
    req.simple_response("408 Request Timeout")
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 612, in simple_response
    self.wfile.sendall("".join(buf))
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1126, in sendall
    return self._safe_call(False, super(SSL_fileobject, self).sendall, *args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1078, in _safe_call
    return call(*args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 748, in sendall
    bytes_sent = self.send(data)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1129, in send
    return self._safe_call(False, super(SSL_fileobject, self).send, *args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1108, in _safe_call
    raise FatalSSLAlert(*e.args)
FatalSSLAlert: [('SSL routines', 'SSL23_WRITE', 'ssl handshake failure')]

Exception in thread CP WSGIServer Thread-14:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1295, in run
    conn.communicate()
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1212, in communicate
    req.simple_response("408 Request Timeout")
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 612, in simple_response
    self.wfile.sendall("".join(buf))
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1126, in sendall
    return self._safe_call(False, super(SSL_fileobject, self).sendall, *args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1078, in _safe_call
    return call(*args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 748, in sendall
    bytes_sent = self.send(data)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1129, in send
    return self._safe_call(False, super(SSL_fileobject, self).send, *args, **kwargs)
  File "/home/sander/SABnzbd-0.6.10/cherrypy/wsgiserver/__init__.py", line 1108, in _safe_call
    raise FatalSSLAlert(*e.args)
FatalSSLAlert: [('SSL routines', 'SSL23_WRITE', 'ssl handshake failure')]
Post Reply