# Add media cache source by Http Type

**URL:** <https://community.wowza.com/t/add-media-cache-source-by-http-type/43872>\
**Category:** Wowza Streaming Engine\
**Created:** [September 14, 2014, 11:02pm UTC](https://community.wowza.com/t/add-media-cache-source-by-http-type/43872 "2014-09-14T23:02:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Li](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Allen\_Li](https://community.wowza.com/u/Allen_Li)\
**Post date:** [September 14, 2014, 11:02pm UTC](https://community.wowza.com/t/add-media-cache-source-by-http-type/43872/1 "2014-09-14T23:02:23Z")

</div>

Hi guy,

I follow [https://www.wowza.com/docs/set-up-wowza-streaming-engine-on-google-cloud-platform](https://www.wowza.com/docs/set-up-wowza-streaming-engine-on-google-cloud-platform)

to use wowza in Google compute engine.

I install wowza media server in Google Compute engine success and use Wowza Streaming Engine to test Wowza 4.0.

I have a link to download a mp4 file. i.e: [http://myWebServerIP/TestVideo.mp4](http://myWebServerIP/TestVideo.mp4)

I try to add [http://myWebServerIP/TestVideo.mp4](http://myWebServerIP/TestVideo.mp4) to media cache source and add a new VOD Edge Applications to test play.

When open the Test Players and press start button I get status message: Source stream or file could not be found or access was denied.

Other my “Validate Configuration”-\> “Enter a sample content file path/name you want to stream:” always auto reset to http/mycompany.com/media/sample.mp4

How to fix the issue??

Thank you.

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [September 15, 2014, 5:41am UTC](https://community.wowza.com/t/add-media-cache-source-by-http-type/43872/2 "2014-09-15T05:41:44Z")

</div>

Hello

Please share your MediaCacheSource configuration (from MediaCache.xml file) and how you are trying to playback via the player.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [September 16, 2014, 12:38am UTC](https://community.wowza.com/t/add-media-cache-source-by-http-type/43872/3 "2014-09-16T00:38:20Z")

</div>

It may be best to zip up your conf/ and logs/ and send it to support@wowza.com for further review. Please include the information regarding your source server (where you are hosting your VOD assets for MediaCache) and reference this post as well.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Allen\_Li](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Allen\_Li](https://community.wowza.com/u/Allen_Li)\
**Post date:** [September 15, 2014, 7:44pm UTC](https://community.wowza.com/t/add-media-cache-source-by-http-type/43872/4 "2014-09-15T19:44:47Z")

</div>

Hi matt\_y:

Thank your reply~

I have add a Application in Wowza Streaming Engine Manager then try to play.

below is my MediaCache.xml

============================================================

\*\*_ **MediaCache.xml** _

\<?xml version="1.0" encoding="UTF-8"?\>

${com.wowza.wms.TuningAuto}

${com.wowza.wms.TuningAuto}

${com.wowza.wms.TuningAuto}

${com.wowza.wms.TuningAuto}

10000

true

true

false

false

true

false

default

Default Store

${com.wowza.wms.context.ServerConfigHome}/mediacache

10G

24

24

1000

16M

64M

100

dvrorigin

HTTP

Default DVR source

http://

dvrorigin/

com.wowza.wms.mediacache.impl.MediaCacheItemHTTPImpl

262144

1200000

600000

true

50

httpReadTimeout

3000

Integer

false

HttpSource

HTTP

http://

http://

com.wowza.wms.mediacache.impl.MediaCacheItemHTTPImpl

1M

5184000000

5184000000

true

30

false

debugHTTPRequests

false

Boolean

maxPoolSize

25

Integer

httpReadTimeout

6000

Integer

httpConnectionTimeout

6000

Integer

httpReadRetries

3

Integer

httpSendBufferSize

8000

Integer

httpReceiveBufferSize

65000

Integer

urlDecodeStreamName

false

Boolean

base64DecodeStreamName

false

Boolean

---

<div class="post-metadata">

**Author:** ![Allen\_Li](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Allen\_Li](https://community.wowza.com/u/Allen_Li)\
**Post date:** [September 15, 2014, 11:36pm UTC](https://community.wowza.com/t/add-media-cache-source-by-http-type/43872/5 "2014-09-15T23:36:23Z")

</div>

ok~~I had mail to you.

Thank you.
