Not Authorized when trying to Log in to Spark Web

This is from the Openfire Warning Log:

2008.09.18 11:10:35 Closing session due to exception: (SOCKET, R: /10.140.67.57:4337, L: /10.140.67.23:5222, S: 0.0.0.0/0.0.0.0:5222)
org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.Exception: Disallowed character (Hexdump: 3C 70 6F 6C 69 63 79 2D 66 69 6C 65 2D 72 65 71 75 65 73 74 2F 3E 00)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:170)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Disallowed character
at org.jivesoftware.openfire.nio.XMLLightweightParser.read(XMLLightweightParser.ja va:210)
at org.jivesoftware.openfire.nio.XMPPDecoder.doDecode(XMPPDecoder.java:32)
at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtoco lDecoder.java:133)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:163)
… 9 more

This is my sparkweb.html config:

SparkWeb body { margin: 0px; overflow:hidden } function jive_sparkweb_getConfig() { return { server: "myserver", connectionType: "http", port: "5222", autoLogin: "false" }; ----------------------------------------------------------------------------- I am using Openfire 3.6.0a, and Spark 2.5.8. I am trying to get this setup so my citrix users can use it and I won't have to install spark on a citrix server. Any ideas?

This problem has occurred for a few people apparently in multiple subtle flavors. I am also one who cannot get SparkWeb to connect to my server. Other link with similar problems here;

I don’t know if you have read through these already perhaps you have, but if you figure your issue out I would love to know what it was. I can’t get past my ‘not authorized’ or a hang of the client.

Chris,

I got the same log error as you with same SparkWeb and Openfire versions. I tried the changes posted by Oxymoron in

basically under SparkWeb.html

After that, my SparkWeb runs smoothly.

I used this config:

return {

server: “myserver.domain.local”,

port: 7070

bindPath: “/http-bind/”

connectionType: “http”

autoLogin: “false”

);

)

And then on the login screen I typed the follwoing:

Username Server Password

username myserver.domain.local password

Just to make sure, your server definition posted doesn’t have commas at end of each line.