Page 1 of 1

Repeating Error: ENGINE Error in HTTPServer.tick / OSError: [Errno 0] Error

Posted: August 18th, 2020, 10:25 am
by sideoffries
Why?

Code: Select all

ERROR 18 Aug 2020 08:18 [18/Aug/2020:08:18:19] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/__init__.py", line 2021, in start
    self.tick()
  File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/__init__.py", line 2090, in tick
    s, ssl_env = self.ssl_adapter.wrap(s)
  File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/ssl_builtin.py", line 66, in wrap
    s = self.context.wrap_socket(sock,do_handshake_on_connect=True,
  File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.8/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
OSError: [Errno 0] Error
Happens repeatably once at every start up plus at other times when running that seem to be mostly random. Often sabnzbd is doing nothing at the reported times of the error. The error itself seems to have no effect beyond being reported as everything continues to function normally AFAICT. Have seen it now on every RC and full version of 3.0.0. It's mostly an annoyance and minor at that, but seems something is going on that it doesn't like.

Re: Repeating Error: ENGINE Error in HTTPServer.tick / OSError: [Errno 0] Error

Posted: August 18th, 2020, 11:17 am
by sander
This is becoming a FAQ. See https://github.com/sabnzbd/sabnzbd/issues/1577

Ubuntu, with HTTPS access turned on? If so: Ubuntu has a very old version of cherrypy. The bug was already solved in cherrypy / cheroot this in 2018 or so.

And underlying problem is a bug in Python, which was solved a few days ago, and which will takes months or longer to arrive in a release on your system.

Re: Repeating Error: ENGINE Error in HTTPServer.tick / OSError: [Errno 0] Error

Posted: August 18th, 2020, 12:28 pm
by sideoffries
sander wrote: August 18th, 2020, 11:17 am Ubuntu, with HTTPS access turned on?
Yes, with Ubuntu 20.04. I see now from the github issue. Thanks.