Old 11th March 2004, 12:40   #1
drominore
Junior Member
 
Join Date: Mar 2004
Location: 2nd Universe to the right...
Posts: 21
AHA! Client disconnects occuring at exact periods...

Current system:

RHL8. One server running sc_serv, one running sc_trans_linux. Issue is one of clients being dropped from stream, whether usins Winamp, Media player, or Realplayer. Oddly enough, the drops occur within one second of a connect error to yp, AND the disconnect time is an EXACT multiple of 190 seconds. I have heard that this behavior is NOT occuring on Winamp2, just v3 & 5. It is somewhat random, so difficult to diagnose. Different client locations, equip, etc.

Any ideas? the broadcaster is on a DMZ at the source, but this issue looks to be a client side prob staying connected. I'd like to set the streamer to nonpublic, as the fw wont allow connection to yp on that segment anyhow. Could the streamer attempt at connecting be hiccupping the client connections?

Current settings are 32 max users, cap at 32k/2ch/22100.

Drom
drominore is offline   Reply With Quote
Old 11th March 2004, 15:02   #2
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
Please post the DNASs log section corresponding to the error(s)/disconnect(s).

FesterHead is offline   Reply With Quote
Old 11th March 2004, 15:25   #3
drominore
Junior Member
 
Join Date: Mar 2004
Location: 2nd Universe to the right...
Posts: 21
Caught me! posted before I left the house this morn and was gonna do log extracts as soon as I got in... Ok, lemme dig up the goodies...

Network Architecture: Checkpoint FW1 firewall. The Broadcast station is located on the DMZ, the capture (DSP) located on the interior network. The DMZ allows direct access to the stream from both inside & outside links. The stream capture is set to only allow specific port traffic to the DMZ for rebroadcast.

