Wowza Community

redirect of loadbalancer

Sorry, I am a totally newbie to the Wowza and Java development.

I just followed the instructions of LoadBalancer_4.0/WowzaDynamicLoadBalancingAddOn_UsersGuide.pdf but I cannot get it work under RTMP connection.

Log of my Load Balancer -

#Software: Wowza Streaming Engine 4.1.0 build12602

:

:

2014-10-16 17:51:48 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Version: 4.0 Build 12787 Start - - - 10.783

2014-10-16 17:51:49 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceDebugEnabled’ value is ‘true’

2014-10-16 17:51:49 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceType’ value is ‘Server’ - - - 10.795

2014-10-16 17:51:49 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceKey’ value is ‘???’ - - - 10.798

2014-10-16 17:51:49 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceServerIP’ value is ‘192.168.2.207’ - - - 10.804

2014-10-16 17:51:49 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceServerPort’ value is ‘1935’ - - - 10.805

:

:

2014-10-16 17:53:20 CST comment server INFO 200 - No decision can be made as usage order not set. defaultVHost blooming cihy621i0474262il4sysqvuj 101.987

2014-10-16 17:53:20 CST comment server INFO 200 - No redirection performed. defaultVHost blooming cihy621i0474262il4sysqvuj 101.993

2014-10-16 17:53:20 CST connect session INFO 200 192.168.4.161 - defaultVHost blooming cihy621i0474262il4sysqvuj 0.06 [any] 1935 rtmp://ggdm.mcs.com.tw:1935/blooming/cihy621i0474262il4sysqvuj 192.168.4.161 rtmp

http://gcore.mcs.com.tw/maudience2.swf?1407112207

WIN 15,0,0,152 1843277677 3675 3073 - - - - - - - - - - - - - rtmp://ggdm.mcs.com.tw:1935/blooming/cihy621i0474262il4sysqvuj -

2014-10-16 17:53:20 CST comment server INFO 200 - onConnectAccept: 1843277677 defaultVHost blooming cihy621i0474262il4sysqvuj 101.996 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-10-16 17:53:20 CST comment server INFO 200 - [accept] cihy621i0474262il4sysqvuj current users: 3 defaultVHost blooming cihy621i0474262il4sysqvuj 101.997 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-10-16 17:53:20 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() XML output is ‘’ - - - 102.287 - - - - - - - - - - - - - - - - - - - - - - - - -

:

:

Log of my Server -

#Software: Wowza Streaming Engine 4.1.0 build12602

:

:

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Version: 4.0 Build 12787 Start - - - 9.871

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceDebugEnabled’ value is ‘true’ - - - 9.877

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceType’ value is ‘Client’ - - - 9.877

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceKey’ value is ‘???’ - - - 9.878

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceServerIP’ value is ‘192.168.2.207’ - - - 9.879

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceServerPort’ value is ‘1935’ - - - 9.88

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceBandwidthEnable’ value is ‘true’ - - - 9.88

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: PropertyHandler() Property ‘loadbalanceBandwidthLimit’ value is ‘0’ - - - 9.881

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Looking for VHosts ‘defaultVHost’ - - - 9.897

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() loadbalanceGeoUsageLoadBalancerURL:

http://192.168.2.207:1935/loadbalancerInterface
      • 9.897

2014-10-16 17:52:01 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() start - - - 9.898

2014-10-16 17:52:01 CST comment server INFO 200 - LB URLHandler: managementURL() LoadBalancerURL is ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApQrANJ6qOJ0mXA1rxyCFGJcKGzw1v8GPa5ScJQ4jfSLVbxmocfu8z1vW6Q2JX6TrvLTLhAKS%0AJllI8kYuS4ngDmaownN3ld8Et3Skm5Yspo5Y2LriVZ10IIJO4shkGpmCalkvFgQkivwxfnBrOZ2c%0AUg%2FfYy8nmMHe0PDSXP7hqxeCfLNiieECkG3Hf06nWW%2BEZqmyXwfNq2ry464KVf5QHB4UCE8U%2FSEP%0ApA%3D%3D’ - - - 9.9

