Old 23rd November 2014, 19:26   #1
newbornus
Junior Member
 
Join Date: Feb 2014
Posts: 30
Relay connection kicking

A relay connection to the server is being kicked after interval provided in `listenertime` value goes out.
Is there a way to overcome this?? I need to disconnect a 'real' listeners after `listenertime` value, not relay connetions from my own servers.

Last edited by newbornus; 23rd November 2014 at 20:31.
newbornus is offline   Reply With Quote
Old 24th November 2014, 06:18   #2
newbornus
Junior Member
 
Join Date: Feb 2014
Posts: 30
Well, i removed listenertime= entry from config, restarted, but the relay connection suddenly drops, don't know how to dig this....

From the `source` server log:
2014-11-24 09:33:00 INFO [DST 127.0.0.1 sid=1] SHOUTcast 2 client connection closed (3345 seconds) [Bytes: 67672524] Agent: `Ultravox/2.1 SHOUTcast Server 2.4.2.167 Relay', UID: 1

From the relaying server log:
2014-11-24 09:33:05 INFO [RELAY localhost:8005/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2014-11-24 09:33:05 INFO [RELAY localhost:8005/stream1 sid=1] Trying to restore connection to source relay...
2014-11-24 09:33:05 INFO [RELAY localhost:8005/stream1 sid=1] Connected to SHOUTcast 2 source relay.
newbornus is offline   Reply With Quote
Old 24th November 2014, 13:17   #3
newbornus
Junior Member
 
Join Date: Feb 2014
Posts: 30
completely removed any relays, it works quiet unstable and unpredictable

- DNAS latest build x64 under Windows Server 2008 R2 SP1 (both on relay and relaying servers).

before that, it worked great under previous version of DNAS (relay server was under linux)
newbornus is offline   Reply With Quote
Old 24th November 2014, 13:20   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
partial logs do make it easy to determine issues (if that's what you're stating is happening) or what version you have gone from to. though in the case of the timeouts, nothing has been changed with them and basically if a slave relay is connected, it is treated as a listener connection since that is all it is (other than having a different name).

so if there are issues, you need to enable the debug logging options (ideally anything stream and relay related) and provide us with said log when issues happen so a) we can look into it and b) determine if there is a legitimate issue or not. as without such information, we cannot fix what we cannot replicate (assuming it is a DNAS issue and not something else on the setup as has been seen in a number of cases).

and with the listenertime case, other than setting it to 0 and manually booting connections, there is no other functionality in the DNAS to keep relay connections alive but ignore other clients (which applies to all DNAS releases) and would need an additional option added to a newer 2.x release to achieve such behaviour.
DrO is offline   Reply With Quote
Old 7th December 2014, 22:12   #5
DrO
 
Join Date: Sep 2003
Posts: 27,873
*bump* re: stability issues....
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump