Old 20th July 2011, 07:01   #1
drock
Junior Member
 
Join Date: May 2009
Posts: 19
sc_trans random disconnect

Hello,

I have been running sc_trans for a long time now and seem to always have an issue where it will randomly disconnect from the shoutcast server and not be able to reconnet for up to 4 minutes. the shoutcast server seems fine, but the the sc_trans logs i get the following randomly:

2011-07-03 01:36:17 E msg:[UVOX2] 1279610265 [UVOX2] 1279610265 socket send error.
2011-07-03 01:36:17 E msg:[UVOX2] 1279610265 Waiting 60 seconds
2011-07-03 01:36:17 E msg:[UVOX2] 1048787803 [UVOX2] 1048787803 socket send error.
2011-07-03 01:36:17 E msg:[UVOX2] 1048787803 Waiting 60 seconds
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Creating stream socket
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Connecting to stream host
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Sending Ultravox 2.1 authentication
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Mime type
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Broadcast setup
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Negotiating buffer sizes
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Negotiated buffer size is 80KB
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Negotiating payload sizes
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Negotiated payload size is 16377
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Configuring ICY-NAME [Dubplate.fm]
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Configuring ICY-GENRE [Dubstep, Breakbeat, Downtempo, Dub, Reggae, Jungle]
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Configuring ICY-URL [http://www.dubplate.fm]
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Configuring ICY-PUB [1]
2011-07-03 01:37:17 I msg:[UVOX2] 1048787803 Creating stream socket
2011-07-03 01:37:17 I msg:[UVOX2] 1048787803 Connecting to stream host
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Flush metadata
2011-07-03 01:37:17 I msg:[UVOX2] 1048787803 Sending Ultravox 2.1 authentication
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Standby
2011-07-03 01:37:17 I msg:[UVOX2] 1048787803 Mime type
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Streaming
2011-07-03 01:37:17 I msg:[UVOX2] 1279610265 Clearing intro file from server.


sometimes it happens to all the servers i run sometimes just on or two.

its happened accross multipul versions and multipul server setups, all linux based.

I am one version behind as of this month but wanted to bring up the question before upgrading.

the servers i run have always been dedicated to the shoutcast service and usualy at next to no system load.
drock is offline   Reply With Quote
Old 20th July 2011, 09:45   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
i know there were some issues i fixed with the Transcoder not reconnecting when it should which i attempted to fix as part of the new release (though there's some playlist and AAC DJ bugs in the new version so you might be best waiting off until a fixed version for those is out).

-daz
DrO is offline   Reply With Quote
Old 28th July 2011, 14:41   #3
drock
Junior Member
 
Join Date: May 2009
Posts: 19
Thanks for the reply DrO

I will be trying the new software today and report back. It sounds like it could be a different issue as it will just disconnect mid song. not usualy related to a track change from what i can see. either way I will let you know if it keeps happening once i upgrade.

Thanks.
drock is offline   Reply With Quote
Old 28th July 2011, 15:07   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
i'd hold out on doing anything with build 48 and instead wait for the next build which is coming soon...

-daz
DrO is offline   Reply With Quote
Old 16th August 2011, 16:28   #5
drock
Junior Member
 
Join Date: May 2009
Posts: 19
could this have anything to do with the key authorization?

I run the network the servers are hosted on and and sure there are no networking issues but it seems to just drop the the streams randomly.

here are some snipets from the logs:

please keep in mind this runs on one local machine. this time this issue seems to be happening for over 20 minutes, usualy its just a few minutes here and there.

sc_serv shows

2011-08-16 12:18:47 W msg:[yp2] remove called while add was pending. Reissuing remove. key=1
2011-08-16 12:19:22 E msg:[yp2] [yp2] Could not resolve host address yp.shoutcast.com Restarting in one minute
2011-08-16 12:19:22 E msg:[src 199.87.240.18:39319 sid=1] [src 199.87.240.18:39319 sid=1] Timeout waiting to send data
2011-08-16 12:19:22 E msg:[src 199.87.240.18:39319 sid=1] Timeout waiting to send data
2011-08-16 12:19:22 E msg:[dst 199.87.240.30:40862] Timeout waiting for data
2011-08-16 12:19:22 E msg:[src 199.87.240.18:39313 sid=10] [src 199.87.240.18:39313 sid=10] Timeout waiting for data
2011-08-16 12:19:22 E msg:[src 199.87.240.18:39313 sid=10] Timeout waiting for data
2011-08-16 12:19:22 E msg:[src :0] Socket error while waiting for data. err=Connection reset by peer(104)
2011-08-16 12:19:24 E msg:[dst 64.12.243.206:6179 sid=1] Shoutcast 1 client connection









sc_trans shows


2011-08-16 12:18:45 I msg:[UVOX2] 226493567 Clearing intro file from server.
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Sending Ultravox 2.1 authentication
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Mime type
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Broadcast setup
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Negotiating buffer sizes
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Negotiated buffer size is 480KB
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Negotiating payload sizes
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Negotiated payload size is 16377
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Configuring ICY-NAME [Dubplate.fm]
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Configuring ICY-GENRE [Dubstep, Breakbeat, Downtempo, Dub, Reggae, Jungle]
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Configuring ICY-URL [http://www.dubplate.fm]
2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Configuring ICY-PUB [1]
2011-08-16 12:19:22 E msg:[UVOX2] 1352046840 Server went away




then


2011-08-16 12:18:47 I msg:[UVOX2] 1352046840 Configuring ICY-PUB [1]
2011-08-16 12:19:22 E msg:[UVOX2] 1352046840 Server went away
2011-08-16 12:19:22 E msg:[UVOX2] 1352046840 Waiting 60 seconds
2011-08-16 12:19:45 I msg:[UVOX2] 711641334 Creating stream socket
2011-08-16 12:19:45 I msg:[UVOX2] 711641334 Connecting to stream host
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Sending Ultravox 2.1 authentication
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Mime type
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Broadcast setup
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Negotiating buffer sizes
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Negotiated buffer size is 160KB
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Negotiating payload sizes
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Negotiated payload size is 16377
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Configuring ICY-NAME [wer.fm]
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Configuring ICY-GENRE [Dubstep, Breakbeat, Downtempo, Dub, Reggae, Jungle]
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Configuring ICY-URL [http://www.wer.fm]
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Configuring ICY-PUB [1]
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Flush metadata
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Standby
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Streaming
2011-08-16 12:19:56 I msg:[UVOX2] 711641334 Clearing intro file from server.
2011-08-16 12:20:22 I msg:[UVOX2] 1352046840 Creating stream socket
2011-08-16 12:20:22 I msg:[UVOX2] 1352046840 Connecting to stream host
drock is offline   Reply With Quote
Old 16th August 2011, 16:31   #6
drock
Junior Member
 
Join Date: May 2009
Posts: 19
and then i just noticed this in sc_serv

2011-08-16 12:25:53 E msg:[yp2] [yp2] Resource temporarily unavailable Restarting in one minute

this is driving my nuts, every time this happens no one can tune in and then find other stations to listen to. why does this happen, for months and months now.
drock is offline   Reply With Quote
Old 16th August 2011, 16:38   #7
drock
Junior Member
 
Join Date: May 2009
Posts: 19
with some further testing it appears loosing access to the yp servers or servers that handle the auth key may be what is causing the issue.

often over the internet there are connection issues and sessions get reset.

there should be some cache mechanizm in place so if you cant reach these servers for a couple of hours you do not go offline right away.

dropping from 50 to 0 listeners because of a brief dns issue or network issue is really not how things should work.
drock is offline   Reply With Quote
Old 16th August 2011, 16:44   #8
DrO
 
Join Date: Sep 2003
Posts: 27,873
all i know is that i'm trying to work on the issues which are plaguing the YP at the moment though i've not seen any of the YP errors that you're seeing happening due to that to my knowledge.

i know there is a bug when using the v2 tools in a certain setup which i'm hoping the update i'm trying to get rolled out today will also resolve. i know that probably isn't going to help your issue but the log snippets aren't really giving anything to work on that i can see that the moment.

[edit]
and now i've seen your 3rd post whilst i was trying to reply to the first 2. will read that when i've got the time - need to get the YP issues fixed now rather than posting on here.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

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