2014-10-16 17:52:01 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApQrANJ6qOJ0mXA1rxyCFGJcKGzw1v8GPa5ScJQ4jfSLVbxmocfu8z1vW6Q2JX6TrvLTLhAKS%0AJllI8kYuS4ngDmaownN3ld8Et3Skm5Yspo5Y2LriVZ10IIJO4shkGpmCalkvFgQkivwxfnBrOZ2c%0AUg%2FfYy8nmMHe0PDSXP7hqxeCfLNiieECkG3Hf06nWW%2BEZqmyXwfNq2ry464KVf5QHB4UCE8U%2FSEP%0ApA%3D%3D’ string ‘’ - - - 9.901

2014-10-16 17:52:01 CST comment server ERROR 500 - LB XMLParser: xmlParse() Document parse exception: : org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.|at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)|at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)|at com.wowza.wms.plugin.loadbalancer.general.XMLParser.xmlParse(XMLParser.java:74)|at com.wowza.wms.plugin.loadbalancer.general.URLHandler.managementURL(URLHandler.java:41)|at com.wowza.wms.plugin.loadbalancer.general.PropertyHandler.clientRegistrationLogic(PropertyHandler.java:556)| - - - 9.952

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Geo Registration is ‘false’ - - - 9.953

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Worker Thread started - - - 9.955

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Bandwidth filtering is true - - - 9.965

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Connection filtering is false - - - 9.969

2014-10-16 17:52:01 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Country filtering is false using - - - 9.969

Log of my Load Balancer : LoadBalancerInterface.onHTTPRequest() XML output is ‘’

Is there anything missing in my configuration or I need to write some code for it?

Is there any information or sample for reference?

Is there any details I could provide?

Hi,

What player are you using to connect to the RTMP redirect URL? Does it support RTMP redirection.

Regards,

Zoran

Hello

The error on the load balancer “No decision can be made as usage order not set” would indicate that the following property is not set in your Server.xml:

	<Property>
		<Name>loadbalanceDecisionOrder</Name>
		<Value>Bandwidth,Connection</Value>
		<Type>String</Type>
	</Property>

The second error suggests some xml configuration problem or there isn’t any output upon request due to the above issue.

Thanks a lot for help.

  1. Is it OK not to copy MaxMindGeoIP.jar to WowzaStreamingEngine/lib if my loadbalanceDecision is only based on Bandwidth?

  2. Is it OK to set Bandwidth for property loadbalanceDecisionOrder? And is it OK not to set property loadbalanceConnectionEnable and property loadbalanceConnectionLimit?

My connection is rejected after my onConnect successfully called. Anyway I didn’t reject the connection in my onConnect.

Could you help for this problem? Why my connection is rejected. Is there any other information should be provided?

Log of my Load Balancer -

#Software: Wowza Streaming Engine 4.1.0 build12602

:

:

2014-10-21 15:27:45 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Version: 4.0 Build 12787 Start - - - 13.22

:

: LB PropertyHandler: PropertyHandler() Property ‘loadbalanceDebugEnabled’ value is ‘true’, ‘loadbalanceType’ value is ‘Server’, ‘loadbalanceKey’ value is ‘loadbalanceNewbie’,

: ‘loadbalanceServerIP’ value is ‘192.168.2.207’, ‘loadbalanceServerPort’ value is ‘1935’, ‘loadbalanceDecisionOrder’ value is ‘Bandwidth,Connection’

:

2014-10-21 15:27:45 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Looking for VHosts ‘defaultVHost’ - - - 13.275

2014-10-21 15:27:45 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Server: Worker Thread starting - - - 13.287

2014-10-21 15:27:45 CST comment server INFO 200 - LoadBalancerServer:Started - - - 13.288

2014-10-21 15:27:45 CST comment server INFO 200 - StatsManager:startManager() Enabled=true - - - 13.591

2014-10-21 15:27:45 CST comment server INFO 200 - Wowza Streaming Engine is started! - - - 13.592

2014-10-21 15:27:46 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘’ string ‘Connection8312500Update’ - - - 14.442

:

:

2014-10-21 15:27:46 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Full decode was ‘Connection8312500Update’ - - - 14.457

2014-10-21 15:27:46 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() XML output is ‘83125REREGISTER’ - - - 14.459

2014-10-21 15:27:46 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘’ string ‘ManagementStartdf99fab349e700199cc3faefe1082490’ - - - 14.546

