Hello,
I am trying to figure out how to configure a port above 9999. I subscribe to a VPN server, and have been assigned a 5 digit port number that I can use to forward. The idea is that I can access SAB while not on my home network. Whenever I change the port number to anything above 9999 I get the following error:
SSL received a record that exceeded the maximum permissible length.
Is there any way around this?
I can get this working with any port 9999 below (so long as the port is not in use). I have tried 5+ ports above the 9999 mark and none seem to work.
Any help would be appreciated.
Unable to use ports above 9999
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: Unable to use ports above 9999
Which operating system are you using?
-
grepusername
- Newbie

- Posts: 4
- Joined: February 8th, 2015, 7:46 am
Re: Unable to use ports above 9999
FreeBSD 9.2 - I have SAB running on NAS4Free.
And for clarification purposes... I get the error in Firefox.
And for clarification purposes... I get the error in Firefox.
Re: Unable to use ports above 9999
The determining factor is the NAS.
Check whether port ranges are off limits.
Any port below 1024 can only be used by apps running under root.
Other than that, clean your Firefox cache.
Firefox can have trouble switching between http and https on the same port,
if used in succession.
Check whether port ranges are off limits.
Any port below 1024 can only be used by apps running under root.
Other than that, clean your Firefox cache.
Firefox can have trouble switching between http and https on the same port,
if used in succession.
-
grepusername
- Newbie

- Posts: 4
- Joined: February 8th, 2015, 7:46 am
Re: Unable to use ports above 9999
I thought I would try what you said, so below are the results of my tests:
I have 4 other ports that I can forward with my VPN service. All of these ports are above 9999. I have other services running on NAS4Free including Sickbeard, Maraschino, CouchPotato, Minecraft Server, and Headphones.
I configured all 4 remaining ports on different services (specifically Sickbeard, Maraschino, CouchPotato, and my Minecraft server). All four of these services are now running with a port greater than 9999. Seeing as all of these services are running on the NAS, I am not sure if the NAS is limiting these port ranges.
I next cleared the cache in both of my Firefox and Chrome installations. I still receive the same "exceeeded maximum permissible length" on firefox. In Chrome I receive a different...included below:
"Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have."
I can run SAB over https -- right now its configured to run over https on port 9999. So I know the certificate is working, just don't know why it doesn't work above port 9999.
I am going to try and generate my own certificate and use it instead of the default certificate. I'll post back later on what I find...probably tomorrow. But.......
Any other suggestions would be very appreciated. Thanks!
I have 4 other ports that I can forward with my VPN service. All of these ports are above 9999. I have other services running on NAS4Free including Sickbeard, Maraschino, CouchPotato, Minecraft Server, and Headphones.
I configured all 4 remaining ports on different services (specifically Sickbeard, Maraschino, CouchPotato, and my Minecraft server). All four of these services are now running with a port greater than 9999. Seeing as all of these services are running on the NAS, I am not sure if the NAS is limiting these port ranges.
I next cleared the cache in both of my Firefox and Chrome installations. I still receive the same "exceeeded maximum permissible length" on firefox. In Chrome I receive a different...included below:
"Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have."
I can run SAB over https -- right now its configured to run over https on port 9999. So I know the certificate is working, just don't know why it doesn't work above port 9999.
I am going to try and generate my own certificate and use it instead of the default certificate. I'll post back later on what I find...probably tomorrow. But.......
Any other suggestions would be very appreciated. Thanks!
Re: Unable to use ports above 9999
Did you install the CherryPy module that comes with SABnzbd?
You cannot use a standard version of CherryPy.
You cannot use a standard version of CherryPy.
-
grepusername
- Newbie

- Posts: 4
- Joined: February 8th, 2015, 7:46 am
Re: Unable to use ports above 9999
I checked my NAS and I do have a standard CherryPy module installed (py27-cherrypy). If I remember correctly, I used an easy_install, so it is almost certain that I am not using the module that was included with SABnzbd.
Would I need to remove the currently installed CherryPy module from my system and then use the module included with SAB, or is there a way to direct SAB to use the included CherryPy module?
Would I need to remove the currently installed CherryPy module from my system and then use the module included with SAB, or is there a way to direct SAB to use the included CherryPy module?
Re: Unable to use ports above 9999
You must use our CP version, because the standard one contains
a serious bug in https handling.
Put our CP somewhere and modify the PYTHON_PATH environment variable so that
the CP location is seen first.
a serious bug in https handling.
Put our CP somewhere and modify the PYTHON_PATH environment variable so that
the CP location is seen first.
Re: Unable to use ports above 9999
Can't SABnzbd only import the included CherryPy? I believe in python you can set an path-to-follow with import / imp.shypike wrote:You must use our CP version
Re: Unable to use ports above 9999
No, CherryPy must be in the folder where SABnzbd.py is.
Otherwise the internal imports of CherryPy will fail.
An unfortunate side-effect is that a missing CherryPy module there,
will automatically make Python import the "standard" CherryPy.
Hopefully more recent versions of CP will just work,
something that I will tackle for 0.8.0
Otherwise the internal imports of CherryPy will fail.
An unfortunate side-effect is that a missing CherryPy module there,
will automatically make Python import the "standard" CherryPy.
Hopefully more recent versions of CP will just work,
something that I will tackle for 0.8.0
