Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ices v2.0.1 doesn't reconnects if I restart icecast

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Mon Apr 23, 2007 7:07 am    Post subject: ices v2.0.1 doesn't reconnects if I restart icecast Reply with quote

Hello,

I put in ices.xml the following, for the streaming instance:
Code:
        <instance> 
            <hostname>10.22.1.254</hostname>
            <port>8000</port>
            <password>XXX</password>
            <mount>/xxxxx.ogg</mount>
            <yp>0</yp>   <!-- allow stream to be advertised on YP, default 0 -->
           
            <reconnectdelay>7</reconnectdelay>
            <reconnectattempts>-1</reconnectattempts>

            <encode> 
                <quality>0</quality>   
                <nominal-bitrate>65536</nominal-bitrate>
                <maximum-bitrate>65536</maximum-bitrate>                       
                <minimum-bitrate>-1</minimum-bitrate>                           
                <managed>0</managed>
                <samplerate>44100</samplerate>       
                <channels>2</channels>               
            </encode>

        </instance>

If I restart (service icecast restart or rcicecast restart) icecast, on 10.22.1.254, the ices' instance doesn't connects anymore. In logs, seems that it tries 1-2 times then hangs up:
Code:
[2007-04-22  18:16:25] EROR stream/ices_instance_stream Send error: Socket error (Broken pipe)
[2007-04-22  18:16:25] WARN stream/ices_instance_stream Trying reconnect after server socket error
[2007-04-22  18:16:25] EROR stream/ices_instance_stream Failed to reconnect to 10.22.1.254:8000 (Couldn't connect)
[2007-04-22  18:16:30] WARN stream/ices_instance_stream Trying reconnect after server socket error

And remains like it... doesn't try anymore. I was waited for 2-3 minutes and nothing...

I have to restart, manually, ices in order to resume the streaming.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber