This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
27 Replies Last post: Nov 18, 2008 7:16 PM by Dele Olajide  
Oxymoron Bronze 40 posts since
Sep 3, 2008
Currently Being Moderated

Sep 5, 2008 3:01 PM

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.

tjk Bronze 7 posts since
Sep 15, 2008
Currently Being Moderated
Sep 15, 2008 8:58 PM in response to: Oxymoron
Re: SparkWeb wont login

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!

 

TJ

Septimusx Bronze 31 posts since
Sep 5, 2008
Currently Being Moderated
Sep 16, 2008 10:58 AM in response to: Oxymoron
Re: SparkWeb wont login

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.

Septimusx Bronze 31 posts since
Sep 5, 2008
Currently Being Moderated
Sep 16, 2008 11:09 AM in response to: Oxymoron
Re: SparkWeb wont login

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

Septimusx Bronze 31 posts since
Sep 5, 2008
Currently Being Moderated
Sep 16, 2008 2:55 PM in response to: Oxymoron
Re: SparkWeb wont login

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

tjk Bronze 7 posts since
Sep 15, 2008
Currently Being Moderated
Sep 16, 2008 3:40 PM in response to: Septimusx
Re: SparkWeb wont login

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

Septimusx Bronze 31 posts since
Sep 5, 2008
Currently Being Moderated
Sep 16, 2008 4:22 PM in response to: Oxymoron
Re: SparkWeb wont login

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.<init>(Throwable.java:57)
        at java.lang.Throwable.<init>(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

 

return {
             &n bsp;  server: "jabber.llbean.com",
             &n bsp;  connectionType:"http",
             &n bsp;  port: "7443",
             &n bsp;  bindPath:"/http-bind/",
             &n bsp;  autoLogin:"false"
             &n bsp;  };

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.

Paul Theodoropoulos Bronze 9 posts since
Aug 6, 2008
Currently Being Moderated
Sep 16, 2008 5:28 PM in response to: Oxymoron
Re: SparkWeb wont login

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

 

<script type="text/javascript">
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...

tjk Bronze 7 posts since
Sep 15, 2008
Currently Being Moderated
Sep 16, 2008 5:30 PM in response to: Paul Theodoropoulos
Re: SparkWeb wont login

What does the policyfileurl point to exactly?

Paul Theodoropoulos Bronze 9 posts since
Aug 6, 2008
Currently Being Moderated
Sep 16, 2008 5:39 PM in response to: tjk
Re: SparkWeb wont login

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

5229Flash Cross DomainService that allows Flash clients connect to other hostnames and ports.
Septimusx Bronze 31 posts since
Sep 5, 2008
Currently Being Moderated
Sep 17, 2008 3:32 PM in response to: Paul Theodoropoulos
Re: SparkWeb wont login

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.

wroot KeyContributor 3,431 posts since
Jan 24, 2005
Currently Being Moderated
Sep 18, 2008 1:15 AM in response to: Septimusx
Re: SparkWeb wont login

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 (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?

steve Bronze 9 posts since
May 24, 2007
Currently Being Moderated
Oct 9, 2008 4:40 PM in response to: wroot
Re: SparkWeb wont login

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 KeyContributor 3,431 posts since
Jan 24, 2005
Currently Being Moderated
Oct 10, 2008 12:46 PM in response to: Oxymoron
Re: SparkWeb wont login

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.

SmilingJ Bronze 153 posts since
Mar 12, 2006
Currently Being Moderated
Nov 10, 2008 1:17 PM in response to: wroot
Re: Spa