# java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache:

**URL:** <https://community.wowza.com/t/java-io-ioexception-mediacacherandomaccessreader-open-item-not-in-cache/53593>\
**Category:** Wowza Streaming Engine\
**Created:** [June 28, 2019, 2:28pm UTC](https://community.wowza.com/t/java-io-ioexception-mediacacherandomaccessreader-open-item-not-in-cache/53593 "2019-06-28T14:28:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hada\_park](https://avatars.discourse-cdn.com/v4/letter/h/ea5d25/32.png) [@hada\_park](https://community.wowza.com/u/hada_park)\
**Post date:** [June 28, 2019, 2:28pm UTC](https://community.wowza.com/t/java-io-ioexception-mediacacherandomaccessreader-open-item-not-in-cache/53593/1 "2019-06-28T14:28:48Z")

</div>

hi help me please

i want to play vod in AWS s3 bucket.

i read pdf document in MediaCache\_2.0.zip

i create MediaCache source name is amazon3

and also create vod edge name is aws

MediaCache play url is working

[http://s3mobile.neoconv.com.s3.amazonaws.com/vod/v25.mp4](http://s3mobile.neoconv.com.s3.amazonaws.com/vod/v25.mp4)

but wowza url is not working

[http://15.164.103.64:1935/aws/](http://15.164.103.64:1935/aws/)_definst_/mp4:amazons3/s3mobile.neoconv.com/vod/v23.mp4/playlist.m3u

or

[http://15.164.103.64:1935/aws/](http://15.164.103.64:1935/aws/)_definst_/mp4:amazons3/vod/v23.mp4/playlist.m3u

or

[http://15.164.103.64:1935/aws/](http://15.164.103.64:1935/aws/)_definst_/mp4:[https://s3.ap-northeast-2.amazonaws.com/s3mobile.neoconv.com/vod/v25.mp4/playlist.m3u](https://s3.ap-northeast-2.amazonaws.com/s3mobile.neoconv.com/vod/v25.mp4/playlist.m3u)

??? which one ???

not working!!!

error log is

```auto
WARN server comment 2019-06-28 18:40:16 - - - - - 0.571 - - - - - - -- MediaCacheItemHTTPImpl.getItemInfo[s3mobile.neoconv.com.s3.amazonaws.com/vod/v23.mp4]: HTTP response: 400
WARN server comment 2019-06-28 18:40:16 - - - - - 0.571 - - - - - - -- MediaCacheItemBase.init: Item does not exist: amazons3/s3mobile.neoconv.com/vod/v23.mp4
WARN server comment 2019-06-28 18:40:16 - - - - - 0.577 - - - - - - -- MediaCacheItemHTTPImpl.getItemInfo[s3mobile.neoconv.com.s3.amazonaws.com/vod/v23.mp4]: HTTP response: 400
WARN server comment 2019-06-28 18:40:16 - - - - - 0.577 - - - - - - -- MediaCacheItemBase.init: Item does not exist: amazons3/s3mobile.neoconv.com/vod/v23.mp4
WARN server comment 2019-06-28 18:40:16 - - - - - 0.58 - - - - - - -- MediaCacheItemHTTPImpl.getItemInfo[s3mobile.neoconv.com.s3.amazonaws.com/vod/v23.mp4]: HTTP response: 400
WARN server comment 2019-06-28 18:40:16 - - - - - 0.581 - - - - - - -- MediaCacheItemBase.init: Item does not exist: amazons3/s3mobile.neoconv.com/vod/v23.mp4
WARN server comment 2019-06-28 18:40:16 - - - - - 0.581 - - - - - - -amazons3/s3mobile.neoconv.com/vod/v23.mp4 MediaReaderH264.open[1]: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: amazons3/s3mobile.neoconv.com/vod/v23.mp4: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: amazons3/s3mobile.neoconv.com/vod/v23.mp4|at com.wowza.wms.plugin.mediacache.impl.MediaCacheRandomAccessReader.open(MediaCacheRandomAccessReader.java:80)|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:267)|at com.wowza.wms.httpstreamer.model.HTTPStreamerAdapterBase.doesFileExist(HTTPStreamerAdapterBase.java:1547)|at com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.onPlaylist(HTTPStreamerAdapterCupertinoStreamer.java:1550)|at com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.serviceMsg(HTTPStreamerAdapterCupertinoStreamer.java:506)|

```

help me please

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 28, 2019, 7:58pm UTC](https://community.wowza.com/t/java-io-ioexception-mediacacherandomaccessreader-open-item-not-in-cache/53593/2 "2019-06-28T19:58:43Z")

</div>

Hey @hada park, I know it’s frustrating and we’ll help you out. I am curious right off the bat why your urls are missing the 8 at the end of M3U8? You only have M3U? Is that just a typo?

as an example- this is the url layout for AWS

---

<div class="post-metadata">

**Author:** ![hada\_park](https://avatars.discourse-cdn.com/v4/letter/h/ea5d25/32.png) [@hada\_park](https://community.wowza.com/u/hada_park)\
**Post date:** [July 1, 2019, 1:03am UTC](https://community.wowza.com/t/java-io-ioexception-mediacacherandomaccessreader-open-item-not-in-cache/53593/3 "2019-07-01T01:03:59Z")

</div>

yes It is a typo. It seems that the last character was not selected while copying url. I still have not solved the problem.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [July 1, 2019, 4:27pm UTC](https://community.wowza.com/t/java-io-ioexception-mediacacherandomaccessreader-open-item-not-in-cache/53593/4 "2019-07-01T16:27:02Z")

</div>

Sorry to hear you’re still having problems @hada park. Please submit a support ticket so our engineers can find the problem. They can’t debug in the forums. They need to have access to all your logs and files. Thank you.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
