[icecast] cannot get icecast and ices to talk...authentication failed

Eric L. Brown eric at jyates.net
Fri Apr 4 05:30:07 UTC 2003

I have a weird one...
I installed icecast 2 and ices .23 on Mandake, and am not having any luck
I compiled and installed the nightly icecast just today.

It seems to work fine, however when I telnet to it (, port 8000),
I am unable to login unless the first line contains ONLY the password.

I used ethereal to see that iceS is trying to send to authenticate, and it
is sending (as the first line):
SOURCE hackme /example1.ogg

<p>And then some other information (separated by a single \n), and after the
\n\n (double CR combo), it fails, and I am getting
Error during send: Mount failed on,
error: Could not login on server. Server message: HTTP/1.0 401
Authentication Required

<p>I feel kinda dumb in that I think that cannot really be this difficult,
but I am at a stand still.  Here are the config files:

icecast.xml 2.x (nightly build)
        <location>Not Currently Used</location>
        <admin>Not Currently Used</admin>


        <!-- Sources log in with username 'source' -->
        <!-- Relays log in username 'relay' -->

        <!-- Admin logs in with the username given below -->

    <!-- Uncomment this if you want directory listings -->
        <yp-url><a href="http://www.oddsock.org/cgi-bin/yp-cgi</yp-url">http://www.oddsock.org/cgi-bin/yp-cgi</yp-url</a>>


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

    <!-- You may have multiple <listener> elements -->
        <!-- <bind-address></bind-address> -->





<!--        <dump-file>/tmp/dump-example1.ogg</dump-file> -->



        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->

              <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error

                </changeowner>  -->

ices.conf 0.2.3
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
    <!-- This is the filename used as a playlist when using the builtin
         playlist handler. -->
    <!-- Set this to 0 if you don't want to randomize your playlist, and to
         1 if you do. -->
    <!-- Either builtin, perl, or python. -->
    <!-- Module name to pass to the playlist handler if using  perl or
         If you use the builtin playlist handler then this is ignored -->

    <!-- Set this to 1 if you want ices to launch in the background as a
         daemon -->
    <!-- Set this to 1 if you want to see more verbose output from ices -->
    <!-- This directory specifies where ices should put the logfile, cue file
         and pid file (if daemonizing). -->

      <!-- Hostname or ip of the icecast server you want to connect to -->
      <!-- Port of the same -->
      <!-- Encoder password on the icecast server -->
      <!-- Header protocol to use when communicating with the server.
           Use xaudiocast for icecast, or icy for shoutcast compatibility -->

    <!-- The name of the mountpoint on the icecast server -->
    <!-- The name of the dumpfile on the server for your stream. DO NOT set
         this unless you know what you're doing.
    <!-- The name of you stream, not the name of the song! -->
    <Name>Cool ices default name from XML</Name>
    <!-- Genre of your stream, be it rock or pop or whatever -->
    <Genre>Cool ices genre from XML</Genre>
    <!-- Longer description of your stream -->
    <Description>Cool ices description from XML</Description>
    <!-- URL to a page describing your stream -->
    <URL>Cool ices URL from XML</URL>
    <!-- 0 if you don't want the icecast server to publish your stream on
         the yp server, 1 if you do -->

    <!-- Stream bitrate, used to specify bitrate if reencoding, otherwise
         just used for display on yp and on the server. Try to keep it
         accurate -->
    <!-- If this is set to 1, and ices is compiled with liblame support,
         ices will reencode the stream on the fly to the stream bitrate. -->
    <!-- Number of channels to reencode to, 1 for mono or 2 for stereo -->

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast mailing list