I am running SABnzbd on a Windows 10 machine, on port 8080.
When I first start SAB everything is OK for a brief few minutes then if I try and open a new browser window to 8080 I get a Firefox can’t establish a connection to the server at 192.168.1.10:8080. error.
Looking at the logs I can see these - any ideas?:
Traceback (most recent call last):
File "cherrypy\process\servers.pyo", line 207, in _start_http_thread
File "cherrypy\wsgiserver\__init__.pyo", line 2012, in start
error: No socket could be created -- (('192.168.1.10', 8080): [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions)
2019-02-24 17:19:54,661::INFO::[_cplogging:219] [24/Feb/2019:17:19:54] ENGINE Bus STOPPING
2019-02-24 17:19:54,661::INFO::[_cplogging:219] [24/Feb/2019:17:19:54] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.1.10', 8080)) already shut down
2019-02-24 17:19:54,661::INFO::[_cplogging:219] [24/Feb/2019:17:19:54] ENGINE Bus STOPPED
2019-02-24 17:19:54,661::INFO::[_cplogging:219] [24/Feb/2019:17:19:54] ENGINE Bus EXITING
2019-02-24 17:19:54,661::INFO::[_cplogging:219] [24/Feb/2019:17:19:54] ENGINE Bus EXITED
2019-02-24 17:23:53,407::INFO::[_cplogging:219] [24/Feb/2019:17:23:53] ENGINE Bus STARTING
2019-02-24 17:24:43,915::ERROR::[_cplogging:219] [24/Feb/2019:17:24:43] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x0000000003216748>>
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 207, in publish
File "cherrypy\_cpserver.pyo", line 168, in start
File "cherrypy\process\servers.pyo", line 179, in start
File "cherrypy\process\servers.pyo", line 237, in wait
File "cherrypy\process\servers.pyo", line 463, in wait_for_occupied_port
IOError: Port 8080 not bound on '192.168.1.10'
2019-02-24 17:24:43,917::ERROR::[_cplogging:219] [24/Feb/2019:17:24:43] 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("Port 8080 not bound on '192.168.1.10'",)
SABnzbd stops responding on port 8080 after a few minutes - task still running
Forum rules
Help us help you:
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.
Re: SABnzbd stops responding on port 8080 after a few minutes - task still running
In addition if I do a tasklist | find /i "Sabnzbd", I get :
SABnzbd.exe 8976 RDP-Tcp#2 2 89,484 K
And then a netstat -aon | find /i "8976" gives me:
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 8976
TCP 127.0.0.1:8080 127.0.0.1:52344 ESTABLISHED 8976
TCP 127.0.0.1:8080 127.0.0.1:52439 ESTABLISHED 8976
TCP 127.0.0.1:8080 127.0.0.1:52440 ESTABLISHED 8976
TCP 127.0.0.1:8080 127.0.0.1:52457 ESTABLISHED 8976
TCP 127.0.0.1:52287 127.0.0.1:5354 ESTABLISHED 8976
Not sure if there should only be one entry here.
SABnzbd.exe 8976 RDP-Tcp#2 2 89,484 K
And then a netstat -aon | find /i "8976" gives me:
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 8976
TCP 127.0.0.1:8080 127.0.0.1:52344 ESTABLISHED 8976
TCP 127.0.0.1:8080 127.0.0.1:52439 ESTABLISHED 8976
TCP 127.0.0.1:8080 127.0.0.1:52440 ESTABLISHED 8976
TCP 127.0.0.1:8080 127.0.0.1:52457 ESTABLISHED 8976
TCP 127.0.0.1:52287 127.0.0.1:5354 ESTABLISHED 8976
Not sure if there should only be one entry here.
Re: SABnzbd stops responding on port 8080 after a few minutes - task still running
So ... SAB is (suddenly?) listening on port 8976? Can you connect to that port with Firefox?
Re: SABnzbd stops responding on port 8080 after a few minutes - task still running
Why did you force the IP of 192.168.1.10?
In SABnzbd > Config > General you should set the host to either 0.0.0.0 for access from external PC's in your network or localhost to only allow access from your current PC.
In SABnzbd > Config > General you should set the host to either 0.0.0.0 for access from external PC's in your network or localhost to only allow access from your current PC.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: SABnzbd stops responding on port 8080 after a few minutes - task still running
OK, I changed the .ini file to 0.0.0.0 and now I get this :
2019-02-27 18:11:20,201::INFO::[_cplogging:219] [27/Feb/2019:18:11:20] ENGINE Bus STARTING
2019-02-27 18:11:20,339::ERROR::[_cplogging:219] [27/Feb/2019:18:11:20] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "cherrypy\process\servers.pyo", line 207, in _start_http_thread
File "cherrypy\wsgiserver\__init__.pyo", line 2012, in start
error: No socket could be created -- (('0.0.0.0', 8080): [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions)
2019-02-27 18:11:20,339::INFO::[_cplogging:219] [27/Feb/2019:18:11:20] ENGINE Bus STOPPING
2019-02-27 18:11:20,339::INFO::[_cplogging:219] [27/Feb/2019:18:11:20] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2019-02-27 18:11:20,339::INFO::[_cplogging:219] [27/Feb/2019:18:11:20] ENGINE Bus STOPPED
2019-02-27 18:11:20,339::INFO::[_cplogging:219] [27/Feb/2019:18:11:20] ENGINE Bus EXITING
2019-02-27 18:11:20,339::INFO::[_cplogging:219] [27/Feb/2019:18:11:20] ENGINE Bus EXITED
2019-02-27 18:11:52,992::INFO::[_cplogging:219] [27/Feb/2019:18:11:52] ENGINE Bus STARTING
2019-02-27 18:11:53,145::ERROR::[_cplogging:219] [27/Feb/2019:18:11:53] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "cherrypy\process\servers.pyo", line 207, in _start_http_thread
File "cherrypy\wsgiserver\__init__.pyo", line 2012, in start
error: No socket could be created -- (('0.0.0.0', 8080): [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions)
2019-02-27 18:11:53,145::INFO::[_cplogging:219] [27/Feb/2019:18:11:53] ENGINE Bus STOPPING
2019-02-27 18:11:53,145::INFO::[_cplogging:219] [27/Feb/2019:18:11:53] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2019-02-27 18:11:53,145::INFO::[_cplogging:219] [27/Feb/2019:18:11:53] ENGINE Bus STOPPED
2019-02-27 18:11:53,145::INFO::[_cplogging:219] [27/Feb/2019:18:11:53] ENGINE Bus EXITING
2019-02-27 18:11:53,145::INFO::[_cplogging:219] [27/Feb/2019:18:11:53] ENGINE Bus EXITED
Re: SABnzbd stops responding on port 8080 after a few minutes - task still running
Google the error and you'll see that this can mean a number of things. Either other processes or permission restrictions.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate