# s3 MediaCache Connection timed out

**URL:** <https://community.wowza.com/t/s3-mediacache-connection-timed-out/47231>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2016, 9:48pm UTC](https://community.wowza.com/t/s3-mediacache-connection-timed-out/47231 "2016-07-06T21:48:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick\_Sculley](https://avatars.discourse-cdn.com/v4/letter/p/8e7dd6/32.png) [@Patrick\_Sculley](https://community.wowza.com/u/Patrick_Sculley)\
**Post date:** [July 6, 2016, 9:48pm UTC](https://community.wowza.com/t/s3-mediacache-connection-timed-out/47231/1 "2016-07-06T21:48:43Z")

</div>

Hi,

I have a new install of the Wowza AMI v 4.4.1 setup as an origin server with MediaCache configured for an S3 media source.

This origin services a few hundred videos a day and after a few days the server (WowzaStreamingEngine provider) becomes slow and finally unresponsive until I restart the daemon.

In the logs, I see the following error occur about once an hour:

ERROR server comment 2016-07-06 12:45:59 - - - - - 0.019 - - - - - - - - MediaCacheHTTPByteReader.sendRequest[[http://xyz.s3.amazonaws.com:80/13749-desktop.smil]](http://xyz.s3.amazonaws.com:80/13749-desktop.smil%5D) : java.net.SocketException: Connection timed out|at java.net.SocketOutputStream.socketWrite0(Native Method)|at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)|at java.net.SocketOutputStream.write(SocketOutputStream.java:141)|at com.wowza.wms.mediacache.impl.MediaCacheHTTPByteReader.sendRequest(MediaCacheHTTPByteReader.java:1095)|at com.wowza.wms.mediacache.impl.MediaCacheHTTPByteReader.sendRequest(MediaCacheHTTPByteReader.java:1066)|

I reviewed the thread for [Frequest Media Cache time out errors](http://community.wowza.com/t/-/41141) and increased the timeout values to no avail.

All configurations for the origin are defaults other than the additional MediaCache config for S3. Any ideas what could be causing this?
