SparkWeb wont login

Ok, so I have read every post I can find about SparkWeb and configs, but I cannot login.

This is a simple setup. Fresh install of Server 2003, fresh IIS, dropped SparkWeb directory into the root of IIS, permissions are correct because I get the SparkWeb flash login, even get my server name, although I can edit the SparkWeb.html file and it always defaults to the last typed entry for server.

When I enter user name and password, press Login, I either get a complete refresh, or a message Not Authorized Please try again. The error logs show an attempt from my client IP address, but the port and type don’t match the SparkWeb.html settings?

Please help.

PS, I have Windows Authentication only on the IIS site.

Never mind… I reset all the http-bind settings and messed with the SparkWeb.html file some more… yea! It works!

Would you mind sharing your changes to your sparkweb.html? I am currently having the same issue and I cant quite seem to get my head around. Thanks!


I too am having the same issue. I get the notorious ‘not authorized’ message and it seems that no matter what I change I cannot get past that particular error. I would appreciate any info as well.

Here’s the settings in sparkweb.html that I changed…

is lunchbox the name of your jabber service running on the server or the physical server’s dns name?

It’s the DNS name of the server…

Well I guess it’s progress, I no longer get a ‘not authorized’ message… It just hangs and does nothing. Dang.

Same problem that I have. The login button just becomes grayed out and nothing else happens.

okay here is what looks like an error in my debug log

2008.09.16 17:17:58 JettyLog: EXCEPTION Unrecognized SSL message, plaintext connection?
at java.lang.Throwable.(
at java.lang.Throwable.(
at ava:465)
at ava:200)
at org.mortbay.jetty.HttpParser.parseNext(
at org.mortbay.jetty.HttpParser.parseAvailable(
at org.mortbay.jetty.HttpConnection.handle(
at org.mortbay.thread.QueuedThreadPool$

Seems to me I am trying to make an SSL connection over a plaintext connection. I suppose it doesn’t like that. I DO want to make an SSL connection as I am required to by the company. Here is my HTML

return {
server: “”,
port: “7443”,

I think my connectiontype and bindpath are wrong. What would be the correct setting for SSL? Any other ideas regardless of how crazy will be welcomed.

Do a search in the forums for SSL/TSL…

From what I can gather, the SparkWeb client does not yet work over SSL.

However, I also recall a post from someone that said they DID get it to work, but I have not gone down that path as I’m only using the thin client.

The biggest drawback to the web client is the lack of POP. You need to have your browser open all day and continually peek at it to see if you have a new message. With Spark, you can force focus and pops to alert you.

Yes, you connection type should be https and your binding should be /https-bind/

I wish you luck

i’m not sure about the requirement to use https-bind. here’s my config, which does work for me:

function jive_sparkweb_getConfig() { return { server: "localhost", bindPath: "/http-bind/", port: "7443", location: window.location.href, connectionType: "https", autologin: "false", policyFileURL: "xmlsocket://localhost:5229" }; } i pulled out all the spaces due to the forum software's insistence on replacing them with nbsp's ;^) this opens an https browser connection to my server and i can log in and use it. so i think it works...

What does the policyfileurl point to exactly?

i believe that’s the only way you can link the connection between sparkweb and the openfire server. it’s the last line on my opening admin page:

All addresses


Flash Cross Domain
Service that allows Flash clients connect to other hostnames and ports.

If it works with http-bind, awesome. I was referencing other posts I saw.

I’ll try those settings on my end and see if I can get it to go over SSL.


Well thanks for the newer config, my error has changed anyway. Inbound closed before receiving peer’s close_notify: possible truncation attack?
at ava:448)
at ava:200)
at org.mortbay.jetty.HttpParser.parseNext(
at org.mortbay.jetty.HttpParser.parseAvailable(
at org.mortbay.jetty.HttpConnection.handle(
at org.mortbay.thread.QueuedThreadPool$
2008.09.17 16:27:43 JettyLog: EOF

I get no messages in my browser anymore it just hangs. I am at a loss.

So i’ll jump in here too

With Openfire 3.5.2 and SparkWeb 0.9.0 it was working without http-bind (socket and 5222 port). After upgrading to Openfire 3.6.0a it gaves me Not Authorized error. I have tried to change to http-bind (default 7070 port). Same result. Yesterday i was told to download newer SparWeb.swf ( So i have tried to put it in my sparweb folder and reverted config to socket connection. Still the same error. Http-bind. The same. I dont need SSL connection, this is all in LAN. So how can i make SparkWeb to work with socket connection? Or do i really need to build SparkWeb from svn or wait for new release? Maybe that swf on isnt new enough?

I’ll just add a second to this as well, ive got the same issue and it happened once i upgraded to 3.6.0a its been working fine up untill that point. Granted I experienced the upgrade database issue that many other did but after the repair it seems everything else is running ok. Anyone have a solution?

Wroot - I have not been able to get SparkWeb to connect EVER with connectionType = socket…

Below I pasted the setting I have (again) that work every time.

I think the key is the connectionType and the bindPath…

Good luck,


I have already tried that config and with the version from the Not working for me. It seems that a big part of users is experiencing that and only a few ones get it working again. Though, it should be working with old socket config too. Daniel said it works fine at Well, it seems we have to wait till next version and revert to 3.5.2. Not me personally. I dont need SparkWeb that much.