Page 1 of 1

SSL only on port 8080

PostPosted: Mon Dec 31, 2012 6:05 pm
by wezman2k
So...my work uses a websense filtering program to block the subsonic.org address.

I have found that if I use port 8080 without ssl i am able to access my server just fine. however, if i attempt to use port 8080 for https it doesn't work. i've tried changing the http port to 80, 8081 and several others. It's like 2 ports are needed for subsonic to work properly. one for http as well as one for https.

I would much rather have my server set up using https but not if i can't reach it at work. is there any way to completely disable the http port so i can just rely on 8080 for https?

thanks for your help.

Re: SSL only on port 8080

PostPosted: Mon Dec 31, 2012 6:33 pm
by daneren2005
Set the http port to 0. Subsonic doens't run correctly if either http or https isn't set to 0, and https is set to 0 by default.

Re: SSL only on port 8080

PostPosted: Mon Dec 31, 2012 6:47 pm
by wezman2k
i'm pretty sure i tried that and then it defaulted back to 4040...

i also tried getting rid of the http port lines altogether in the info.plist file

edit: tried again just to make sure. it doesn't default to 4040 but when i do that the page doesn't load because it initially attempts a connection on port 0

Re: SSL only on port 8080

PostPosted: Mon Dec 31, 2012 7:21 pm
by jol
daneren2005 wrote:Set the http port to 0. Subsonic doens't run correctly if either http or https isn't set to 0, and https is set to 0 by default.
Depends on how you define "runs correctly". If both http and https are configured, Subsonic automatically redirects all requests using http to https.
wezman2k wrote:So...my work uses a websense filtering program to block the subsonic.org address.

I have found that if I use port 8080 without ssl i am able to access my server just fine. however, if i attempt to use port 8080 for https it doesn't work. i've tried changing the http port to 80, 8081 and several others. It's like 2 ports are needed for subsonic to work properly. one for http as well as one for https.
The questions are (1) should you try to bypass a policy set by your company? (2) what are the technical means used to enforce the policy? You must be aware that use of https makes it hard to impossible for the company to enforce a policy as one can also use https to tunnel any traffic and without terminating https traffic (possible, but few products, imho illegal without telling employees and disallowing private use of the internet).Thus it is possible that your company just blocks https, and then the automatic redirect above will prevent Subsonic to work unless you disable https.
However this is just speculation, you should probably just contact your IT and ask what the policy is and whether or how you can continue to use Subsonic without risking non compliance.
Best regards, jol

Re: SSL only on port 8080

PostPosted: Mon Dec 31, 2012 9:33 pm
by wezman2k
Well the thing is, I've been using Audiogalaxy at work for almost a year now and I've been fine. No trouble. With Audiogalaxy shutting down I've now switched over to subsonic (and quite glad that I have...it's way better).

I'm not really concerned about getting into any trouble at work...otherwise I would have long ago. If I have to refrain from using https then I'm ok with that. I just figured there may be a way to completely disable http and use https only on port 8080.

Re: SSL only on port 8080

PostPosted: Fri Jan 04, 2013 6:38 pm
by wezman2k
any more guidance on this?

Re: SSL only on port 8080

PostPosted: Fri Jan 04, 2013 6:43 pm
by bushman4
Are you trying to go directly to the address (ie, https://1.1.1.1:8080/) or are you trying to use the vanity subsonic.org domain name?

If you are trying to use the later, yes, both the HTTP and SSL ports must be set and open to the outside world.

I could explain why, but I have a million times already... search out one of my old posts with the word "redirect" in it.

Glenn

Re: SSL only on port 8080

PostPosted: Sat Jan 19, 2013 6:42 pm
by wezman2k
the subsonic.org domain is blocked at work so i access my subsonic using the IP address.

with no SSL on and subsonic set to port 8080 everything works great. if i turn on SSL it won't load. websense doesn't kick in or anything, the page just doesn't load.

Re: SSL only on port 8080

PostPosted: Thu Apr 18, 2013 11:48 pm
by wezman2k
I still haven't managed to get this resolved.

I'm generally ok using http:// but i'd feel better if i could get this running on https://

ugh..why does it have to redirect?! why can't i just get rid of the http:// port altogether. it doesn't make sense to me.