Old 16th December 2013, 13:47   #1
brentmj
Junior Member
 
Join Date: Feb 2011
Posts: 13
Shoutcast shutting down

I am running Shoutcast 2 on Ubuntu 10.04 on a VPS. There are three instances running on this server, all relaying three different streams. I am having problems with the one that gets the most traffic. The instance is shutting down mysteriously at random intervals. When I check the log, there is nothing at the end to indicate a shutdown. What I do see are lots of attempted connections from the same IP, and it always looks something like this:

2013-12-16 14:06:01 I msg:[DST 188.6.172.117:50928 sid=1] SHOUTcast 1 client connection accepted. Dalvik/1.6.0 (Linux; U; Android 4.0.4; crane-evb Build/IMM76D)
2013-12-16 14:06:01 E msg:[DST 188.6.172.117:50928 sid=1] Socket error while waiting to send data. err=Connection reset by peer(104)
2013-12-16 14:06:01 I msg:[DST 188.6.172.117:50928 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 40960] Agent: `Dalvik/1.6.0 (Linux; U; Android 4.0.4; crane-evb Build/IMM76D)'

It's not the same IP every time the instance dies, but there will be pages in the log from whatever IP is trying to connect. It's usually always a Dalvik/1.6.0 agent. I've taken to blocking whatever the problem IP is in the firewall, but another one will come along. Any suggestions?
brentmj is offline   Reply With Quote
Old 16th December 2013, 13:53   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
try updating to v2.2.1 (links to it are in the sticky threads).
DrO is offline   Reply With Quote
Old 16th December 2013, 15:42   #3
brentmj
Junior Member
 
Join Date: Feb 2011
Posts: 13
Sorry for not being specific. I do have the most recent version of Shoutcast. It happened again this morning, only ran for about two hours. This is the last bit of the log:


2013-12-16 16:22:24 I msg:[DST 54.224.207.47:40706 sid=1] SHOUTcast 1 client connection accepted. Java/1.6.0_32
2013-12-16 16:22:24 E msg:[DST 54.224.207.47:40706 sid=1] Socket error while waiting to send data. err=Connection reset by peer(104)
2013-12-16 16:22:24 I msg:[DST 54.224.207.47:40706 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 17376] Agent: `Java/1.6.0_32'
2013-12-16 16:22:24 I msg:[SRC 54.224.207.47:40731 sid=1] SHOUTcast 1 source connection.
2013-12-16 16:22:24 E msg:[SRC 54.224.207.47:40731 sid=1] connection denied. Bad password.
2013-12-16 16:22:24 I msg:[DST 54.224.207.47:40764 sid=1] SHOUTcast 1 client connection accepted. iTunes/9.1.1
2013-12-16 16:22:24 E msg:[DST 54.224.207.47:40764 sid=1] Socket error while waiting to send data. err=Broken pipe(32)
2013-12-16 16:22:24 I msg:[DST 54.224.207.47:40764 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 31096] Agent: `iTunes/9.1.1'
2013-12-16 16:23:36 I msg:[DST 213.151.9.206:51294 sid=3] SHOUTcast 1 client connection accepted.
2013-12-16 16:24:41 E msg:[DST 37.4.16.183:53220 sid=1] Timeout waiting to send data (1387211081 1387211051[30] )
2013-12-16 16:24:41 I msg:[DST 37.4.16.183:53220 sid=1] SHOUTcast 1 client connection closed (1442 seconds) [Bytes: 56771166] Agent: `NSPlayer/8.0.0.3801'
2013-12-16 16:26:01 I msg:[DST 54.254.218.165:58531 sid=1] SHOUTcast 1 client connection accepted. Java/1.6.0_24
2013-12-16 16:26:02 E msg:[DST 54.254.218.165:58531 sid=1] Socket error while waiting to send data. err=Connection reset by peer(104)
2013-12-16 16:26:02 I msg:[DST 54.254.218.165:58531 sid=1] SHOUTcast 1 client connection closed (1 seconds) [Bytes: 22712] Agent: `Java/1.6.0_24'
2013-12-16 16:26:09 I msg:[DST 54.254.218.165:58567 sid=1] SHOUTcast 1 client connection accepted.
2013-12-16 16:26:14 E msg:[DST 54.254.218.165:58567 sid=1] Socket error while waiting to send data. err=Connection reset by peer(104)
2013-12-16 16:26:14 I msg:[DST 54.254.218.165:58567 sid=1] SHOUTcast 1 client connection closed (5 seconds) [Bytes: 479608] Agent: `'
2013-12-16 16:27:13 E msg:[SRC 54.254.218.165:58735] Timeout waiting for data (1387211233 1387211203[30] )
2013-12-16 16:27:32 I msg:[DST 54.254.218.165:59001 sid=1] SHOUTcast 1 client connection accepted. NSPlayer/4.1.0.3856
2013-12-16 16:27:32 E msg:[DST 54.254.218.165:59001 sid=1] Socket error while waiting to send data. err=Connection reset by peer(104)
2013-12-16 16:27:32 I msg:[DST 54.254.218.165:59001 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 16244] Agent: `NSPlayer/4.1.0.3856'
brentmj is offline   Reply With Quote
Old 16th December 2013, 15:45   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
the log output indicates you don't have the current release installed and being used as it will show 'INFO' and 'ERROR' not just 'I' and 'E'.
DrO is offline   Reply With Quote
Old 16th December 2013, 16:24   #5
brentmj
Junior Member
 
Join Date: Feb 2011
Posts: 13
I see, my mistake. It's running now with the newest version. We'll see what happens.
brentmj 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