Relay server problem

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
ravid
Posts: 9
Joined: Tue Mar 29, 2005 3:41 am

Relay server problem

Post by ravid »

I have two servers I am testing steamcast on. I am setting one of them as a relay server.

The main server has the default settings and a usermax of 100 and the second server which is going to draw the stream from is also having the max user of 100.

Now I have changed the second server relay source (I presume this is how we set up relay servers right) :

SourceRelay=http://xxx.xx.xx.xxx:8000/live.mp3?user=xxx&pass=xxx

Now when I stream to the first server and connect to any of the server via a winamp it complains of "ICY 400 Server full" and when tried to connect to the second server it says "ICY service unavilable". When we go to the admin panel for the first server it says :

Server currently has 1 source.
Overall Listeners: -3 of 100

The second server says :

Server currently has 1 source.

Is there something wrong with my settings?

Thanks in advance for any help from anyone.

Cheers
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

you need to restart your first server. There is a bug in steamcast that allows listener counts to fall below 0, this is bad and makes steamcast mistakenly believe the server is full. Will try to fix this by next version.
- Jay
princi
Posts: 3
Joined: Thu Apr 14, 2005 4:25 am

Post by princi »

Forgive me for hijacking this thread, but it's relevant.

I wasn't sure whether steamcast supported relaying where the source (or master) required authentication.

I was relieved to find this post and the format:

SourceRelay=http://xxx.xx.xx.xxx:8000/live.mp3?user=xxx&pass=xxx

<< BTW, the mount/source is an NSV - is that ok? >>

However, when I try to use it, this is the error I get (which doesn't tell me a lot).

[04/14/2005@19:12:30] Relay thread created #0

[04/14/2005@19:12:30] Listening to ANY:8000 for incoming client connections...

[04/14/2005@19:12:30] Listening to ANY:8001 for incoming source connections...

[04/14/2005@19:12:31] Relay Thread lost connection, reconnecting in 10 secs....

[04/14/2005@19:12:42] Relay Thread lost connection, reconnecting in 10 secs....

[04/14/2005@19:12:53] Relay Thread lost connection, reconnecting in 10 secs....

[04/14/2005@19:13:04] Relay Thread lost connection, reconnecting in 10 secs....

[04/14/2005@19:13:15] Relay Thread lost connection, reconnecting in 10 secs....

[04/14/2005@19:13:25] Relay Thread lost connection, reconnecting in 10 secs....

[04/14/2005@19:13:36] Relay Thread lost connection, reconnecting in 10 secs....


I'm trying to connect to an IceCast server with authentication and relay that stream. Is that possible with steamcast?


Really appreciate your help,

Scott...
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

no, icecast servers do not support the parameterized username and password capabilities steamcast can.
- Jay
princi
Posts: 3
Joined: Thu Apr 14, 2005 4:25 am

Post by princi »

So, are you saying I shouldn't give up trying to use steamcast to relay a single nsv stream from an icecast server that requires authentication?

How about my relayserver syntax above, was that ok?


Appreciate the help,

Scott...
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

no I am saying that you should give up. Icecast will only (as far as I know) accept authentication information via the HTTP Authentication scheme.

The method I pointed out above was for Steamcast to Steamcast relays or Steamcast to Icecast2 relays.
- Jay
princi
Posts: 3
Joined: Thu Apr 14, 2005 4:25 am

Post by princi »

OK, thanks for clarifying.

I've been told shoutcast should be able to relay an icecast2 stream that requires authentication. I'm going to give it another shot.


Thanks...
Post Reply