Doesnt start after enabling SSL with letsencrypt
Posted: April 10th, 2020, 2:13 pm
Using a crt/key from LetsEncrypt, when i add them to the config sabnzbd no longer starts. I have to go into the config file and disable HTTPS to get it to start again. Hers the log:
2020-04-10 15:04:28,742::INFO::[SABnzbd:1164] --------------------------------
2020-04-10 15:04:28,742::INFO::[SABnzbd:1165] SABnzbd.exe-2.3.9 (rev=03c10dce91e13918bc2e6f8ca9c309196b90be11)
2020-04-10 15:04:28,742::INFO::[SABnzbd:1166] Full executable path = C:\DOWNLOADERS\SABnzbd\SABnzbd.exe
2020-04-10 15:04:28,742::INFO::[SABnzbd:1172] Platform = Windows-2012ServerR2-6.3.9600 (win64)
2020-04-10 15:04:28,742::INFO::[SABnzbd:1177] Python-version = 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)]
2020-04-10 15:04:28,742::INFO::[SABnzbd:1178] Arguments = C:\DOWNLOADERS\SABnzbd\SABnzbd.exe
2020-04-10 15:04:28,742::INFO::[SABnzbd:1183] Preferred encoding = cp1252
2020-04-10 15:04:28,742::INFO::[SABnzbd:1193] SSL version = OpenSSL 1.0.2q 20 Nov 2018
2020-04-10 15:04:28,742::INFO::[SABnzbd:1200] Loaded additional certificates from C:\DOWNLOADERS\SABnzbd\cacert.pem
2020-04-10 15:04:29,242::DEBUG::[SABnzbd:1207] Available certificates: {'x509': 146, 'x509_ca': 144, 'crl': 0}
2020-04-10 15:04:29,242::DEBUG::[SABnzbd:1214] My local IPv4 address = 192.168.1.4
2020-04-10 15:04:29,349::DEBUG::[SABnzbd:1220] My public IPv4 address = 100.11.56.85
2020-04-10 15:04:29,349::DEBUG::[SABnzbd:1228] Could not determine my IPv6 address
2020-04-10 15:04:29,558::DEBUG::[SABnzbd:1234] CPU Pystone available performance = 181094
2020-04-10 15:04:29,558::DEBUG::[SABnzbd:1239] CPU model = Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
2020-04-10 15:04:29,558::INFO::[SABnzbd:1241] Read INI file C:\Users\lan\AppData\Local\sabnzbd\sabnzbd.ini
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\rss.pyo.__init__] Loading data for rss_data.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\rss_data.sab
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\bpsmeter.pyo.read] Loading data for totals10.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\totals10.sab
2020-04-10 15:04:29,558::DEBUG::[bpsmeter:180] Read quota q=0.0 l=0.0 reset=0
2020-04-10 15:04:29,558::DEBUG::[downloader:164] Initializing downloader/decoder
2020-04-10 15:04:29,558::INFO::[postproc:100] Loading postproc queue
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\postproc.pyo.load] Loading data for postproc2.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\postproc2.sab
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\nzbqueue.pyo.read_queue] Loading data for queue10.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\queue10.sab
2020-04-10 15:04:29,572::DEBUG::[__init__:982] [sabnzbd\dirscanner.pyo.__init__] Loading data for watched_data2.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\watched_data2.sab
2020-04-10 15:04:29,572::DEBUG::[__init__:982] [sabnzbd\rating.pyo.__init__] Loading data for Rating.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\Rating.sab
2020-04-10 15:04:29,572::INFO::[__init__:985] [sabnzbd\rating.pyo.__init__] C:\Users\lan\AppData\Local\sabnzbd\admin\Rating.sab missing
2020-04-10 15:04:29,572::DEBUG::[scheduler:180] Scheduling RSS interval task every 60 min (delay=40)
2020-04-10 15:04:29,572::DEBUG::[scheduler:192] Scheduling VersionCheck on day 4 at 21:27
2020-04-10 15:04:29,572::INFO::[scheduler:207] Setting schedule for midnight BPS reset
2020-04-10 15:04:29,572::DEBUG::[__init__:598] PAUSED_ALL inactive
2020-04-10 15:04:29,572::INFO::[__init__:349] All processes started
2020-04-10 15:04:29,572::INFO::[SABnzbd:285] Web dir is C:\DOWNLOADERS\SABnzbd\interfaces\Plush
2020-04-10 15:04:29,572::INFO::[SABnzbd:285] Web dir is C:\DOWNLOADERS\SABnzbd\interfaces\Config
2020-04-10 15:04:29,572::INFO::[config:853] Writing settings to INI file C:\Users\lan\AppData\Local\sabnzbd\sabnzbd.ini
2020-04-10 15:04:29,572::DEBUG::[sabtray:187] SysTray uses codepage 1252
2020-04-10 15:04:29,572::INFO::[SABnzbd:409] SABYenc module (v3.3.5)... found!
2020-04-10 15:04:29,572::INFO::[SABnzbd:426] Cryptography module (v2.6.1)... found!
2020-04-10 15:04:29,572::INFO::[SABnzbd:431] par2 binary... found (C:\DOWNLOADERS\SABnzbd\win\par2\par2.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:436] MultiPar binary... found (C:\DOWNLOADERS\SABnzbd\win\par2\multipar\par2j64.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:441] UNRAR binary... found (C:\DOWNLOADERS\SABnzbd\win\unrar\x64\UnRAR.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:456] unzip binary... NOT found!
2020-04-10 15:04:29,572::INFO::[SABnzbd:459] 7za binary... found (C:\DOWNLOADERS\SABnzbd\win\7zip\7za.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:1397] Starting web-interface on 192.168.1.4:9090
2020-04-10 15:04:29,572::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Bus STARTING
2020-04-10 15:04:29,917::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Serving on http://192.168.1.4:8080
2020-04-10 15:04:29,917::ERROR::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x0000000002C0CBA8>>
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 207, in publish
File "cherrypy\_cpserver.pyo", line 167, in start
File "cherrypy\_cpserver.pyo", line 158, in httpserver_from_self
File "cherrypy\_cpwsgi_server.pyo", line 64, in __init__
File "cherrypy\wsgiserver\ssl_builtin.pyo", line 56, in __init__
IOError: [Errno 9] Bad file descriptor
2020-04-10 15:04:29,917::ERROR::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 245, in start
File "cherrypy\process\wspbus.pyo", line 225, in publish
ChannelFailures: IOError(9, 'Bad file descriptor')
2020-04-10 15:04:29,917::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Bus STOPPING
2020-04-10 15:04:29,917::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE HTTP Server None already shut down
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.1.4', 8080)) shut down
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE Bus STOPPED
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE Bus EXITING
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE Bus EXITED
2020-04-10 15:04:28,742::INFO::[SABnzbd:1164] --------------------------------
2020-04-10 15:04:28,742::INFO::[SABnzbd:1165] SABnzbd.exe-2.3.9 (rev=03c10dce91e13918bc2e6f8ca9c309196b90be11)
2020-04-10 15:04:28,742::INFO::[SABnzbd:1166] Full executable path = C:\DOWNLOADERS\SABnzbd\SABnzbd.exe
2020-04-10 15:04:28,742::INFO::[SABnzbd:1172] Platform = Windows-2012ServerR2-6.3.9600 (win64)
2020-04-10 15:04:28,742::INFO::[SABnzbd:1177] Python-version = 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)]
2020-04-10 15:04:28,742::INFO::[SABnzbd:1178] Arguments = C:\DOWNLOADERS\SABnzbd\SABnzbd.exe
2020-04-10 15:04:28,742::INFO::[SABnzbd:1183] Preferred encoding = cp1252
2020-04-10 15:04:28,742::INFO::[SABnzbd:1193] SSL version = OpenSSL 1.0.2q 20 Nov 2018
2020-04-10 15:04:28,742::INFO::[SABnzbd:1200] Loaded additional certificates from C:\DOWNLOADERS\SABnzbd\cacert.pem
2020-04-10 15:04:29,242::DEBUG::[SABnzbd:1207] Available certificates: {'x509': 146, 'x509_ca': 144, 'crl': 0}
2020-04-10 15:04:29,242::DEBUG::[SABnzbd:1214] My local IPv4 address = 192.168.1.4
2020-04-10 15:04:29,349::DEBUG::[SABnzbd:1220] My public IPv4 address = 100.11.56.85
2020-04-10 15:04:29,349::DEBUG::[SABnzbd:1228] Could not determine my IPv6 address
2020-04-10 15:04:29,558::DEBUG::[SABnzbd:1234] CPU Pystone available performance = 181094
2020-04-10 15:04:29,558::DEBUG::[SABnzbd:1239] CPU model = Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
2020-04-10 15:04:29,558::INFO::[SABnzbd:1241] Read INI file C:\Users\lan\AppData\Local\sabnzbd\sabnzbd.ini
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\rss.pyo.__init__] Loading data for rss_data.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\rss_data.sab
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\bpsmeter.pyo.read] Loading data for totals10.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\totals10.sab
2020-04-10 15:04:29,558::DEBUG::[bpsmeter:180] Read quota q=0.0 l=0.0 reset=0
2020-04-10 15:04:29,558::DEBUG::[downloader:164] Initializing downloader/decoder
2020-04-10 15:04:29,558::INFO::[postproc:100] Loading postproc queue
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\postproc.pyo.load] Loading data for postproc2.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\postproc2.sab
2020-04-10 15:04:29,558::DEBUG::[__init__:982] [sabnzbd\nzbqueue.pyo.read_queue] Loading data for queue10.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\queue10.sab
2020-04-10 15:04:29,572::DEBUG::[__init__:982] [sabnzbd\dirscanner.pyo.__init__] Loading data for watched_data2.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\watched_data2.sab
2020-04-10 15:04:29,572::DEBUG::[__init__:982] [sabnzbd\rating.pyo.__init__] Loading data for Rating.sab from C:\Users\lan\AppData\Local\sabnzbd\admin\Rating.sab
2020-04-10 15:04:29,572::INFO::[__init__:985] [sabnzbd\rating.pyo.__init__] C:\Users\lan\AppData\Local\sabnzbd\admin\Rating.sab missing
2020-04-10 15:04:29,572::DEBUG::[scheduler:180] Scheduling RSS interval task every 60 min (delay=40)
2020-04-10 15:04:29,572::DEBUG::[scheduler:192] Scheduling VersionCheck on day 4 at 21:27
2020-04-10 15:04:29,572::INFO::[scheduler:207] Setting schedule for midnight BPS reset
2020-04-10 15:04:29,572::DEBUG::[__init__:598] PAUSED_ALL inactive
2020-04-10 15:04:29,572::INFO::[__init__:349] All processes started
2020-04-10 15:04:29,572::INFO::[SABnzbd:285] Web dir is C:\DOWNLOADERS\SABnzbd\interfaces\Plush
2020-04-10 15:04:29,572::INFO::[SABnzbd:285] Web dir is C:\DOWNLOADERS\SABnzbd\interfaces\Config
2020-04-10 15:04:29,572::INFO::[config:853] Writing settings to INI file C:\Users\lan\AppData\Local\sabnzbd\sabnzbd.ini
2020-04-10 15:04:29,572::DEBUG::[sabtray:187] SysTray uses codepage 1252
2020-04-10 15:04:29,572::INFO::[SABnzbd:409] SABYenc module (v3.3.5)... found!
2020-04-10 15:04:29,572::INFO::[SABnzbd:426] Cryptography module (v2.6.1)... found!
2020-04-10 15:04:29,572::INFO::[SABnzbd:431] par2 binary... found (C:\DOWNLOADERS\SABnzbd\win\par2\par2.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:436] MultiPar binary... found (C:\DOWNLOADERS\SABnzbd\win\par2\multipar\par2j64.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:441] UNRAR binary... found (C:\DOWNLOADERS\SABnzbd\win\unrar\x64\UnRAR.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:456] unzip binary... NOT found!
2020-04-10 15:04:29,572::INFO::[SABnzbd:459] 7za binary... found (C:\DOWNLOADERS\SABnzbd\win\7zip\7za.exe)
2020-04-10 15:04:29,572::INFO::[SABnzbd:1397] Starting web-interface on 192.168.1.4:9090
2020-04-10 15:04:29,572::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Bus STARTING
2020-04-10 15:04:29,917::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Serving on http://192.168.1.4:8080
2020-04-10 15:04:29,917::ERROR::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x0000000002C0CBA8>>
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 207, in publish
File "cherrypy\_cpserver.pyo", line 167, in start
File "cherrypy\_cpserver.pyo", line 158, in httpserver_from_self
File "cherrypy\_cpwsgi_server.pyo", line 64, in __init__
File "cherrypy\wsgiserver\ssl_builtin.pyo", line 56, in __init__
IOError: [Errno 9] Bad file descriptor
2020-04-10 15:04:29,917::ERROR::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 245, in start
File "cherrypy\process\wspbus.pyo", line 225, in publish
ChannelFailures: IOError(9, 'Bad file descriptor')
2020-04-10 15:04:29,917::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE Bus STOPPING
2020-04-10 15:04:29,917::INFO::[_cplogging:219] [10/Apr/2020:15:04:29] ENGINE HTTP Server None already shut down
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.1.4', 8080)) shut down
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE Bus STOPPED
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE Bus EXITING
2020-04-10 15:04:30,036::INFO::[_cplogging:219] [10/Apr/2020:15:04:30] ENGINE Bus EXITED