[icecast] Ice 0.3 cannot connect to Icecast2

Tom phlazma at phreaker.net
Tue Apr 13 20:00:18 UTC 2004



I've set up Icecast2 and IceS 0.3 (the version I'm told is better for 
mp3 streaming, which is what I want to do), but I can't figure out why 
IceS can't connect to Icecast2.  Icecast2 starts with no complaints, and 
a portscan shows that it has opened the default port I've set it to 
(8000).  However, IceS says it can't connect to it (both Icecast2 and 
IceS are on the same server). Here's the output of IceS:


----
Logfile opened
DEBUG: Sending following information to libshout:
DEBUG: Stream: 0
DEBUG: Host: xxx.xxx.xxx.edu:8000 (protocol: http)
DEBUG: Mount: /allatreyu, Password: xxxxxxxx
DEBUG: Name: All Atreyu URL: http://localhost/
DEBUG: Genre: Metalcore Desc: All Atreyu, All the time.  Private use only!
DEBUG: Bitrate: 128     Public: 0
DEBUG: Dump file: (null)
DEBUG: Initializing playlist handler...
DEBUG: Initializing builting playlist handler...
DEBUG: Randomizing playlist...
DEBUG: Builtin playlist handler serving: 
/mnt/music/Metal/Atreyu/Aint_Love_Grand.mp3
DEBUG: Filename cleaned up from 
[/mnt/music/Metal/Atreyu/Aint_Love_Grand.mp3] to [Aint_Love_Grand]
DEBUG: ID3v1: Title: Ain't Love Grand
DEBUG: ID3v1: Artist: ATREYU
DEBUG: MPEG-1 layer III, 128 kbps, 44100 Hz, j-stereo
DEBUG: Ext: 0   Mode_Ext: 2     Copyright: 0    Original: 0
DEBUG: Error Protection: 0      Emphasis: 0     Padding: 1
Playing /mnt/music/Metal/Atreyu/Aint_Love_Grand.mp3
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Error during send: Mount failed on 
http://xxx.xxx.xxx.edu:8000/allatreyu, error: Couldn't connect
Too many stream errors, giving up
Ices Exiting...
----

The Icecast2 error.log and access.log show nothing related to IceS 
attempting to connect, they just show reports of me browsing the web 
admin intereface.

I'm at a total loss as to what to do, I've read a bunch of tutorials and 
googled every term I could think of, but nothing relavent has shown 
up--according to the tutorials I've come accross, what I've set up 
should work, but apparently I'm missing/skipping something or it would work.

Here's the config files for Icecast2 and IceS 0.3:

---
<icecast>
    <limits>
        <clients>100</clients>
        <sources>5</sources>
        <threadpool>5</threadpool>
        <queue-size>102400</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
    </limits>
 
    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>xxxxxxxx</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>xxxxxxxx</relay-password>
 
        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>xxxxxxxx</admin-password>
    </authentication>

    <hostname>solace.dhcp.bsu.edu</hostname>

    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
    </listen-socket>
 
    <fileserve>1</fileserve>
 
    <paths>

        <basedir>/usr/share/icecast</basedir>
        <logdir>/var/lib/log/icecast2</logdir>
        <webroot>/usr/share/icecast/web</webroot>
        <adminroot>/usr/share/icecast/admin</adminroot>

    </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>

<p><p>And here's the IceS config:

<p><?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
  <Playlist>
    <File>allatreyu.txt</File>
    <Randomize>1</Randomize>
    <Type>builtin</Type>
    <Module>ices</Module>
  </Playlist>
 
  <Execution>
    <Background>0</Background>
    <Verbose>1</Verbose>
    <BaseDirectory>/var/log/ices</BaseDirectory>
  </Execution>
 
  <Stream>
    <Server>
      <Hostname>xxx.xxx.xxx.edu</Hostname>
      <Port>8000</Port>
      <Password>xxxxxxxx</Password>
      <Protocol>http</Protocol>
    </Server>
 
    <Mountpoint>/allatreyu</Mountpoint>
    <Name>All Atreyu</Name>
    <Genre>Metalcore</Genre>
    <Description>All Atreyu, All the time.  Private use only!</Description>
    <Public>0</Public>
    <Bitrate>128</Bitrate>
    <Reencode>0</Reencode>
    <Samplerate>44100</Samplerate>
    <Channels>2</Channels>
  </Stream>
</ices:Configuration>

<p>Any thoughts/suggestions?  Any help at all would be appreciated greatly.

Tom

<p>--- >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