Hi Wowza forum,
we have just setup a server with the MediaCache add-on.
First some info
“HTTPSource01” is an IIS server with ARR (Application Request Routing) witch is a proxy/cache module for IIS
“HTTPSource01:8080” is an IIS server that has a root in “D:\Media”, this folder holds some 6TB video files in different subfolders
“content/” is the prefix for the MediaCache URL
When pointing the MediaCache at our backend http proxy/cache source, lets call it:
http://HTTPSource01.fqdn.dk (MediaCache Base)
and try to launch a client with this url:
http://wowza01.fqdn.dk/MediaCache/definst/mp4:content/verylong_path_to/filename.mp4/playlist.m3u8
then it fails.
This is what is found in the IIS ARR log:
2012-02-10 09:45:30 172.18.240.45 HEAD /verylong_path_to/filename.mp4/playlist.m3u8 - 80 - 172.x.y.z - 404 0 2 0
2012-02-10 09:45:30 172.18.240.45 HEAD /verylong_path_to/filename.mp4/playlist.m3u8 - 80 - 172.x.y.z - 404 0 2 202
2012-02-10 09:45:57 172.18.240.45 HEAD /verylong_path_to/filename.mp4 - 80 - 172.x.y.z - 404 0 2 0
2012-02-10 09:45:57 172.18.240.45 HEAD /verylong_path_to/filename.mp4 - 80 - 172.x.y.z - 404 0 2 202
2012-02-10 09:53:08 172.18.240.45 HEAD /verylong_path_to/filename.mp4 - 80 - 172.x.y.z - 404 0 2 0
2012-02-10 09:53:08 172.18.240.45 HEAD /verylong_path_to/filename.mp4 - 80 - 172.x.y.z - 404 0 2 202
However if i try to open the direct URL in my browser (http://HTTPSource01.fqdn.dk/verylong_path_to/filename.mp4) it works fine…
Now we try to change MediaCache basepath to:
http://HTTPSource01.fqdn.dk:8080
and tries to launch a client with this url (the same, as before):
http://wowza01.fqdn.dk/MediaCache/definst/mp4:content/verylong_path_to/filename.mp4/playlist.m3u8
then it works!?
This is log from the IIS:
2012-02-10 10:23:39 172.18.240.45 HEAD /verylong_path_to/filename.mp4 - 8080 - 172.x.y.z - 200 0 0 124
2012-02-10 10:23:39 172.18.240.45 GET /verylong_path_to/filename.mp4 - 8080 - 172.x.y.z - 206 0 0 78
2012-02-10 10:23:39 172.18.240.45 GET /verylong_path_to/filename.mp4 - 8080 - 172.x.y.z - 206 0 0 31
This somehow tells me that MediaCache / Wowza does not like something that it gets from the IIS ARR in the HEAD request it makes…
Any advice would be greatly appreciated
Friendly regards
Stefan B. Christensen