Hi,
I need to secure traffic between MediaCache and my origin web server. I’m needing assistance with the following solution to securing this traffic:
- Edge server: I have both Wowza with MediaCache and apache 2.2 running on the same server called “edgeserverhost”
o Apache is configured as a forward proxy, accepting only local connections and forwarding them to the Origin server over SSL
- “Origin” server: I have IIS 7.5 and Wowza running on the same server for “originserverhost”
o IIS is configured to accept SSL connections over port 1443 with an internally signed certificate (enterprise). No other special configuration was done except for adding MIME types to handle smil and mp4
This configuration does work properly, MediaCache traffic is secured over SSL. However, I’m noticing an odd issue when playing content off of my edge server.
Error log:
#Version: 1.0
#Start-Date: 2013-11-11 09:29:33 CST
#Software: Wowza Media Server 3.6.2.10 build6427
#Date: 2013-11-11
ERROR server comment 2013-11-11 09:29:33 ----- 0.308 -------- MediaCacheHTTPByteReader.sendRequest[http://edgeserverhost:8000/path/file.smil]: java.net.SocketException: Software caused connection abort: socket write error
ERROR server comment 2013-11-11 09:29:51 ----- 18.255 -------- MediaCacheHTTPByteReader.sendRequest[http://edgeserverhost:8000/path/file.mp4]: java.net.SocketException: Software caused connection abort: recv failed
Some notes:
-
This error also occurs when using v3.6.3
-
Servers are both running Windows 2008 R2, virtualized with VMWARE with 4vCPU/4GB/1Gig
-
Both servers exist on the same VMWare HostGroup, traffic never leaves the virtual switch.
-
Running jdk1.7.0_25
-
Running in a test environment, there is no production load on the servers, this happens when trying to load one item
Configuration:
MediaCache.xml
http1
http1/
com.wowza.wms.plugin.mediacache.impl.MediaCacheItemHTTPImpl
256K
86400000
7200000
true
25
false
Httpd.conf
ThreadsPerChild 250
MaxRequestsPerChild 0
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule ssl_module modules/mod_ssl.so
Listen 8000
SSLSessionCache “shmcb:F:/APP/apache2/logs/ssl_scache(512000)”
SSLSessionCacheTimeout 300
<VirtualHost *:8000>
ProxyRequests Off
SSLProxyEngine On
ProxyPass / https://originhostname:1443/
Order deny,allow
Deny from all
Allow from edgeipaddress