Page 1 of 1

Unable to open SABnzbd (2.1.0)

Posted: July 17th, 2017, 9:33 pm
by odinforce
Hi. This problem just started today. I tried opening SABnzbd but it simply refuses to do so. The absolute last thing that I was doing on SABnzbd was changing my port from 8080 to 563 and turning on HTTPS (still a noob and trying to get everything set up and configured). The problem started after that.

Version: SABnzbd-2.1.0
OS: macOS Sierra 10.12.5
Install-type: macOS app
Skin (if applicable): Default
Firewall Software: Whatever comes with macOS; Sophos Home
Are you using IPV6? No.
Is the issue reproducible? Maybe?

I've tried to open it from the launchpad as well as directly from my applications folder. The steps I've taken so far.

1) Exit and restart. Nothing happens. Before the problem started, SABnzbd always displayed in the upper-right menu bar, but doesn't anymore.

2) Restart my laptop and try again. Nothing.

3) Remove SABnzbd and reinstall. Still nothing. Tried this a few times.

4) Try the most recent alpha release. Nothing.

5) Downloaded other software to make sure it wasn't a problem with my laptop. The other software installed and opened fine.

6) Post here for help :(

Re: Unable to open SABnzbd (2.1.0)

Posted: July 18th, 2017, 12:17 am
by safihre
I think setting that port is not allowed, usually ports below 1024 are reserved for system things.
You should manually edit your sabnzbd.ini file and set to port manually to something higher like 8081.
Location of the file is here:
https://sabnzbd.org/wiki/advanced/directory-setup

Re: Unable to open SABnzbd (2.1.0)

Posted: July 18th, 2017, 1:12 am
by odinforce
So I just tried doing that, but there doesn't appear to be a SABnzbd file there. There are several folders (Adobe, App Store, Apple, Crash Reporter, Microsoft, etc.) but nothing for SABnzbd.

Re: Unable to open SABnzbd (2.1.0)

Posted: July 18th, 2017, 1:29 am
by odinforce
Scratch that - I just found it! I had to show hidden files and then found another thread which helped me navigate to it. I've opened the sabnzbd.ini file with TextEdit. Scrolling through it, I've found https_port = 9090. Should I alter this to http_port = 8081? There are a few other https_ options as well.

EDIT:

So, I opened sabnzbd.log and then tried to run SABnzbd again. These are the last several lines; there's an error in there.

Code: Select all

2017-07-17 23:31:25,335::INFO::[SABnzbd:464] nice binary... found (/usr/bin/nice)
2017-07-17 23:31:25,336::INFO::[SABnzbd:470] ionice binary... NOT found!
2017-07-17 23:31:25,336::INFO::[SABnzbd:1277] SSL version OpenSSL 0.9.8zh 14 Jan 2016
2017-07-17 23:31:25,336::INFO::[SABnzbd:1278] SSL supported protocols ['TLS v1', 'SSL v3', 'SSL v2']
2017-07-17 23:31:25,338::INFO::[SABnzbd:1389] Starting web-interface on 127.0.0.1:563
2017-07-17 23:31:25,339::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Bus STARTING
2017-07-17 23:31:25,340::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Started monitor thread '_TimeoutMonitor'.
2017-07-17 23:31:25,370::ERROR::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "cherrypy/process/servers.pyc", line 207, in _start_http_thread
  File "cherrypy/wsgiserver/__init__.pyc", line 2011, in start
error: No socket could be created -- (('127.0.0.1', 563): [Errno 13] Permission denied)

2017-07-17 23:31:25,370::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Bus STOPPING
2017-07-17 23:31:25,371::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 563)) already shut down
2017-07-17 23:31:25,371::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Stopped thread '_TimeoutMonitor'.
2017-07-17 23:31:25,371::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Bus STOPPED
2017-07-17 23:31:25,371::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Bus EXITING
2017-07-17 23:31:25,371::INFO::[_cplogging:219] [17/Jul/2017:23:31:25] ENGINE Bus EXITED
EDIT #2:

Some headway! I searched for port: 563 and found it. Changed that to 8080. I now get a message telling me that my connection is not private. I removed the 's' from 'https' and I get a page that says The client sent a plain HTTP request, but this server only speaks HTTPS on this port. I can proceed unsafely, but would preferably like to get to the bottom of this.

Re: Unable to open SABnzbd (2.1.0)

Posted: July 18th, 2017, 1:39 am
by safihre
No, you can ignore these options.

Change:
port = 563
to
port = 8081

Indeed you are not allowed to use the 563 port from the system.

Re: Unable to open SABnzbd (2.1.0)

Posted: July 18th, 2017, 1:49 am
by odinforce
I did try 8081, but I remembered that I have Headphones running in that so I switched it back to 8080 like it was before.

Re: Unable to open SABnzbd (2.1.0)

Posted: July 18th, 2017, 2:12 am
by safihre
Also good!

But you should also set (with SABnzbd shutdown)

Code: Select all

https_port=
(so empty)

This way your default port (8080) will be used to serve HTTPS.

Re: Unable to open SABnzbd (2.1.0)

Posted: July 18th, 2017, 2:18 am
by odinforce
Yes! At last! Everything is working as expected! Thanks for the help :D!