FQDNS not resolving

Need help? Post your questions here.

Moderator: moderators

FQDNS not resolving

Postby dman777 » Sat Mar 26, 2011 7:27 am

hello,

I licensed my server, but I can not get my url....the fully qualified domain name to resolve. This is from my android phone rather be the app or the browser. I recently changed ports. Is the registered name tied to the port?

Thanks,
-Darin
dman777
 
Posts: 19
Joined: Sat Mar 26, 2011 4:58 am

Postby GJ51 » Sat Mar 26, 2011 3:44 pm

Yes.

Any port change should update the DNS at Subsonic.org.

Go to Settings/Network and hit the save button.
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 dman777 » Thu Mar 31, 2011 8:15 pm

Hello,

I tried this but got:
dont_want_to_use_real_name.subsonic.org is registered, but could not connect to it. (ConnectTimeoutException)

I am using https. I notice that in the box for the gui it only has http://

Is this why? How can this be fixed?

Thanks,
-Dman
dman777
 
Posts: 19
Joined: Sat Mar 26, 2011 4:58 am

Postby bushman4 » Fri Apr 01, 2011 12:56 pm

This means that the proper HTTP port is not opened correctly. check to see that the HTTP port you have set is accesible at canyouseeme.org.

HTH,
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

Postby GJ51 » Fri Apr 01, 2011 2:25 pm

dman777 wrote:Hello,

I tried this but got:
dont_want_to_use_real_name.subsonic.org is registered, but could not connect to it. (ConnectTimeoutException)

I am using https. I notice that in the box for the gui it only has http://

Is this why? How can this be fixed?

Thanks,
-Dman


When you have ssl enabled, you still access the site using the http address. SS wil convert to ssl connection internally. DO NOT use https to initiate the connection.
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 dman777 » Sat Apr 02, 2011 12:40 pm

"DO NOT use https to initiate the connection"

I wasn't aware there was a difference in using https but using http to initiate it.. I placed in the subsonic.sh file the https port under the https port directive. How am I initiating https it so I will know not to do it(but still make sure https will be used)?

Also, if I access the site through http and then it gets converted to ssl doesn't that mean for a moment the information is unsecured?
dman777
 
Posts: 19
Joined: Sat Mar 26, 2011 4:58 am

Postby GJ51 » Sat Apr 02, 2011 2:57 pm

I'm not sure about all the details of what's actually going on under the hood, but fir the Windows version anyway, all that's needed is to designate a port for the ssl, forward it on the router, then open the SS ControlPanel and enter the port number and check the enabled box. When done, you still use the http address to connect, but after the certificate warning comes up, you're on the ssl connection, then you get the log on screen.

Using a different domain than Server.subsonic.org you can make a direct ssl connection. https://maplegrove.homeserver.com:442 will bring up my log on screen. I think the reason is that the subsonic server doesn't use ssl to do the DNS but when the request hit youer server it responds to the request via ssl.
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 dman777 » Sun Apr 03, 2011 3:35 pm

I'm using Linux. I don't understand, the subsonic administrator config page/gui/browser saids that my domain name is registered but it can not connect to it. I know my ISP provider changed my ip address the other day(you know how it leases IP addresses for every so often). Could this be why?
dman777
 
Posts: 19
Joined: Sat Mar 26, 2011 4:58 am

Postby GJ51 » Sun Apr 03, 2011 4:26 pm

Yes, when your ISP changes your external address connection to SS will be temporarily disrupted. Recheck the router setup to make sure the ISP didn't make changes to your forwarding, then resave the Network settings in Subsonic, which should retransmit the new external IP to the SS.org server. If it doesn't work, verify that you can access the server from outside your network using the new IP:port#

Go to http://www.canyouseeme.org/ enter your SS port number and click the Check box to be sure the Subsonic port is open.
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 dman777 » Mon Apr 04, 2011 12:12 am

No, there has been a misunderstanding. I can reach subsonic server on my PC with the my numeric IPaddress:port # with no problems. Using my numeric IP Address I can stream music to my phone over the internet or use a browser with no problems. It is completely successful.

It is the DNS name that is not working. I can not access my subsonic server when using the DNS name(technically known as the fully qualified domain name...as the title of the thread implies).

