Able to connect over wifi, connection timeout errors over 3G

Need help? Post your questions here.

Moderator: moderators

Able to connect over wifi, connection timeout errors over 3G

Postby an_otter » Sat Mar 19, 2011 6:11 pm

Any ideas? I'm able to connect through my mobile (Android 2.1) via wifi without a hitch, but 3G the connection errors out attempting to connect.
User avatar
an_otter
 
Posts: 31
Joined: Sat Mar 19, 2011 6:09 pm

Postby GJ51 » Sat Mar 19, 2011 8:13 pm

That would indicate that you do not have the ports open to get to the server from outside your network.

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.

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

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

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 - 440, 8081 - 441, 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.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby an_otter » Sat Mar 19, 2011 8:32 pm

Just to clarify, I've checked connectivity on an network outside of the one this setup is on, and I'm able to reach it on my mobile via WiFi, but not 3G.
User avatar
an_otter
 
Posts: 31
Joined: Sat Mar 19, 2011 6:09 pm

Postby GJ51 » Sun Mar 20, 2011 3:01 am

What are you getting on a 3g speedtest?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby an_otter » Mon Mar 21, 2011 4:33 am

Tests vary, but 102.5kbps average.
User avatar
an_otter
 
Posts: 31
Joined: Sat Mar 19, 2011 6:09 pm

Postby GJ51 » Mon Mar 21, 2011 3:26 pm

That's pretty low, even for 3g. At 100 kbps you'll have trouble as most music is at least 128kbps. Try connecting to the demo server to see if it works any better. With 100kbps speed your best bet would be to try a 64kbps ogg file.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby an_otter » Mon Mar 21, 2011 4:48 pm

It seems to swing from 225kbps to 75kbps, but be that as it may, should it still be timing out during initial connection? No music files have been attempted to be streamed yet.

Do you perhaps have a link to the demo server?
User avatar
an_otter
 
Posts: 31
Joined: Sat Mar 19, 2011 6:09 pm

Postby GJ51 » Mon Mar 21, 2011 5:53 pm

http://demo.subsonic.org

Username: android-guest
Password: guest
Last edited by GJ51 on Mon Mar 21, 2011 6:32 pm, edited 2 times in total.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby an_otter » Mon Mar 21, 2011 6:06 pm

Connects without a hitch and streams pretty fluidly, nice. So it's gotta be a routing/forwarding issue with my setup. I'll try some things and check back.
User avatar
an_otter
 
Posts: 31
Joined: Sat Mar 19, 2011 6:09 pm

Postby an_otter » Mon Mar 21, 2011 10:42 pm

Yeah, I've had others attempt to connect to the server now, from their locations, and it's not connecting for them either, WiFi or not. Has to be a port/ip issue.

Could you direct me to any good static ip/port forwarding walkthrough for Macs? I glazed through this: http://forum.subsonic.org/forum/viewtopic.php?p=8999 but it doesn't cover much.
User avatar
an_otter
 
Posts: 31
Joined: Sat Mar 19, 2011 6:09 pm

Postby GJ51 » Tue Mar 22, 2011 1:46 am

The most helpful information I have is already up on my second post on this thread. The port forwarding is done on the router. The best information is available on the manual for your particular router. They are all slightly different. Most router manuals are available online. Just do a google for "myrouter manual pdf" and you should be able to find it.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests