# Error wowza server

**URL:** <https://community.wowza.com/t/error-wowza-server/35987>\
**Category:** Wowza Streaming Engine\
**Created:** [June 18, 2014, 3:43am UTC](https://community.wowza.com/t/error-wowza-server/35987 "2014-06-18T03:43:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlos\_sepulveda](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@carlos\_sepulveda](https://community.wowza.com/u/carlos_sepulveda)\
**Post date:** [June 18, 2014, 3:43am UTC](https://community.wowza.com/t/error-wowza-server/35987/1 "2014-06-18T03:43:23Z")

</div>

hello need help, long time that my server gets stuck here pego extract of the log files does, I want to see how to avoid this error there I hope you can help me

> diaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> ERROR server comment 2014-06-17 23:59:53 - - - - - 19100.809 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:8000] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> ERROR server comment 2014-06-17 23:59:55 - - - - - 19102.116 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:7450] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> ERROR server comment 2014-06-17 23:59:55 - - - - - 19102.311 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:7458] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> WARN server comment 2014-06-17 23:59:55 - - - - - 19102.532 - - - - - - - - ShoutCastDecoder.addChunkDataAAC[default.stream]: Out of sync. Resyncing stream.
> 
> ERROR server comment 2014-06-17 23:59:56 - - - - - 19103.396 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s7.medionline.cl:9302] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> ERROR server comment 2014-06-17 23:59:56 - - - - - 19103.809 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:8000] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> ERROR server comment 2014-06-17 23:59:58 - - - - - 19105.112 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:7450] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> ERROR server comment 2014-06-17 23:59:58 - - - - - 19105.311 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:7458] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> WARN server comment 2014-06-17 23:59:58 - - - - - 19105.534 - - - - - - - - ShoutCastDecoder.addChunkDataAAC[default.stream]: Out of sync. Resyncing stream.
> 
> ERROR server comment 2014-06-17 23:59:59 - - - - - 19106.397 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s7.medionline.cl:9302] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|
> 
> ERROR server comment 2014-06-17 23:59:59 - - - - - 19106.808 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:8000] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [June 18, 2014, 6:56am UTC](https://community.wowza.com/t/error-wowza-server/35987/2 "2014-06-18T06:56:46Z")

</div>

Hello there,

The error logs indicate that Wowza is having problems translating the SHOUTcast stream.

I believe the:

_WARN server comment 2014-06-17 23:59:58 - - - - - 19105.534 - - - - - - - - ShoutCastDecoder.addChunkDataAAC[default.stream]: Out of sync. Resyncing stream._

Indicates that for some reason there is an anomaly in the stream and Wowza needs to try and resynchronize its interpretation of the stream.

And when If you see the MediaCaster system trying to re-connect over and over again, Wowza is not able to connect:

_ERROR server comment 2014-06-17 23:59:59 - - - - - 19106.808 - - - - - - - - MediaCasterConnection.connect: Failed to connect[s3.chileservidores.cl:8000] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:54)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:39)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.b(ShoutCastReceiver.java:843)|at com.wowza.wms.mediacaster.shoutcast.ShoutCastReceiver.t(ShoutCastReceiver.java:20)|_

Make sure to use a StreamType of “shoutcast”. Or it can be “live” if you start the stream in StreamManager with MediaCaster type “shoutcast”.

Also, just to help better understand, can you please describe your server specs? and what version of Wowza are you running?

I hope this is information helpful.

Salvadore

---

<div class="post-metadata">

**Author:** ![carlos\_sepulveda](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@carlos\_sepulveda](https://community.wowza.com/u/carlos_sepulveda)\
**Post date:** [June 18, 2014, 5:20am UTC](https://community.wowza.com/t/error-wowza-server/35987/3 "2014-06-18T05:20:35Z")

</div>

The version I use is wowza

Wowza Streaming Engine 4 Monthly Edition 4.0.1 build10615

The server is a xeon 16gb ram 8cpu