So I need to know why I can't use my registered domain name and why my admin page saids it is registered but can not be reached.
dman777
 
Posts: 19
Joined: Sat Mar 26, 2011 4:58 am

Postby GJ51 » Mon Apr 04, 2011 12:37 am

Try changing the name.
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 dman777 » Tue Apr 05, 2011 2:43 pm

Tried changing the name but still got the:

Code: Select all
Status: musiccollection.subsonic.org is registered, but could not connect to it. (ConnectTimeoutException)


Here is my config:

Code: Select all
localhost subsonic # cat subsonic.sh
#!/bin/sh

###################################################################################
# Shell script for starting Subsonic.  See http://subsonic.org.
#
# Author: Sindre Mehus
###################################################################################

SUBSONIC_HOME=/var/subsonic
SUBSONIC_HOST=0.0.0.0
SUBSONIC_PORT=0
SUBSONIC_HTTPS_PORT=4043
SUBSONIC_CONTEXT_PATH=/
SUBSONIC_MAX_MEMORY=100
SUBSONIC_PIDFILE=
SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/music
SUBSONIC_DEFAULT_PODCAST_FOLDER=/var/music/Podcast
SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/playlists

quiet=0

usage() {
    echo "Usage: subsonic.sh [options]"
    echo "  --help               This small usage guide."
    echo "  --home=DIR           The directory where Subsonic will create files."
    echo "                       Make sure it is writable. Default: /var/subsonic"
    echo "  --host=HOST          The host name or IP address on which to bind Subsonic."
    echo "                       Only relevant if you have multiple network interfaces and want"
    echo "                       to make Subsonic available on only one of them. The default value"
    echo "                       will bind Subsonic to all available network interfaces. Default: 0.0.0.0"
    echo "  --port=PORT          The port on which Subsonic will listen for"
    echo "                       incoming HTTP traffic. Default: 4040"
    echo "  --https-port=PORT    The port on which Subsonic will listen for"
    echo "                       incoming HTTPS traffic. Default: 0 (disabled)"
    echo "  --context-path=PATH  The context path, i.e., the last part of the Subsonic"
    echo "                       URL. Typically '/' or '/subsonic'. Default '/'"
    echo "  --max-memory=MB      The memory limit (max Java heap size) in megabytes."
    echo "                       Default: 100"
    echo "  --pidfile=PIDFILE    Write PID to this file. Default not created."
    echo "  --quiet              Don't print anything to standard out. Default false."
    echo "  --default-music-folder=DIR    Configure Subsonic to use this folder for music.  This option "
    echo "                                only has effect the first time Subsonic is started. Default '/var/music'"
    echo "  --default-podcast-folder=DIR  Configure Subsonic to use this folder for Podcasts.  This option "
    echo "                                only has effect the first time Subsonic is started. Default '/var/music/Podcast'"
    echo "  --default-playlist-folder=DIR Configure Subsonic to use this folder for playlists.  This option "
    echo "                                only has effect the first time Subsonic is started. Default '/var/playlists'"
    exit 1
}

# Parse arguments.
while [ $# -ge 1 ]; do
    case $1 in
        --help)
            usage
            ;;
        --home=?*)
            SUBSONIC_HOME=${1#--home=}
            ;;
        --host=?*)
            SUBSONIC_HOST=${1#--host=}
            ;;
        --port=?*)
            SUBSONIC_PORT=${1#--port=}
            ;;
        --https-port=?*)
            SUBSONIC_HTTPS_PORT=${1#--https-port=}
            ;;
        --context-path=?*)
            SUBSONIC_CONTEXT_PATH=${1#--context-path=}
            ;;
        --max-memory=?*)
            SUBSONIC_MAX_MEMORY=${1#--max-memory=}
            ;;
        --pidfile=?*)
            SUBSONIC_PIDFILE=${1#--pidfile=}
            ;;
        --quiet)
            quiet=1
            ;;
        --default-music-folder=?*)
            SUBSONIC_DEFAULT_MUSIC_FOLDER=${1#--default-music-folder=}
            ;;
        --default-podcast-folder=?*)
            SUBSONIC_DEFAULT_PODCAST_FOLDER=${1#--default-podcast-folder=}
            ;;
        --default-playlist-folder=?*)
            SUBSONIC_DEFAULT_PLAYLIST_FOLDER=${1#--default-playlist-folder=}
            ;;
        *)
            usage
            ;;
    esac
    shift
