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 

icecast and round robin dns

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Ant



Joined: 11 Jun 2008
Posts: 27
Location: Russia

PostPosted: Mon Aug 30, 2010 7:47 am    Post subject: icecast and round robin dns Reply with quote

Hi.
Maybe it's not icecast related, but i saw this problem with the relaying station that uses round robin dns (not redirects).

I'am trying relay on my icecast this station:
Code:

name radio.promodeejay.net
port 8000
mount point /channel5-192


It looks like when some ip adresses is unavailable icecast doesn't goes to another one, it just sits with this error:

Code:

[2010-08-30  11:32:02] INFO slave/open_relay_connection connecting to radio.promodeejay.net:8000
[2010-08-30  11:32:02] EROR slave/open_relay_connection Header read failed for /04-promodj (radio.promodeejay.net:8000/channel5-192)
[2010-08-30  11:34:02] INFO slave/start_relay_stream Starting relayed source at mountpoint "/04-promodj"


Of cource i try restart icecast few times.
Putting working ip - name in /etc/hosts can help here.
Or putting ip (not name) in icecast relay config.

Main differences with other stations that i can see is that this adress has multiply ip:

Code:

nslookup radio.promodeejay.net

Non-authoritative answer:
Name:   radio.promodeejay.net
Address: 91.213.196.201
Name:   radio.promodeejay.net
Address: 94.75.240.206
Name:   radio.promodeejay.net
Address: 95.211.86.241
Name:   radio.promodeejay.net
Address: 77.221.159.34



Maybe there is option that allow icecast to take another ip from dns and try it?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Aug 31, 2010 1:38 am    Post subject: Reply with quote

Not an easy one to deal with really. If the first entry was not responding then I think it would go to the next IP but if it's responding then it is treated as connected and then further processing takes place including any http 302 redirection.

In the kh tree you can specify separate relay masters to try, which would work for the IPs but 2.3.2/trunk does not have that handling.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ant



Joined: 11 Jun 2008
Posts: 27
Location: Russia

PostPosted: Tue Aug 31, 2010 7:03 am    Post subject: Reply with quote

karlH wrote:

In the kh tree you can specify separate relay masters to try, which would work for the IPs but 2.3.2/trunk does not have that handling.


Thanks for the info.
Separate relay also good idea.
If kh tree will be integrated in trunk, i will wait for 2.3.3 release Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server 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