:

:

2014-10-21 15:27:46 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Full decode was ‘ManagementStartdf99fab349e700199cc3faefe1082490’ - - - 14.587

2014-10-21 15:27:46 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Management Request Action was ‘Start’ - - - 14.588

2014-10-21 15:27:46 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Client: ‘6ec29684b3267d6d5a2737f591d85b54’ Registered IP ‘192.168.2.206:1935’ ID: 108226 - - - 14.59

2014-10-21 15:27:46 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() XML output is ‘108226OK’ - - - 14.612

2014-10-21 15:27:47 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘’ string ‘Bandwidth10822600Start’ - - - 14.675

:

:

2014-10-21 15:27:47 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Full decode was ‘Bandwidth10822600Start’ - - - 14.707

2014-10-21 15:27:47 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Client: ‘6ec29684b3267d6d5a2737f591d85b54’ Bandwidth limit: 0 Current: 0 - - - 14.716

2014-10-21 15:27:47 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() XML output is ‘108226OK’ - - - 14.717

2014-10-21 15:27:47 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘’ string ‘Connection10822600Start’ - - - 14.782

:

:

2014-10-21 15:27:47 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Full decode was ‘Connection10822600Start’ - - - 14.793

2014-10-21 15:27:47 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Client: ‘6ec29684b3267d6d5a2737f591d85b54’ Connection limit: 0 Current: 0 - - - 14.794

2014-10-21 15:27:47 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() XML output is ‘108226OK’ - - - 14.795

:

: (Bandwidth and Connection information updates…)

:

2014-10-21 15:29:51 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Full decode was ‘Bandwidth10822800Update’ - - - 139.46

2014-10-21 15:29:51 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Bandwidth Update ID ‘108228’ Limit ‘0’ Current ‘0’ - - - 139.461

2014-10-21 15:29:51 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() XML output is ‘108228OK’ - - - 139.462

2014-10-21 15:29:51 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() Bandwidth Update ID ‘108229’ Limit ‘0’ Current ‘0’ - - - 139.458

2014-10-21 15:29:51 CST comment server INFO 200 - LoadBalancerInterface.onHTTPRequest() XML output is ‘108229OK’ - - - 139.465

2014-10-21 15:29:55 CST comment server INFO 200 - LoadBalancerMonitorServer: WorkerThread() Removing client ‘8e734b2e31d977f9eea9d654394bc221’ timer expired. - - - 143.296

2014-10-21 15:29:55 CST comment server INFO 200 - LoadBalancerMonitorServer: WorkerThread() Clients to remove are ‘108227,’ - - - 143.297

2014-10-21 15:29:55 CST comment server INFO 200 - LoadBalancerMonitorServer: WorkerThread() Expiring client ‘108227’ - - - 143.297

2014-10-21 15:29:55 CST comment server INFO 200 - LoadBalancerMonitorServer: WorkerThread() LbServerClient UnRegistered ‘8e734b2e31d977f9eea9d654394bc221’ - - - 143.298

2014-10-21 15:29:57 CST comment server INFO 200 - MediaCasterStreamValidator.init[blooming/u3ui3n3utgimnsqtmuy16bzf]: Started - - - 145.504

2014-10-21 15:29:57 CST comment server INFO 200 - Application Start: u3ui3n3utgimnsqtmuy16bzf - - - 145.593

2014-10-21 15:29:57 CST comment server INFO 200 - instance name: [u3ui3n3utgimnsqtmuy16bzf] - - - 145.594

2014-10-21 15:29:57 CST comment server INFO 200 - app path: /usr/local/WowzaStreamingEngine/applications/blooming - - - 145.595

2014-10-21 15:29:57 CST comment server INFO 200 - app config path: /usr/local/WowzaStreamingEngine/conf/blooming/Application.xml - - - 145.596

2014-10-21 15:29:57 CST comment server INFO 200 - app name: blooming - - - 145.597

2014-10-21 15:29:57 CST comment server INFO 200 - app storage dir: /XING/video/ - - - 145.597

2014-10-21 15:29:57 CST comment server INFO 200 - app storage path: /XING/video/ - - - 145.598

2014-10-21 15:29:57 CST comment server INFO 200 - readChannelInfo from

http://gcore.mcs.com.tw/channels/u3ui3n3utgimnsqtmuy16bzf.json
      • 145.631

2014-10-21 15:29:58 CST comment server INFO 200 - connectWSServer - - - 145.672

2014-10-21 15:29:58 CST comment server INFO 200 - Got channel info(u3ui3n3utgimnsqtmuy16bzf). max_concurrent: 0, archive:true - - - 145.793

2014-10-21 15:29:58 CST comment server WARN 200 - [WS::onError u3ui3n3utgimnsqtmuy16bzf] java.util.IllegalFormatConversionException: d != java.lang.String - - - 145.896

2014-10-21 15:29:58 CST app-start application INFO 200 u3ui3n3utgimnsqtmuy16bzf blooming/u3ui3n3utgimnsqtmuy16bzf - - - 145.901

2014-10-21 15:29:58 CST connect-pending session INFO 100 192.168.4.161 - defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 0.917 [any] 1935 rtmp://ggdm.mcs.com.tw:1935/blooming/u3ui3n3utgimnsqtmuy16bzf 192.168.4.161 rtmp

http://gcore.mcs.com.tw/encoder.swf?1413876563

WIN 15,0,0,167 801124104 3499 3073 - - - - - - - - - - - - - rtmp://ggdm.mcs.com.tw:1935/blooming/u3ui3n3utgimnsqtmuy16bzf

2014-10-21 15:29:58 CST comment server INFO 200 - onConnect: 801124104 from 192.168.4.161. params:AMFDataList:

[0] connect

[1] 1.0

[2] object

