Page 1 of 1

subsonic login page randomly popping up. Help!

PostPosted: Mon Mar 07, 2011 5:58 am
by kvrdave
I downloaded subsonic yesterday. Since that time my browser has been randomly redirecting to the subsonic login page (the admin/admin one). For example, if I go to facebook or photobucket, I put in my login stuff, hit the login button, I will log in, then suddenly be directed to the subsonic page. Or, if I go to some random site like dealnews.com I am suddenly redirected to the subsonic login page. Happens in IE and also happens in Firefox.

I'm on a 32 bit Vista machine.

Any ideas? Can't seem to find any incidents of this happening to anyone else, but it may just be a tricking thing to search for.

PostPosted: Mon Mar 07, 2011 6:15 am
by alphawave7
Had this happen on a friend's install, using the default port 80. Try another port.

PostPosted: Mon Mar 07, 2011 7:25 am
by kvrdave
Thanks, I will try that. The settings area says "If your router can't be configured automatically you can set it up manually. Follow the instructions on portforward.com. You must forward port 80 to the computer running the Subsonic server. "

Will any number port be fine and is the above incorrect that it must be port 80?

PostPosted: Mon Mar 07, 2011 8:55 am
by GJ51
Most problems are due to improper setup on the router. Setting a fixed internal ip address for the server and proper port forwarding rules on the router are essential for long term stability.

Disable any DHCP services in any VOIP equipment you have. Only one device per network should handle DHCP assignments.

First read: http://monroeworld.com/android/subsonic/ This is the Windows tutorial but most of the concepts apply to any setup. Specific setup instructions for other Operating Systems are available in the Tutorials section. http://forum.subsonic.org/forum/viewforum.php?f=6 and on the Subsonic website at http://www.subsonic.org/pages/installation.jsp

Never use port 80 - ISP's often use it or block it and these are also the default ports on WHS. 8080,8081, work fine. 808X always works. I've seen others use different port numbers that have caused install failure.

Start with a fresh Java install to the latest version. If you have Java already, uninstall, then do a clean install of the latest version. If you use a 64 bit browser be sure to get both 32 & 64 bit Java.
http://www.java.com/en/download/faq/java_win64bit.xml

In Subsonic Settings/Network - UNCHECK " Automatically configure your router to allow incoming connections to Subsonic (using UPnP or NAT-PMP port forwarding)." make sure to hit the SAVE button, you may have to scroll down to see it depending on your screen size. UPnP or Plug & Pray works sometimes, but not very often and you're better off learning what's going on anyway. You're dipping your toe into the network mgmt. thing anyway, might as well learn what's going on as home networks don't get simpler as time goes on. As your network gets more complex, you're going to have to learn this stuff! No time like the present.

Manually assign a fixed intenal IP and static route to your server at the upper end of the address range of the router, out of the way of DHCP, e.g. 192.168.1.254

Set up your router manually. uPNP might work, but most often it doesn't. Learing how to do it will be a skill you'll love having as your network grows.

Check the Subsonic Control Panel to make sure it's using the right port you're going to use. I typically use 8080, 8081, etc.

Set up port forwarding in your router to direct traffic on the selected port to your server. Consult your router documentation to do this, they are all a bit different.

Learn your external IP address assigned by your ISP. Go to http://www.canyouseeme.org/ enter your SS port number and click the Check box to be sure the Subsonic port is open.

Test your setup by entering your external IP:port# to see if it connects. e.g. http://98.117.185.5:8084/ If it works, you're good to go.

PostPosted: Tue Mar 08, 2011 3:53 am
by 3R3
I've seen others use different port numbers that have caused install failure.

I'd love to see a link to that, a nonstandart port that crashes SS? Interesting if reproduceable.

That strange behaviour was because both your browser was sending on port 80 and subsonic listening on 80. So from time to time collisions occur and people wonder. Keep port 80 (and a few others, google for standard ports) free at all cost if you want to use the pc on that network for other things beside subsonic.

PostPosted: Tue Mar 08, 2011 4:42 am
by GJ51
It wasn't something I observed directly, but one user I was helping was set up in the 5000 range I think. Don't ask me where the link is as the thread is a few months old now. I try to give information that I know works. I've never had, nor have I ever heard of anyone else having any issues setting up ports in the 808x range. I'm sure there are untold numbers of other port numbers that will work just as well, but I prefer to stick with what experience has taught me that doesn't present new problems that I've not encountered before.

I'm no IT expert, I'm just a user. I'm not too concerned with the "why it works" rather I'm all about "this is what I found that works."

PostPosted: Tue Mar 08, 2011 6:16 am
by kvrdave
Thanks. I ended up purchasing the port fowarding software. From within subsonic, I saw where to uncheck the "automatically configure" but for the life of me I could never see a way to manually put in another port, such as 8080 or anything else. I changed the port forward software to 80 and it works, but I will continue to have the same intermittent problem.

So from settings>network I get the uncheck, but where do I find a place to manually put in another port?

Thanks much for this help.

PostPosted: Wed Mar 09, 2011 2:15 am
by GJ51
First read: http://monroeworld.com/android/subsonic/

I guess you must have just missed this part. :wink:

In the court room the objection would be phrased, "Asked and answered, your honor."

We're a bit more forgiving here, but within limits. 8)

PostPosted: Thu Mar 10, 2011 5:48 am
by kvrdave
Thanks a bunch for your help. I need to slow down and read, but it doesn't seem to be in my nature. :wink:

PostPosted: Thu Mar 10, 2011 7:32 am
by GJ51
This is one project where the hard way IS the easy way. Unless you're just plain lucky, you really need to understand what needs to be done if you want this to work and be stable. Home networks only get more complicated as they get older, this is a great project to learn needed skills that will server you well into the future. Take your time, it'll be worth it.