Red5 + Sparkweb - Login Button Does Nothing

Ok so to give you some background I’ve been running Openfire at my company for a little over a month and am now looking to get sparkweb up and running. So I installed the Red5 and the Sparkweb plugin and after some tweaking with the bind settings I am now able to browse out to the red5 and sparkweb pages on the openfire server. However, when I attempt to login on index.html the login button grays out permanently and nothing happens. No errors on the screen or in the logs, nothing.

If I try to log in to sparkweb.html the login button works but I get the error “Problem authenticating with the server or you are not authorized to perform this operation” again nothing is printed in the error logs.My configs are as follows:

Index.html

function jive_sparkweb_getConfig()
{
return {
server: “SERVER.DOMAIN.LOCAL”,
port: “8080”,
bindPath: “/http-bind/”,
connectionType : “http”,
autologin : “false”

};

Sparkweb.html

function jive_sparkweb_getConfig()
{
return {
server: “FIMED-EX001.FI-MED.LOCAL”,
connectionType: “socket”,
port: “5222”,
autoLogin: “false”
};
}

Im hoping that its just late and I’m missing something obvious but I am very stuck on this at the moment. Thanks in advance to anyone who has any input.

TJ

Are you running openfire 3.6?. Red5 Sparkweb is broken with latest OF release and I am still sourcing a solution. I have downgraded to 3.5.2 for now.

A solution is proposed here http://www.igniterealtime.org/community/message/178836#178836

But if you read http://www.igniterealtime.org/community/thread/34389 and http://www.igniterealtime.org/community/message/179322#179322

you will find http-bind works, but socket connection is NOT working yet.

If you want a working version of SparkWeb with 3.6.0a try this http://www.igniterealtime.org/sparkweb/SparkWeb.swf. Just replace the swf file.

Hey thanks a lot, I will give this a try after hours today so I dont get users emailing me about how their IM client is down

Ok, i’ve got the Red5 SparkWeb working with openfire 3.6.0a in http-bind connection mode only. Socket connection mode is broken with 3.6.0.a

You can download the swf file from here http://dev.4ng.net/chat/sparkweb/SparkWeb.swf

Thank you very much for this workaround Dele. I am still not quite able to get connected but I have a feeling that has more to do with the jive_sparkweb_getconfig that I am working with. Using the following I just get the error “Not authorized” using the DNS name or IP of the server.

function jive_sparkweb_getConfig()
{
return {
server: “server.domain.local”,
port: “8080”,
bindPath: “/http-bind/”,
connectionType : “http”,
autologin : "false"
policyFileURL: “xmlsocket://localhost:5229”
};
}

Is there something I am missing?

This is what I use with Red5 SparkWeb. It might help

function jive_sparkweb_getConfig()
{

var username = getPageParameter(‘username’, ‘’);
var password = getPageParameter(‘password’, ‘’);
var autologin = getPageParameter(‘autologin’, ‘false’);
var webapp = getPageParameter(‘webapp’, ‘red5’);
var conn = getPageParameter(‘conn’, ‘http’);

return {

username: username,
password: password,
server: window.location.hostname,
port: conn == “socket” ? 5222 : window.location.port,
red5url: “rtmp:/sip”,
webapp: webapp,
connectionType: conn,
policyFileURL: “http://” + window.location.hostname + “:” + window.location.port + “/” + webapp + “/crossdomain.xml”,
webcamAvatar: “true”,
visualPresence: 60,
autologin: eval(autologin)
};
}

I finally got Red5 SparkWeb working with Openfire 3.6.0a for both socket and http. If that affects you, download from here http://red5.4ng.net/gtms/SparkWeb.swf

Simply i don’t know. Using IE7 - how do you download a link to a swf file?

Right click the link and select “Save Target As”

Hi Dele,

the link is broken. Could you update it with a working one?

Thanks!

Clearspace is playing up again. Check the actual link and you will see it does not match what is showing.

Try this: http://red5.4ng.net/gtms/SparkWeb.swf