Page 1 of 1

Red box NetConnection.Connect failed error .. (urgent)

Posted: 01 Apr 2011, 10:58
by univanl
I have installed smart fox pro version - 1.6 on my server , i have started both smart fox sever as well as red box . smart fox is running fine but when i try to access red box it gives following error ...

Connection successful!
Successfully logged in
Room list received
Successfully joined room: The Hall

[RedBox] Initializing Live Casts list for current room...
[RedBox] NetStatusEvent response received
[RedBox] Level: error | Code:NetConnection.Connect.Failed
[RedBox] NetConnection error, dispatching event...
A/V CONNECTION ERROR: NetConnection.Connect.Failed

plz help me out :o .

* i am having 64 bit and win-2008 server .

Posted: 01 Apr 2011, 14:40
by Bax
As the error says, the client is not able to connect to the Red5 server. Are you sure it is running? Are you sure you don't have firewalls or proxies blocking the connection to it?
Can you test the connection to Red5 in a separate application using the default Flash API?

Posted: 04 Apr 2011, 07:36
by univanl
Hi bax,

Thanks for ur reply .

I received following events on server side ,when i try to connect my app
[code]

[halal.as]: Event received: serverReady
01:29:34.522 - [ INFO ] > [RedBox] Internal event received: serverReady
01:29:34.523 - [ INFO ] > [RedBox] Internal event received: serverReady
01:30:06.743 - [ INFO ] > [RedBox] Internal event received: userJoin
01:30:06.747 - [ WARNING ] > Can't load buddy list for user: 5 -- Zone: SmartChatAV doesn't have an active buddy list system.
01:30:10.487 - [ INFO ] > [RedBox] Internal event received: userLost
01:30:10.893 - [ INFO ] > [RedBox] Internal event received: userJoin
01:30:10.897 - [ WARNING ] > Can't load buddy list for user: 5 -- Zone: SmartChatAV doesn't have an active buddy list system.
01:30:13.726 - [ INFO ] > [RedBox] Internal event received: userLost
01:36:42.697 - [ INFO ] > [RedBox] Internal event received: userJoin
01:36:43.050 - [ WARNING ] > Can't load buddy list for user: 5 -- Zone: SmartChatAV doesn't have an active buddy list system.
01:37:05.717 - [ INFO ] > [RedBox] Internal event received: userLost

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

As you said ,i have checked out firewalls/proxies its not blocking the connection.

===========================================
I have started server > redbox >red5.bat
I get following events

[INFO] 2011-04-04 02:11:34,114 main:( org.mortbay.log.invoke0 ) Started SelectChannelConnector@0.0.0.0:5080
[INFO] 2011-04-04 02:11:34,114 main:( org.red5.server.Standalone.main ) Startup done in: 3112 ms

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

i tried the default smartfox
Flash API > RedBoxClient_AS3 > examples > SmartVideoConference
but it shows "loading client configuration"

i have tried other examples not using redbox they work fine.

i gone through Frequently Asked Questions of redbox doc

" » Which version of Red5 is distributed with the RedBox?

Currently the RedBox includes a "light-weight" version of Red5 0.6.3 that was cleaned of the default examples and a few other files.
If you need the original additional examples you can visit the Red5 website and download the full release. "


should i have to install red5 , or it comes with the smart fox pro by default ??

If i want to run the default examples of smart fox , i have to install red 5 ??

please help me out :idea: :!:

Thanks

Posted: 05 Apr 2011, 07:03
by Bax
Let's stick to the SmartFoxChatAV example.
Is the text chat working? I mean both the lobby chat and the private chat.
What if you start a video chat in that example?
Any errors traced on the client or server side?