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.
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.
okay here is what looks like an error in my debug log
2008.09.16 17:17:58 JettyLog: EXCEPTION
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at java.lang.Throwable.(Throwable.java:57)
at java.lang.Throwable.(Throwable.java:68)
at com.ibm.jsse2.b.a(b.java:31)
at com.ibm.jsse2.gc.a(gc.java:56)
at com.ibm.jsse2.gc.unwrap(gc.java:328)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:1)
at org.mortbay.jetty.security.SslHttpChannelEndPoint.fill(SslHttpChannelEndPoint.j ava:465)
at org.mortbay.jetty.security.SslHttpChannelEndPoint.fill(SslHttpChannelEndPoint.j ava:200)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:282)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
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
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’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...
Well thanks for the newer config, my error has changed anyway.
javax.net.ssl.SSLException: Inbound closed before receiving peer’s close_notify: possible truncation attack?
at com.ibm.jsse2.n.a(n.java:38)
at com.ibm.jsse2.gc.a(gc.java:171)
at com.ibm.jsse2.gc.a(gc.java:230)
at com.ibm.jsse2.gc.closeInbound(gc.java:245)
at org.mortbay.jetty.security.SslHttpChannelEndPoint.fill(SslHttpChannelEndPoint.j ava:448)
at org.mortbay.jetty.security.SslHttpChannelEndPoint.fill(SslHttpChannelEndPoint.j ava:200)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:282)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
2008.09.17 16:27:43 JettyLog: EOF
I get no messages in my browser anymore it just hangs. I am at a loss.
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 (http://www.igniterealtime.org/sparkweb/SparkWeb.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 igniterealtime.org 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?
I have already tried that config and with the version from the igniterealtime.org. 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 igniterealtime.org. 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.