| View previous topic :: View next topic |
| Author |
Message |
Ant
Joined: 11 Jun 2008 Posts: 27 Location: Russia
|
Posted: Mon Aug 30, 2010 7:47 am Post subject: icecast and round robin dns |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Aug 31, 2010 1:38 am Post subject: |
|
|
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 |
|
 |
Ant
Joined: 11 Jun 2008 Posts: 27 Location: Russia
|
Posted: Tue Aug 31, 2010 7:03 am Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
|