done

# Use JAVA_HOME if set, otherwise assume java is in the path.
JAVA=java
if [ -e "${JAVA_HOME}" ]
    then
    JAVA=${JAVA_HOME}/bin/java
fi

# Create Subsonic home directory.
mkdir -p ${SUBSONIC_HOME}
LOG=${SUBSONIC_HOME}/subsonic_sh.log
rm -f ${LOG}

cd $(dirname $0)
if [ -L $0 ] && ([ -e /bin/readlink ] || [ -e /usr/bin/readlink ]); then
    cd $(dirname $(readlink $0))
fi

${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \
  -Dsubsonic.home=${SUBSONIC_HOME} \
  -Dsubsonic.host=${SUBSONIC_HOST} \
  -Dsubsonic.port=${SUBSONIC_PORT} \
  -Dsubsonic.httpsPort=${SUBSONIC_HTTPS_PORT} \
  -Dsubsonic.contextPath=${SUBSONIC_CONTEXT_PATH} \
  -Dsubsonic.defaultMusicFolder=${SUBSONIC_DEFAULT_MUSIC_FOLDER} \
  -Dsubsonic.defaultPodcastFolder=${SUBSONIC_DEFAULT_PODCAST_FOLDER} \
  -Dsubsonic.defaultPlaylistFolder=${SUBSONIC_DEFAULT_PLAYLIST_FOLDER} \
  -Djava.awt.headless=true \
  -jar subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &

# Write pid to pidfile if it is defined.
if [ $SUBSONIC_PIDFILE ]; then
    echo $! > ${SUBSONIC_PIDFILE}
fi

if [ $quiet = 0 ]; then
    echo Started Subsonic [PID $!, ${LOG}]
fi




This is with the firewall off also.

What else can I do? Is there someone I can contact?

Thanks,
-dman
dman777
 
Posts: 19
Joined: Sat Mar 26, 2011 4:58 am

Postby GJ51 » Tue Apr 05, 2011 3:59 pm

Look, we've been through this hundreds of times here on this forum. If SS works fine internally, then connecting from outside your network is just a matter of getting the routing set up correctly.

So, IF it runs fine internally, you have to make sure that the port forwarding on the router is correct.

Can you connect to SS using your external IP:port# address? If you can't, you won't be able to connect using the subsonic.org name.

You can connect to my server using http://98.117.185.5:8084/ OR using http://garyj51.subsonic.org If I can't connect using the ip:port# I'll never connect using the subsonic.org address.

Do you have your SS server set up on an internal static ip?
Last edited by GJ51 on Tue Apr 05, 2011 9:53 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 bushman4 » Tue Apr 05, 2011 3:59 pm

When you say that you can connectto your Subsonic server with the numeric IP, do you meant the INTERNAL ip or the EXTERNAL ip?

If you go to www.canyouseeme.org from the server and enter your HTTP port number, does it see that it is open?
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

Postby dman777 » Wed Apr 06, 2011 7:25 am

1) Using my IP's External numberic address I can connect fine. I am at the coffee shop right now listening to my music(streaming through subsonic) right now on my android phone. However, I used the numeric external ipaddress:port#because the DNS name doesn't work.
2) The port fowarding is correct on my router because I can connect to my subsonic server when I use my numeric external IPAddress. Am I wrong about this? Again, I am currently away from my house at the coffee shop and I am streaming music from my subsonic server to my android phone using the numeric external ipaddress.

3) To emphises- the external numeric ipaddress works....but not the dns name. This is rather I use the android app or a browser on a PC. The DNS name will not resolve. But again....please understand, if I don't use the DNS but just use the external IP Address:port# then I can access my subsonic server.

4) Yes, can you see me see's my port for sub sonic open.

Example(this is not the actual real ipaddress or dns name):
This is from the outside of my router....using the internet.
93.66.133.54:4043 - WORKS. Success.
mymusiccollection.subsonic.org - Does not work. NO success.
dman777
 
Posts: 19
Joined: Sat Mar 26, 2011 4:58 am

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 10 guests