<03/11/04@07:21:50> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:22:50> [dest: 1.2.3.4] starting stream (UID: 140)[L: 1]{A: Nullsoft Winamp3 version 3.0d build 4****(P: 0)
<03/11/04@07:25:00> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:25:01> [dest: 1.2.3.4] connection closed (190 seconds) (UID: 140)[L: 0]{Bytes: 754486}(P: 0)
<03/11/04@07:28:10> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:31:20> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:34:30> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:37:40> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:38:46> [dest: 10.10.250.76] starting stream (UID: 141)[L: 1]{A: RMA/1.0 (compatible; RealMedia)}(P: 0)
<03/11/04@07:38:47> [dest: 10.10.250.76] connection closed (0 seconds) (UID: 141)[L: 0]{Bytes: 69589}(P: 0)
<03/11/04@07:40:50> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:44:00> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:46:41> [dest: 1.2.3.4] starting stream (UID: 142)[L: 1]{A: Nullsoft Winamp3 version 3.0d build 4****(P: 0)
<03/11/04@07:47:10> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:47:11> [dest: 1.2.3.4] connection closed (190 seconds) (UID: 142)[L: 0]{Bytes: 369093}(P: 0)
<03/11/04@07:48:12> [dest: 1.2.3.4] starting stream (UID: 143)[L: 1]{A: Nullsoft Winamp3 version 3.0d build 4****(P: 0)
<03/11/04@07:48:12> [dest: 1.2.3.4] connection closed (0 seconds) (UID: 143)[L: 0]{Bytes: 24576}(P: 0)
<03/11/04@07:48:12> [dest: 1.2.3.4] starting stream (UID: 144)[L: 1]{A: Nullsoft Winamp3 version 3.0d build 4****(P: 0)
<03/11/04@07:50:20> [yp_add] error connecting to yp.shoutcast.com
<03/11/04@07:50:21> [dest: 1.2.3.4] connection closed (190 seconds) (UID: 144)[L: 0]{Bytes: 754486}(P: 0)
<03/11/04@07:53:30> [yp_add] error connecting to yp.shoutcast.com


Whats got me bugged is the [yp_add] error occuring exactly 1 second before the disconnect, and the fact that the connect times are almost always a multiple of 190 seconds...

Heres the conf files (active lines only):

sc_serv.conf:

MaxUser=32
Password=xxxx
PortBase=8500
LogFile=sc_serv.log
RealTime=1
ScreenLog=1
ShowLastSongs=10
W3CEnable=Yes
W3CLog=sc_w3c.log
SrcIP=ANY
DestIP=ANY
Yport=80
NameLookups=0
RelayPort=8000
AutoDumpUsers=0
AutoDumpSourceTime=0
TitleFormat=WDSO: %s
PublicServer=default
AllowRelay=Yes
AllowPublicRelay=Yes
MetaInterval=8192



sc_trans.conf:

; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst
PlaylistFile=runtime.lst

; ServerIP/ServerPort are the target server to send to
ServerIP=192.168.0.10
ServerPort=8500

; Password is the password on the sc_serv you're sending to.
Password=xxxxxx

; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=WDSO Chesterton High School
StreamURL=http://wdso.duneland.k12.in.us
Genre=Varies

; Logfile optionally denotes a text file to log sc_trans to. a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=sc_trans.log

; Shuffle the playlist
Shuffle=0
; Original 1

; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=32000
;;;Bitrate=128000
;;;SampleRate=44100
SampleRate=22050
InputSamplerate=44100
Channels=2
;;; Original Channels = 2
InputChannels=2
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=5
;; Original 1


; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000

UseID3=0

; Public determines whether or not this station will show up in the directory
Public=0
;; Changed 031104 MJK



Interestingly, heres a log extract:

[root@wdso radio]# tail -250 shout/sc_serv.log | grep "connection closed"
<03/10/04@23:41:00> [dest: 3.3.3.3] connection closed (0 seconds) (UID: 138)[L: 0]{Bytes: 14449}(P: 0)
<03/11/04@02:26:37> [dest: 2.2.2.2] connection closed (0 seconds) (UID: 139)[L: 0]{Bytes: 93148}(P: 0)
<03/11/04@07:25:01> [dest: 1.1.1.1] connection closed (190 seconds) (UID: 140)[L: 0]{Bytes: 754486}(P: 0)
<03/11/04@07:38:47> [dest: 4.4.4.4] connection closed (0 seconds) (UID: 141)[L: 0]{Bytes: 69589}(P: 0)
<03/11/04@07:47:11> [dest: 1.1.1.1] connection closed (190 seconds) (UID: 142)[L: 0]{Bytes: 369093}(P: 0)
<03/11/04@07:48:12> [dest: 1.1.1.1] connection closed (0 seconds) (UID: 143)[L: 0]{Bytes: 24576}(P: 0)
<03/11/04@07:50:21> [dest: 1.1.1.1] connection closed (190 seconds) (UID: 144)[L: 0]{Bytes: 754486}(P: 0)
<03/11/04@08:07:24> [dest: 1.1.1.1] connection closed (760 seconds) (UID: 145)[L: 0]{Bytes: 3508000}(P: 0)

The IP's have been hidden but are representative of the connections; i.e. all 1.1.1.1 came from the same IP just not 1.1.1.1! :-)

Any help would be appreciated!
Drom
drominore is offline   Reply With Quote
Old 12th March 2004, 17:11   #4
drominore
Junior Member
 
Join Date: Mar 2004
Location: 2nd Universe to the right...
Posts: 21
New Info!! The problem is still there BUT, I've been studying the logs, and interestingly enough this error:

<03/12/04@11:17:08> [yp_add] error connecting to yp.shoutcast.com
<03/12/04@11:20:18> [yp_add] error connecting to yp.shoutcast.com
<03/12/04@11:23:28> [yp_add] error connecting to yp.shoutcast.com
<03/12/04@11:26:38> [yp_add] error connecting to yp.shoutcast.com
<03/12/04@11:29:48> [yp_add] error connecting to yp.shoutcast.com


Is occuring almost EXACTLY every 3 mins 10 sec. This works out to 190 seconds, which is exactly the base multiplier for the drop cycles... Aha! The game is afoot, Watson...

I've set the public flag in the sc_serv.conf file to be NEVER, and the stream shoudl also be set to do not advertise. So where exactly is this error coming from and what parameters are controlling it? Short of putting in an entry in the resolv.conf file to direct this elsewhere, I can't figure how to prevent it...

Drom
drominore is offline   Reply With Quote
Old 14th March 2004, 16:31   #5
classicheartlan
Junior Member
 
Join Date: Feb 2004
Location: Los Angeles, CA
Posts: 7
I am having the SAME EXACT PROBLEM. If you figure out what's causing this, can you PLEASE post it???

Thanks!!!!!
classicheartlan 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