Android SSL (HTTPS) can't login to Subsonic Server

General discussions.

Moderator: moderators

Android SSL (HTTPS) can't login to Subsonic Server

Postby ninjapuffin » Thu Oct 25, 2012 4:58 am

Hello,

I am trying to setup the Subsonic Server to use HTTPS (SSL) and work with the Android App.
I went in to the server control panel and set activated the HTTPS feature, restarted server no problems.
Logged in via the web page, notice it was using https which was great so I thought everything was fine.
I then tried to login via the Android App and got the error connection error. I then tried to change the music server to: https://<name>.subsonic.org
https://<name>.subsonic.org:4443
http://<name>.subsonic.org
none of these worked all gave the connection error message.
Does the Android App work with https?
What have I not setup correctly?

Thanks
ninjapuffin
 
Posts: 9
Joined: Thu Oct 25, 2012 4:45 am

Re: Android SSL (HTTPS) can't login to Subsonic Server

Postby mr_nobody » Thu Oct 25, 2012 12:30 pm

Yes https works with the android app. The address you have that includes both the "https" part as well as the port number is what I use. That being said, I do not use a subsonic.org address...not sure if that is an issue or not.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: Android SSL (HTTPS) can't login to Subsonic Server

Postby bushman4 » Thu Oct 25, 2012 12:48 pm

If you are using a subsonic address then you should NOT use https in the front of the address... it should just be http://yourdomain.subsonic.org.

Earlier versions of the app didn't seem to like any capitalization, so I always use lowercase. Not sure if that is still an issue.

That being said, your problem is most likely that you need to open the ssl port on your router and map it to the ip address of the subsonic server like you did with the regular non-ssl port.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Android SSL (HTTPS) can't login to Subsonic Server

Postby ninjapuffin » Fri Oct 26, 2012 7:03 pm

Thanks Glenn you were right I had forgotten to map the new 4443 port in my router and now the Android app connects.
This brings up another question which is how do I know if the Android app is using the SSL connection vs. the non-SSL connection.
The fact is that I have both the 4040 and 4443 ports open, so is there any indication in the app which it is using?

thanks
ninjapuffin
 
Posts: 9
Joined: Thu Oct 25, 2012 4:45 am

Re: Android SSL (HTTPS) can't login to Subsonic Server

Postby bushman4 » Fri Oct 26, 2012 7:22 pm

If you have SSL enabled then the only thing that Subsonic ever replies on the HTTP port is "302 - Temporarily moved, try https://your.ip.address:YourPort/YourContextPath. "

So if SSL is turned on it has to be using SSL or it would not be working.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests