Get Listed on Streamcast?

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
User avatar
JERIC
Posts: 15
Joined: Fri Nov 19, 2004 2:36 pm

Get Listed on Streamcast?

Post by JERIC » Fri Nov 19, 2004 2:47 pm

Using SAM 3.1.8 and Icecast 2.1.0 Win32 I have entered the Get Listed code

Code: Select all

<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.radiotoolbox.com/mediatoolbox/yp-cgi.php</yp-url>
</directory>
to my Icecast config file. My stations do not show up on the list. I have 2 streams on 2 stations for a total of 4 Icecast streams. Do I need permission to get added or is this just still beta/development and I should get automatically listed when everything is complete?

Thanks in advance, Jay.


JERIC

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Fri Nov 19, 2004 8:24 pm

No, there are no special requirements to get listed. Do you get any response at all in your logs?
- Jay

User avatar
JERIC
Posts: 15
Joined: Fri Nov 19, 2004 2:36 pm

Post by JERIC » Sat Nov 20, 2004 10:43 am

I get this:
[2004-11-20 10:45:15] EROR yp/yp.c YP add on http://www.radiotoolbox.com/mediatoolbox/yp-cgi.php failed: Cannot Connect to 64.62.175.168:8000, Disable Firewall/Nat/Proxy.
Disabled firewall but no help. 64.62.175.168 is the IP address of my server. Why would it be trying to connect to port 8000 on my server? I have 4 streams that mount on 4 different IPs all on port 8000.

I get this too:
[2004-11-20 10:45:15][2004-11-20 10:47:52] DBUG yp/yp.c YP add at http://iradiocast.com/cgi-bin/yp succeeded
[2004-11-20 10:47:17] DBUG yp/yp.c YP touch at http://dir.xiph.org/cgi-bin/yp-cgi succeeded
[2004-11-20 10:47:18] DBUG yp/yp.c YP touch at http://www.oddsock.org/cgi-bin/yp-cgi succeeded
Sometimes the iRadioCast doesn't connect but I assume because it is under development too.

Here is my config file:

Code: Select all

<icecast>
    <limits>
        <clients>100</clients>
        <sources>4</sources>
        <threadpool>5</threadpool>
        <queue-size>102400</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <!-- If enabled, this will provide a burst of data when a client 
             first connects, thereby significantly reducing the startup 
             time for listeners that do substantial buffering. However,
             it also significantly increases latency between the source
             client and listening client.  For low-latency setups, you
             might want to disable this. -->
        <burst-on-connect>1</burst-on-connect>
        <!-- same as burst-on-connect, but this allows for being more
             specific on how much to burst. Most people won't need to
             change from the default 64k. Applies to all mountpoints  -->
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>********</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>********</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>********</admin-password>
    </authentication>

    <!-- Uncomment this if you want directory listings -->
    <directory>
		<yp-url-timeout>15</yp-url-timeout>
		<yp-url>http://iradiocast.com/cgi-bin/yp</yp-url>
	</directory>
	<directory>
		<yp-url-timeout>15</yp-url-timeout>
		<yp-url>http://www.radiotoolbox.com/mediatoolbox/yp-cgi.php</yp-url>
    </directory>
    <directory>
        <yp-url-timeout>15</yp-url-timeout>
        <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
    </directory>
    <directory>
        <yp-url-timeout>15</yp-url-timeout>
        <yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
    </directory>
     

    <!-- This is the hostname other people will use to connect to your server.
    It affects mainly the urls generated by Icecast for playlists and yp
    listings. -->
    <hostname>localhost</hostname>

    <!-- You can use these two if you only want a single listener -->
    <!--<port>8000</port> -->
    <!--<bind-address>127.0.0.1</bind-address>-->

    <!-- You may have multiple <listener> elements -->
    <listen-socket>
        <port>8000</port>
        <bind-address>64.62.253.23</bind-address>
    </listen-socket>
        <listen-socket>
        <port>8000</port>
        <bind-address>64.62.253.31</bind-address>
    </listen-socket>
        <listen-socket>
        <port>8000</port>
        <bind-address>64.62.175.232</bind-address>
    </listen-socket>
        <listen-socket>
        <port>8000</port>
        <bind-address>64.62.175.233</bind-address>
    </listen-socket>
    <!--
    <listen-socket>
        <port>8001</port>
    </listen-socket>
    -->

    <!--<master-server>127.0.0.1</master-server>-->
    <!--<master-server-port>8001</master-server-port>-->
    <!--<master-update-interval>120</master-update-interval>-->
    <!--<master-password>********</master-password>-->
    <!--
    <relay>
        <server>127.0.0.1</server>
        <port>8001</port>
        <mount>/example.ogg</mount>
        <local-mount>/different.ogg</local-mount>

        <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
    </relay>
    -->

    <!-- Only define a <mount> section if you want to use advanced options,
         like alternative usernames or passwords
    <mount>
        <mount-name>/example-complex.ogg</mount-name>

        <username>othersource</username>
        <password>********</password>

        <max-listeners>1</max-listeners>
        <dump-file>/tmp/dump-example1.ogg</dump-file>
        <burst-size>65536</burst-size>
        <fallback-mount>/example2.ogg</fallback-mount>
        <authentication type="htpasswd">
                <option name="filename" value="myauth"/>
                <option name="allow_duplicate_users" value="0"/>
        </authentication>
    </mount>
    -->

    <fileserve>1</fileserve>

    <paths>
		<!-- basedir is only used if chroot is enabled -->
        <basedir>./</basedir>

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>./logs</logdir>
        <webroot>./web</webroot>
        <adminroot>./admin</adminroot>
        <!-- <pidfile>./icecast.pid</pidfile> -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" dest="/bar"/>
          -->
        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for http://server:port/ to
             the status page
          -->
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
      	<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>

    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nogroup</group>
        </changeowner>
        -->
    </security>
</icecast>
I tried chaning all the ports to 3128. No Go.

I get this from iRadioCast sometimes:
[2004-11-20 11:29:10] EROR yp/yp.c YP touch on http://iradiocast.com/cgi-bin/yp failed: iradiocast.com touch error, cant update server info
and only 1 out of 4 streams are shown on the directory.

But Xiph and Oddsock are perfect.

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sat Nov 20, 2004 3:29 pm

hmmm yea what it does is attempt to connect to you in a similar way that SHOUTcast.com's YP does, I varify because I don't use the provided listen links, rather I use your detected IP unlike the other directories.

post or pm me a link to the server you are trying to add so I can check it out.
- Jay

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sat Nov 20, 2004 4:11 pm

try now.

I have set it up to:

First, test the listen url provided by the server, if that fails then it uses the remote address and then if that fails, nak.
- Jay

User avatar
JERIC
Posts: 15
Joined: Fri Nov 19, 2004 2:36 pm

Post by JERIC » Sat Nov 20, 2004 4:43 pm

I don't see any of my streams listed.

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sun Nov 21, 2004 7:38 am

has the error reported changed?
- Jay

User avatar
JERIC
Posts: 15
Joined: Fri Nov 19, 2004 2:36 pm

Post by JERIC » Sun Nov 21, 2004 7:50 am

Same thing:
[2004-11-21 08:38:50] EROR yp/yp.c YP add on http://www.radiotoolbox.com/mediatoolbox/yp-cgi.php failed: Cannot Connect to 64.62.175.168:8000, Disable Firewall/Nat/Proxy.

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sun Nov 21, 2004 8:02 am

yup just went back and double checked my code, it was still using the same old method. try now.
- Jay

User avatar
JERIC
Posts: 15
Joined: Fri Nov 19, 2004 2:36 pm

Post by JERIC » Sun Nov 21, 2004 8:10 am

Do I need to restart the icecast server? I don't want to unless I have to because I don't want to boot the listeners on it.

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sun Nov 21, 2004 8:17 am

well, you shouldn't have to. Icecast should keep trying as far as I know. Give it 5 minutes or so if it doesn't attempt to by then then it probably won't ever.
- Jay

User avatar
JERIC
Posts: 15
Joined: Fri Nov 19, 2004 2:36 pm

Post by JERIC » Sun Nov 21, 2004 8:24 am

Ok I got this 20 minutes after your post about changing the code.

[2004-11-21 09:22:22] EROR yp/yp.c YP add on http://www.radiotoolbox.com/mediatoolbox/yp-cgi.php failed: Cannot Connect to localhost:8000 nor 64.62.175.168:8000, Disable Firewall/Nat/Proxy.

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sun Nov 21, 2004 8:34 am

ok just let it continue trying, I will try to capture your request.
- Jay

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sun Nov 21, 2004 8:44 am

ok well your server is reporting your listenurl as http://localhost:8000/sst64k.ogg same with your other one that I captured http://localhost:8000/sst32k.ogg

And just to be sure it wasn't something on my end I checked out the other directories that allowed you to list and sure enough they were doing the same thing. No one is able to connect to you from any YP directory at this point.

I would double check your configuration and make sure that you have the latest Icecast2.
- Jay

User avatar
JERIC
Posts: 15
Joined: Fri Nov 19, 2004 2:36 pm

Post by JERIC » Sun Nov 21, 2004 11:23 am

Ok, I'm on now. I had to change all my IPs to my server IP and use different ports. Not exactly the way I wanted it configured but I'm happy it all works now. Thanks a lot for your help.

Post Reply