Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting websocket - openfire #103

Open
gilbertobr opened this issue Jun 16, 2017 · 0 comments
Open

Connecting websocket - openfire #103

gilbertobr opened this issue Jun 16, 2017 · 0 comments

Comments

@gilbertobr
Copy link

gilbertobr commented Jun 16, 2017

I am currently having trouble connecting to my openfire 4.1.4 via websocket.

Error:

2017.06.16 12:04:47 org.jivesoftware.openfire.websocket.XmppWebSocket - Failed to process XMPP stanza
Java.lang.NullPointerException
At org.jivesoftware.openfire.net.SASLAuthentication.getSASLMechanismsElement (SASLAuthentication.java:204)
At org.jivesoftware.openfire.net.SASLAuthentication.getSASLMechanisms (SASLAuthentication.java:182)
At org.jivesoftware.openfire.websocket.XmppWebSocket.configureStream (XmppWebSocket.java:300)
At org.jivesoftware.openfire.websocket.XmppWebSocket.initiateSession (XmppWebSocket.java:279)
At org.jivesoftware.openfire.websocket.XmppWebSocket.onTextMethod (XmppWebSocket.java:113)

At sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
At sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
At java.lang.reflect.Method.invoke (Method.java:498)
At org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call (CallableMethod.java:70)
At org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call (OptionalSessionCallableMethod.java:72)
At org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessage (JettyAnnotatedEventDriver.java:234)
At org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete (SimpleTextMessage.java:69)
At org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage (AbstractEventDriver.java:65)
At org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame (JettyAnnotatedEventDriver.java:226)
At org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame (AbstractEventDriver.java:161)
At org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame (WebSocketSession.java:308)
At org.eclipse.jetty.websocket.common.extensions.AbstractExtension.nextIncomingFrame (AbstractExtension.java:163)
At org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension.nextIncomingFrame (PerMessageDeflateExtension.java:105)
At org.eclipse.jetty.websocket.common.extensions.compress.CompressExtension.forwardIncoming (CompressExtension.java:136)
At org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension.incomingFrame (PerMessageDeflateExtension.java:85)
At org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame (ExtensionStack.java:214)
At org.eclipse.jetty.websocket.common.Parser.notifyFrame (Parser.java:220)
At org.eclipse.jetty.websocket.common.Parser.parse (Parser.java:258)
At org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse (AbstractWebSocketConnection.java:632)
At org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable (AbstractWebSocketConnection.java:480)
At org.eclipse.jetty.io.AbstractConnection $ 2.run (AbstractConnection.java:544)
At org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:635)
At org.eclipse.jetty.util.thread.QueuedThreadPool $ 3.run (QueuedThreadPool.java:555)
At java.lang.Thread.run (Thread.java:748)

How do I correct this?
The homepage of kaiwa, is locked with the name "Connecting"

dev_config.json=

{
"isDev": true,
"http": {
"host": "192.168.254.133",
"port": 8000
},
"session": {
"secret": "shhhhhh don't tell anyone ok?"
},
"server": {
"name": "XMPP",
"domain": "srvtest",
"wss": "wss://192.168.254.133:7443/ws/",
"muc": "",
"startup": "",
"admin": ""
}
}

@gilbertobr gilbertobr changed the title Connecting websocket Connecting websocket - openfire Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant