[Red5] Edge/Origin clustering is available on trunk now!

Guillaume Lecanu Guillaume at lya.fr
Mon Dec 3 01:31:27 PST 2007


Le lundi 03 décembre 2007 à 10:14 +0100, Guillaume Lecanu a écrit :

> 
> Le lundi 03 décembre 2007 à 10:11 +0800, Steven Gong a écrit :
> 
> > Could you please double check your configuration? Both on client and
> > on server. Thanks.
> 
> Done, my red5.xml on Origin was wrong,
> but now, every time I'm trying to connect on edge I have an "Failed"
> event
> 
> What I have done :
> 
> Origin :
> svn co http://svn1.cvsdude.com/osflash/red5/java/server/trunk/
> cd trunk
> cp conf/red5-origin.xml conf/red5.xml
> ant jar
> ./red5.sh
> 
> On each Edge :
> svn co http://svn1.cvsdude.com/osflash/red5/java/server/trunk/
> cd trunk
> cp conf/red5-edge.xml conf/red5.xml
> vim conf/red5-edge-core.xml => replace "localhost" by the IP address
> of Origin
> ant jar
> ./red5.sh
> 
> In the browser, I'm trying to connect on a edge I have no errors in
> the console logs,
> but in the "Publisher" sample logs I see
> "NetConnection.Connect.Failed"
> 
> Another strange point, when I'm trying to change the
> conf/log4j.properties to have
> a maximum of DEBUG or TRACE, no more logs are show. I only see in the
> console
> the "INFO" messages.
> 
> Any ideas ?
> 
> Thanks a lots !


About logs, I have found you have changed the logs tool.
Now I can debug it and I see theses DEBUG logs on the edge when I'm
trying to connect :

2007-12-03 09:28:13,490 [AnonymousIoService-4] DEBUG
org.red5.server.BaseConnection - Close, not connected nothing to do.

And on the Origin I see :

2007-12-03 10:28:08,533 [pool-5-thread-3] DEBUG
org.red5.server.net.mrtmp.OriginMRTMPHandler - MRTMPPakcet:
type=CONNECT,isDynamic=false,clientId=18972263
2007-12-03 10:28:08,566 [pool-5-thread-4] DEBUG
org.red5.server.net.mrtmp.OriginMRTMPHandler - MRTMPPakcet:
type=RTMP,isDynamic=false,clientId=18972263,rtmpType=20,rtmpBody=Invoke:
Service: null Method: connect Num Params: 0
2007-12-03 10:28:08,569 [pool-5-thread-4] DEBUG org.red5.server.Server -
[Server at 105fa26map['localhost:8088/SOSample' -> 'default', '/SOSample'
-> 'default', 'localhost/SOSample' -> 'default',
'localhost/messageRecorder' -> 'default', '127.0.0.1:8088/SOSample' ->
'default', '127.0.0.1:8088/messageRecorder' -> 'default',
'/messageRecorder' -> 'default', 'localhost:8088/messageRecorder' ->
'default']]
2007-12-03 10:28:08,569 [pool-5-thread-4] DEBUG org.red5.server.Server -
Check host and path: 192.168.1.9/oflaDemo
2007-12-03 10:28:08,569 [pool-5-thread-4] DEBUG org.red5.server.Server -
Check wildcard host with path: /oflaDemo
2007-12-03 10:28:08,569 [pool-5-thread-4] DEBUG org.red5.server.Server -
Check host with no path: 192.168.1.9/
2007-12-03 10:28:08,569 [pool-5-thread-4] DEBUG org.red5.server.Server -
Check default host, default path: /
2007-12-03 10:28:08,578 [pool-5-thread-4] DEBUG
org.red5.server.BaseConnection - Close, not connected nothing to do.


May be this can explain you why this doesn't works for me. 
The IP 192.168.1.9 is the edge IP where I have try to connect to.

Thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071203/44243e48/attachment.html 


More information about the Red5 mailing list