Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
whiskeytango
Newbie
Newbie
Posts: 9
Joined: December 4th, 2009, 5:28 pm

Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by whiskeytango »

I have SABnzbdplus 0.5.0 RC6 installed on Ubuntu Server 9.10 (64-bit)
I had it working for awhile but after awhile it stopped connecting from my home computer to the server and I can't figure out where I went wrong. I'm kind of a linux noob so bare with me here.

This is the error I'm getting:
Secure Connection Failed

An error occurred during a connection to x.x.x.x:9090.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)

in the ini file for hosts I have tried my servers ip, 0.0.0.0, and the host name (mediaserver) but get the same error for all three. For port I have been trying 9090. I connected before using ssl so I don't know what went wrong. Any suggestions? Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by shypike »

SABnzbd relies on a bunch of Ubuntu packages over which we have no control,
like PyOpenSSL, OpenSSL etc,
Does this happen persistently?
Does it help to restart SABnzbd? The system?
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by jcfp »

whiskeytango wrote:An error occurred during a connection to x.x.x.x:9090.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
Trying to establish a https connection on a port serving normal http?
whiskeytango
Newbie
Newbie
Posts: 9
Joined: December 4th, 2009, 5:28 pm

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by whiskeytango »

Yes it happens persistently. jcfp might be on to something. I was under the impression that port 9090 was already defined as an ssl port (if that makes any sense) For my windows desktop SABnzbd I just set the port to 9090 and was able to connect via https right away with no further tweaking. How can I define port 9090 as an ssl port on my Ubuntu Server? Hopefully this makes a little sense. My knowledge of linux servers is limited. I just thought setting the port to 9090 for ssl would automatically be recognized because it seemed to work that way on my desktop setup.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by shypike »

You set the port in Config->General.
After a restart it will start listening on 8080 for http and 9090 for https.
Or whatever else you configure.
whiskeytango
Newbie
Newbie
Posts: 9
Joined: December 4th, 2009, 5:28 pm

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by whiskeytango »

shypike wrote: You set the port in Config->General.
After a restart it will start listening on 8080 for http and 9090 for https.
Or whatever else you configure.
Yes, I did that. I checked Enable HTTPS box and set the HTTPS port to 9090 but I always get the error message I posted above.  
It connects if I erase the s from http (http + port 9090) but https + port 9090 gives me the error message. I assume http + 9090 is not giving me a ssl connection.
By the way, I get the same results trying to connect to sabnzbd+ web interface from my server firefox and my home pc firefox.
Last edited by whiskeytango on February 12th, 2010, 5:18 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by shypike »

The protocol and the port need to match.
This is the same for every website in the world that uses https.
You browser silently uses port 443 when you use https.
While http uses 80.
bas r
Newbie
Newbie
Posts: 5
Joined: July 15th, 2008, 9:34 am

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by bas r »

I had the same problem, and fixed it according to my post here:
http://ubuntu-virginia.ubuntuforums.org ... ostcount=3
jdevlin
Newbie
Newbie
Posts: 2
Joined: March 28th, 2010, 3:35 pm

Re: Ubuntu Server remote web access using HTTPS from Windows 7/Firefox. Error.

Post by jdevlin »

sweet thanks
Post Reply