Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
difficulty getting JabberCamApp to respond (server handshake too long error)
11-30-2010, 04:43 AM,
#1
difficulty getting JabberCamApp to respond (server handshake too long error)
Hi - I'm pretty far along (I thought) in the install, and stuck with the flash app not being able to talk to the red5 application. Here's how it looks...

When I bring up the flash app, it immediately says

"13:37:39  unable to connect to rtmp://clickacam.com/JabberCamApp"

a few seconds later I see in the server log:

[INFO] [NioProcessor-4] org.red5.server.adapter.MultiThreadedApplicationAdapter - W3C x-categoryConfusedession x-event:connect c-ip:69.180.30.113 c-client-id:2
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 69.180.30.113 : 60384 to clickacam.com (in: 3419 out 3221 ), with id 32416137 due to long handshake

(slight delay between those two).

So clearly the connectivity is correct, flash is finding the right Red5 server, but something seems off beyond that.

I installed the app by dropping the latest JabberCamApp (unmodified) from the Flashbuilder project, into the WebApps directory. When I did this, I could see the application show up in the red5 admin panel as an application.

Anyone have any suggestions? you can reach this at ClickaCam.com and see the frontend error if that's of use. Thanks,

Graham Street
Reply
12-01-2010, 02:58 AM,
#2
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
It is a Red5 issue, you cannot connect to the RTMP. Try turning off the firewall.
Reply
02-22-2011, 11:22 AM,
#3
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
I am having the exact same issue. Did you manage to fix it, if yes how?

I can access the red5 admin panel, however I noticed the "JabberCamApp" does show in the list but the name is empty. Like this:

[Image: kew8x1.jpg]


Firewall is disabled. Any help is highly appreciated, trying to fix this for hours now.

Thanks
Reply
02-22-2011, 12:57 PM,
#4
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
Read this post with attention to the details at the four titler under CONNECTING TO MySQL section: http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-server

Also make sure, you have the database set up and database tables installed (your_domain/jabbercam/admin.php?task=test)
The same settings should be present in the java application in the /webapps directory: http://www.videosoftware.pro/forum/THREAD-Installing-JabberCam-RVC-5 (ENABLING Red5 IN CASE YOU HAVE YOUR OWN RED5 SERVER)
Reply
02-22-2011, 01:27 PM, (This post was last modified: 02-22-2011, 01:29 PM by flora.)
#5
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
(02-22-2011, 12:57 PM)JabberCam Wrote:  Read this post with attention to the details at the four titler under CONNECTING TO MySQL section: http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-server

Also make sure, you have the database set up and database tables installed (your_domain/jabbercam/admin.php?task=test)
The same settings should be present in the java application in the /webapps directory: http://www.videosoftware.pro/forum/THREAD-Installing-JabberCam-RVC-5 (ENABLING Red5 IN CASE YOU HAVE YOUR OWN RED5 SERVER)

Thank you for your reply, but I've read it all, trust me. I've been trying everything possible for hours now even doing everything from scratch 2 times just to make sure I didn't miss something.

I've copied the JAR files to red5/lib (tomcat-dbcp.jar, mysql-connector-java-5.1.12-bin.jar and commons-dbcp-1.4.jar) and made sure they aren't already located within the app/WEB-INF/lib folders.

Connection to mySQL works perfect. Already enabled Red5 of course in the config file.

I'm not a complete noob at this and it looks like what I posted previously in this topic is wrong. The JabberCamApp application doesn't get recognized AT ALL by red5. All other red5 demo applications work flawlessy, but JabberCamApp just doesn't get recognized. It never gets listed in the red5 admin panel.

Checked permissions and everything. Do you have any idea what could cause the app not being recognized by Red5?

Using Red5 0.8 and just purchased Jab today, so using the latest version.

Thank you.
Ah and /jabbercam/admin.php?task=test gives:

database tables OK
Testing: ..
Red5 ERROR
Stratus OFF
System folder OK
Reply
02-22-2011, 01:34 PM, (This post was last modified: 02-22-2011, 01:35 PM by RVC Video Chat.)
#6
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
The reason why I was suggesting a MySQL connection-related problem is because we encountered similar issues only when there was something wrong with connecting the java application to the MySQL database. Did you check /etc/my.cnf and restart mysqld?

If the jar files are there and skip-networking is removed from my.cnf, the JabberCam App should show up. There can be further issues with connecting to RTMP (firewall etc.) but if the above are correct it should work. The community did it hundreds of times last year.

Reply
02-22-2011, 01:37 PM, (This post was last modified: 02-22-2011, 01:38 PM by flora.)
#7
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
(02-22-2011, 01:34 PM)JabberCam Wrote:  The reason why I was suggesting a MySQL connection-related problem is because we encountered similar issues only when there was something wrong with connecting the java application to the MySQL database. Did you check /etc/my.cnf and restart mysqld?

If the jar files are there and skip-networking is removed from my.cnf, the JabberCam App should show up. There can be further issues with connecting to RTMP (firewall etc.) but if the above are correct it should work. The community did it hundreds of times last year.

Found the issue. Looks like I missed a step after all:

Code:
edit /ChatrouletteApp/WEB-INF/red5-web.properties and fill in your database details

Can we pretend I never posted here? Confused

Thanks a lot Big Grin
Reply
02-22-2011, 01:42 PM, (This post was last modified: 02-22-2011, 01:45 PM by RVC Video Chat.)
#8
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
the red5-web.properties located under /JabberCamApp/WEB-INF should look something like this (cPanel):
Quote:webapp.contextPath=/JabberCamApp
webapp.virtualHosts=*, localhost, localhost:8088, 127.0.0.1:8088
db.username=username_dbuser
db.host=localhost
db.database=username_database
db.password=dbpassword
filter.timeout=15
ban.timeout=90
ban.numReportsToBan=9
*sometimes people miss the username_databasename format on cPanel servers or leave the "host" at db.host instead of "localhost"; on Godaddy, the MySQL host-name is the most common mistake
(02-22-2011, 01:37 PM)flora Wrote:  
(02-22-2011, 01:34 PM)JabberCam Wrote:  The reason why I was suggesting a MySQL connection-related problem is because we encountered similar issues only when there was something wrong with connecting the java application to the MySQL database. Did you check /etc/my.cnf and restart mysqld?

If the jar files are there and skip-networking is removed from my.cnf, the JabberCam App should show up. There can be further issues with connecting to RTMP (firewall etc.) but if the above are correct it should work. The community did it hundreds of times last year.

Found the issue. Looks like I missed a step after all:

Code:
edit /ChatrouletteApp/WEB-INF/red5-web.properties and fill in your database details

Can we pretend I never posted here? Confused

Thanks a lot Big Grin

Meanwhile I posted the same thing ... it is a common mistake Wink
Reply
07-12-2011, 10:43 AM,
#9
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
suposably the same issue however
i did movet he jars
i did chagne the properties
the post tester finds chat roulete
but doest find the jabbercamapp
at all ports
what am i missing?
i use red5 0.8
on centos
with rvc 5.6

help?
Reply
07-13-2011, 03:26 AM,
#10
RE: difficulty getting JabberCamApp to respond (server handshake too long error)
Make sure you don't have the java applications in both places, red5/lib and JabberCamApp/WEB-INF/lib folders.
Try turning off CSF firewall from WHM
edit /etc/my.cfg as described
I love video chat!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)