{Obj[]: app: “blooming/u3ui3n3utgimnsqtmuy16bzf”, flashVer: “WIN 15,0,0,167”, swfUrl: “http://gcore.mcs.com.tw/encoder.swf?1413876563”, tcUrl: “rtmp://ggdm.mcs.com.tw:1935/blooming/u3ui3n3utgimnsqtmuy16bzf”, fpad: false, capabilities: 239.0, audioCodecs: 3575.0, videoCodecs: 252.0, videoFunction: 1.0, pageUrl: undefined, objectEncoding: 0.0}

[3] encoder

[4] d060fb9e-e438-4bd1-a4bd-934b0d218215

[5] ryan

[6] false

defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 145.915

2014-10-21 15:29:58 CST comment server INFO 200 - [connect] u3ui3n3utgimnsqtmuy16bzf current users: 0 defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 145.916

2014-10-21 15:29:58 CST comment server INFO 200 - createUsageRecord d060fb9e-e438-4bd1-a4bd-934b0d218215 join defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 145.919

2014-10-21 15:29:58 CST comment server INFO 200 - onConnect successfully end defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 145.924

2014-10-21 15:29:58 CST comment server INFO 200 - LB PropertyHandler: getCorrectLBServerClient() Application name balancing for name ‘blooming’ defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 145.926

2014-10-21 15:29:58 CST connect session INFO 302 192.168.4.161 - defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 0.943 [any] 1935 rtmp://ggdm.mcs.com.tw:1935/blooming/u3ui3n3utgimnsqtmuy16bzf 192.168.4.161 rtmp

http://gcore.mcs.com.tw/encoder.swf?1413876563

WIN 15,0,0,167 801124104 3499 3073 - - - - - - - - - - - - - rtmp://ggdm.mcs.com.tw:1935/blooming/u3ui3n3utgimnsqtmuy16bzf

2014-10-21 15:29:58 CST comment server INFO 200 - onConnectReject: 801124104 defaultVHost blooming u3ui3n3utgimnsqtmuy16bzf 145.943

Log of my Server -

#Software: Wowza Streaming Engine 4.1.0 build12602

:

:

2014-10-21 15:29:03 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Version: 4.0 Build 12787 Start

:

: LB PropertyHandler: PropertyHandler() Property ‘loadbalanceDebugEnabled’ value is ‘true’, ‘loadbalanceType’ value is ‘Client’, ‘loadbalanceKey’ value is ‘loadbalanceNewbie’,

: ‘loadbalanceServerIP’ value is ‘192.168.2.207’, ‘loadbalanceServerPort’ value is ‘1935’, ‘loadbalanceBandwidthEnable’ value is ‘true’, ‘loadbalanceConnectionEnable’ value is ‘true’,

: ‘loadbalanceBandwidthLimit’ value is ‘0’, ‘loadbalanceConnectionLimit’ value is ‘0’

:

2014-10-21 15:29:03 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Looking for VHosts ‘defaultVHost’ - - - 11.153

2014-10-21 15:29:03 CST comment server INFO 200 - LoadBalancerServer:onServerInit() loadbalanceGeoUsageLoadBalancerURL:

http://192.168.2.207:1935/loadbalancerInterface
      • 11.154

2014-10-21 15:29:03 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() start - - - 11.154

2014-10-21 15:29:03 CST comment server INFO 200 - LB URLHandler: managementURL() LoadBalancerURL is ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApcnJwh3dj5Y588h8qLQeojlY3UdLTHQdzYLBAQrH9B%2F1gSfv%2FqC3no00u8JQCp020syPCfuc%0AX7%2BriaBgFgrGCpvJ0ZWQau6lKbggOnnT1AYHzEddzs6uYLeQL4QW4Mz%2BfvLvtLgBLLXG%2BzwopDZo%0Aal35ijVjhXq%2B1Qi2PHCUN4BTbNe%2BFGYlsqLA3nW3iuQT8jSIQsFl9wpbJsWkQXbVtz9Y710c1CIF%0Aew%3D%3D’ - - - 11.158

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApcnJwh3dj5Y588h8qLQeojlY3UdLTHQdzYLBAQrH9B%2F1gSfv%2FqC3no00u8JQCp020syPCfuc%0AX7%2BriaBgFgrGCpvJ0ZWQau6lKbggOnnT1AYHzEddzs6uYLeQL4QW4Mz%2BfvLvtLgBLLXG%2BzwopDZo%0Aal35ijVjhXq%2B1Qi2PHCUN4BTbNe%2BFGYlsqLA3nW3iuQT8jSIQsFl9wpbJsWkQXbVtz9Y710c1CIF%0Aew%3D%3D’ string ‘’ - - - 11.159

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() URL: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4%0AZGQh3b4dtFLLp%2BJDo8PgEzwIVg%3D%3D - - - 11.197

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() B64: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4

ZGQh3b4dtFLLp+JDo8PgEzwIVg== - - - 11.207

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() Raw: 00065-55-55-6229-35-113-1065753-112-2588-78-11762-7390346751-1262-3-39-921177754491899-2186-24-118106-54-110-51-125-115-1061213465-61948186-36-912010010033-35-6629-7682-53-89-3067-93-61-321960886 - - - 11.208

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() Decrypted message is ‘108228OK’ - - - 11.209

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘ServerID’ value:‘108228’ - - - 11.212

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘Confirm’ value:‘OK’ - - - 11.213

2014-10-21 15:29:03 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() Server ID set to 108228 - - - 11.214

2014-10-21 15:29:03 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() registered with load balancer, id is ‘855e3c02d040d8d51bdfcc7e49931f7c’ - - - 11.214

2014-10-21 15:29:03 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() bandwidth monitoring ‘true’ - - - 11.215

2014-10-21 15:29:03 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() connection monitoring ‘true’ - - - 11.216

2014-10-21 15:29:03 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() country handling ‘false’ - - - 11.217

2014-10-21 15:29:03 CST comment server INFO 200 - LB URLHandler: clientBandwidthURL() ClientbandwidthURL is ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAAoMnJwh3dj5Y51TnVQIPJzOuVg%2F7wtQilDF8HISFMZR4PB5drfqSO9vUpSEZFhU5Z2k6kUYTz%0AMk4xr7n9FVtNaw%2BRCH%2BeW5xnawxgJjVRXvTagIDetWs76xnUKhMRbklnVuOvkAR1IpD46A9XJNGF%0AbFJGxtEnkqGa%2BNdjhMzg3vSOjhKJXZinW7Eqgjvs4tlRr0%2FYssV2w3M4nlXzhVcFcOo%3D’ - - - 11.218

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAAoMnJwh3dj5Y51TnVQIPJzOuVg%2F7wtQilDF8HISFMZR4PB5drfqSO9vUpSEZFhU5Z2k6kUYTz%0AMk4xr7n9FVtNaw%2BRCH%2BeW5xnawxgJjVRXvTagIDetWs76xnUKhMRbklnVuOvkAR1IpD46A9XJNGF%0AbFJGxtEnkqGa%2BNdjhMzg3vSOjhKJXZinW7Eqgjvs4tlRr0%2FYssV2w3M4nlXzhVcFcOo%3D’ string ‘’ - - - 11.219

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() URL: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4%0AZGQh3b4dtFLLp%2BJDo8PgEzwIVg%3D%3D - - - 11.268

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() B64: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4

ZGQh3b4dtFLLp+JDo8PgEzwIVg== - - - 11.269

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() Raw: 00065-55-55-6229-35-113-1065753-112-2588-78-11762-7390346751-1262-3-39-921177754491899-2186-24-118106-54-110-51-125-115-1061213465-61948186-36-912010010033-35-6629-7682-53-89-3067-93-61-321960886 - - - 11.27

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() Decrypted message is ‘108228OK’ - - - 11.271

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘ServerID’ value:‘108228’ - - - 11.274

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘Confirm’ value:‘OK’ - - - 11.274

2014-10-21 15:29:03 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() ‘855e3c02d040d8d51bdfcc7e49931f7c’ Bandwidth balancing registration completed - - - 11.275

2014-10-21 15:29:03 CST comment server INFO 200 - LB URLHandler: clientConnectionURL() ConnectionURL Attempt - - - 11.275

2014-10-21 15:29:03 CST comment server INFO 200 - LB URLHandler: clientConnectionURL() ClientConnectionXML is ‘Connection10822800Start’ - - - 11.276

2014-10-21 15:29:03 CST comment server INFO 200 - LB URLHandler: clientConnectionURL() ClientConnectionURL is ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApcnJwh3dj5Y5IYvKVOwMwHM1lqBEsO6rF4LBAQrH9B%2F1TqRRhPMyTjFmDj4xEjLREnZDie1g%0AIE7HCu4TL5sprzf4ME51%2BxSvrc26rjcLPYBaNZagRLDuqxey2fVYcBwfEE1972WFlYMJu6Yz66H6%0Aw5H4BFsajnmlVpbl6xfLVInbi76xnpKBZdrMLxzSh3H4RQ2g5RecrbbRfq4dQNkc%2FJ1Y710c1CIF%0Aew%3D%3D’ - - - 11.277

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApcnJwh3dj5Y5IYvKVOwMwHM1lqBEsO6rF4LBAQrH9B%2F1TqRRhPMyTjFmDj4xEjLREnZDie1g%0AIE7HCu4TL5sprzf4ME51%2BxSvrc26rjcLPYBaNZagRLDuqxey2fVYcBwfEE1972WFlYMJu6Yz66H6%0Aw5H4BFsajnmlVpbl6xfLVInbi76xnpKBZdrMLxzSh3H4RQ2g5RecrbbRfq4dQNkc%2FJ1Y710c1CIF%0Aew%3D%3D’ string ‘’ - - - 11.278

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() URL: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4%0AZGQh3b4dtFLLp%2BJDo8PgEzwIVg%3D%3D - - - 11.332

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() B64: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4

ZGQh3b4dtFLLp+JDo8PgEzwIVg== - - - 11.333

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() Raw: 00065-55-55-6229-35-113-1065753-112-2588-78-11762-7390346751-1262-3-39-921177754491899-2186-24-118106-54-110-51-125-115-1061213465-61948186-36-912010010033-35-6629-7682-53-89-3067-93-61-321960886 - - - 11.334

2014-10-21 15:29:03 CST comment server INFO 200 - Encrypter:Decrypt() Decrypted message is ‘108228OK’ - - - 11.335

2014-10-21 15:29:03 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘ServerID’ value:‘108228’ - - - 11.337

2014-10-21 15:29:04 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘Confirm’ value:‘OK’ - - - 11.338

2014-10-21 15:29:04 CST comment server INFO 200 - LB PropertyHandler: clientRegistrationLogic() ‘855e3c02d040d8d51bdfcc7e49931f7c’ Connection balancing registration completed - - - 11.339

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Geo Registration is ‘true’ - - - 11.339

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Worker Thread started - - - 11.342

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Bandwidth filtering is true - - - 11.343

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Connection filtering is true - - - 11.343

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerServer:onServerInit() Client: Country filtering is false using - - - 11.344

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerServer:Started - - - 11.345

2014-10-21 15:29:04 CST comment server INFO 200 - LB URLHandler: clientConnectionURL() ConnectionURL Attempt - - - 11.357

2014-10-21 15:29:04 CST comment server INFO 200 - LB URLHandler: clientConnectionURL() ClientConnectionXML is ‘Connection10822800Update’ - - - 11.357

2014-10-21 15:29:04 CST comment server INFO 200 - LB URLHandler: clientConnectionURL() ClientConnectionURL is ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApsnJwh3dj5Y5IYvKVOwMwHM1lqBEsO6rF4LBAQrH9B%2F1TqRRhPMyTjFmDj4xEjLREnZDie1g%0AIE7HCu4TL5sprzf4ME51%2BxSvrc26rjcLPYBaNZagRLDuqxey2fVYcBwfEE1972WFlYMJu6Yz66H6%0Aw5H4BFsajnmlVpbl6xfLVInbi76xnpKBZdrW8rabKQn6LPzppzDroF7ms3yQ183AMgIKAQISqtD7%0AiA%3D%3D’ - - - 11.359

2014-10-21 15:29:04 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAApsnJwh3dj5Y5IYvKVOwMwHM1lqBEsO6rF4LBAQrH9B%2F1TqRRhPMyTjFmDj4xEjLREnZDie1g%0AIE7HCu4TL5sprzf4ME51%2BxSvrc26rjcLPYBaNZagRLDuqxey2fVYcBwfEE1972WFlYMJu6Yz66H6%0Aw5H4BFsajnmlVpbl6xfLVInbi76xnpKBZdrW8rabKQn6LPzppzDroF7ms3yQ183AMgIKAQISqtD7%0AiA%3D%3D’ string ‘’ - - - 11.359

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() URL: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4%0AZGQh3b4dtFLLp%2BJDo8PgEzwIVg%3D%3D - - - 11.381

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() B64: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4

ZGQh3b4dtFLLp+JDo8PgEzwIVg== - - - 11.383

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() Raw: 00065-55-55-6229-35-113-1065753-112-2588-78-11762-7390346751-1262-3-39-921177754491899-2186-24-118106-54-110-51-125-115-1061213465-61948186-36-912010010033-35-6629-7682-53-89-3067-93-61-321960886 - - - 11.383

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() Decrypted message is ‘108228OK’ - - - 11.384

2014-10-21 15:29:04 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘ServerID’ value:‘108228’ - - - 11.39

2014-10-21 15:29:04 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘Confirm’ value:‘OK’ - - - 11.39

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerBandwitdhMonitorClient: WorkerThread() Client - Connection balancing update completed - - - 11.391

2014-10-21 15:29:04 CST comment server INFO 200 - LB URLHandler: clientBandwidthURL() ClientbandwidthURL is ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAAocnJwh3dj5Y51TnVQIPJzOuVg%2F7wtQilDF8HISFMZR4PB5drfqSO9vUpSEZFhU5Z2k6kUYTz%0AMk4xr7n9FVtNaw%2BRCH%2BeW5xnawxgJjVRXvTagIDetWs76xnUKhMRbklnVuOvkAR1IpD46A9XJNGF%0AbFJGxtEnkqGa%2BNdjhMzg3vSOjhKJXZinW7HCWFGgah9sGxMU8Ip1URN33b4dtFLLp%2BJDo8PgEzwI%0AVg%3D%3D’ - - - 11.393

2014-10-21 15:29:04 CST comment server INFO 200 - LB XMLParser: xmlParse() request url ‘http://192.168.2.207:1935/loadbalancerInterface?command=AAAAocnJwh3dj5Y51TnVQIPJzOuVg%2F7wtQilDF8HISFMZR4PB5drfqSO9vUpSEZFhU5Z2k6kUYTz%0AMk4xr7n9FVtNaw%2BRCH%2BeW5xnawxgJjVRXvTagIDetWs76xnUKhMRbklnVuOvkAR1IpD46A9XJNGF%0AbFJGxtEnkqGa%2BNdjhMzg3vSOjhKJXZinW7HCWFGgah9sGxMU8Ip1URN33b4dtFLLp%2BJDo8PgEzwI%0AVg%3D%3D’ string ‘’ - - - 11.394

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() URL: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4%0AZGQh3b4dtFLLp%2BJDo8PgEzwIVg%3D%3D - - - 11.444

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() B64: AAAAQcnJwh3dj5Y5NZDnWLKLPrdaIkMz9D792aR1TTYxAQhj61boimrKks2DjZZ5IkHDXlFW3Pd4

ZGQh3b4dtFLLp+JDo8PgEzwIVg== - - - 11.445

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() Raw: 00065-55-55-6229-35-113-1065753-112-2588-78-11762-7390346751-1262-3-39-921177754491899-2186-24-118106-54-110-51-125-115-1061213465-61948186-36-912010010033-35-6629-7682-53-89-3067-93-61-321960886 - - - 11.446

2014-10-21 15:29:04 CST comment server INFO 200 - Encrypter:Decrypt() Decrypted message is ‘108228OK’ - - - 11.449

2014-10-21 15:29:04 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘ServerID’ value:‘108228’ - - - 11.464

2014-10-21 15:29:04 CST comment server INFO 200 - LB XMLParser: xmlParse() Found Node:‘Confirm’ value:‘OK’ - - - 11.465

2014-10-21 15:29:04 CST comment server INFO 200 - LoadBalancerBandwitdhMonitorClient: WorkerThread() Client - Bandwidth balancing update completed - - - 11.465

2014-10-21 15:29:04 CST comment server INFO 200 - StatsManager:startManager() Enabled=true - - - 11.651

:

: keep updating Connection and Bandwidth balancing…

:

Log of my another Server is similar to above Server.

I am not 100% sure about it, the original engineer quit on June 30 and I took it over in August.

Our own player works well on Wowza Media Server 2 and 3 over a load balance system.

Now I need to port it to Wowza Streaming Engine 4.

VHost.xml of wowza 2 (and 3) origin server (load balancer)

com.rhema.BloomingLoadBalancer

*loadbalancer

none

enableServerInfoXML

true

Boolean

BloomingLoadBalancer.java

public class BloomingLoadBalancer extends HTTProvider2Base {

public void onBind(IVHost vhost, HostPort hostPort) {…}

public void setProperties(WMSProperties properties) {…}

private ILoadBalancerRedirector getRedirector() {

this.listener = (LoadBalancerListener)Server.getInstance().getProperties().get(ServerListenerLoadBalancerListener.PROP_LOADBALANCERLISTENER);

}

public void onHTTPRequest(IVHost vhost, IHTTPRequest req, IHTTPResponse resp) {

if (!doHTTPAuthentication(vhost, req, resp)) return;

getRedirector();

String retStr = null;

String queryStr = req.getQueryString();

boolean isServerInfoXML = false;

if (queryStr != null && enableServerInfoXML && queryStr.indexOf(“serverInfoXML”) >= 0) { isServerInfoXML = true; }

if (isServerInfoXML) {

List<Map<String, Object>> info = null;

if (this.redirector != null) { info = this.redirector.getInfo(); }

retStr = LoadBalancerUtils.serverInfoToXMLStr(info);

resp.setHeader(“Content-Type”, “text/xml”);

} else {

retStr = “unknown”;

LoadBalancerRedirect redirect = null;

if (this.redirector != null) { redirect = this.redirector.getRedirect(); }

if (redirect != null) { retStr = redirect.getHost(); }

}

resp.setHeader(“Access-Control-Allow-Origin”, “*”);

try {

OutputStream out = resp.getOutputStream();

byte[] outBytes = retStr.getBytes();

out.write(outBytes);

} catch (Exception e) {

WMSLoggerFactory.getLogger(BloomingLoadBalancer.class).error("BloomingLoadBalancer: " + e.toString());

}

}

}

Application.xml of wowza 2 (and 3) edge server (load balancing server)

rtmp://192.168.2.207

loadbalancertargets.txt

192.168.2.207,1934,

Our own player support RTMP and RTMPT (1935,443,80), actually there is a encoder (encoder.swf) and viewer (maudience.swf).

Is there any documentation about load balance interfaces?

Is there any additional information I could provide?