sco0ter / babbler

Java library for XMPP clients using JAXB
http://docs.xmpp.rocks
MIT License
7 stars 2 forks source link

Timeout while waiting on advertised authentication mechanisms #160

Open sco0ter opened 4 years ago

sco0ter commented 4 years ago

Original report by Stian Kjoglym (Bitbucket: [Stian Kjoglym](https://bitbucket.org/Stian Kjoglym), ).


Have been using rocks.xmpp library (core & websocket 0.8.1 version) with success for OpenHab implementation of a smarthome gateway for a while. Great work!

Recently, as part of OpenHab upgrade (no other changes to my specific gateway / code), I started to get exception as shown below. I.e. i am unable to connect to my smarthome gateway although the only change is made to OpenHab core. Any tips? Have also tried to switch to the most recent rocks.xmpp snapshot version, although end up with the same exception.

2019-12-14 21:06:42.061 [WARN ] [rnal.handler.FreeAtHomeBridgeHandler] - Problems connecting to SysAp: {}
rocks.xmpp.core.session.NoResponseException: Timeout while waiting on advertised authentication mechanisms.
    at rocks.xmpp.core.session.XmppClient.connect(XmppClient.java:220) ~[xmpp-core-client-0.9.0-SNAPSHOT.jar:?]
    at org.openhab.binding.freeathome.internal.handler.FreeAtHomeBridgeHandler.connectGateway(FreeAtHomeBridgeHandler.java:227) [bundleFile:?]
    at org.openhab.binding.freeathome.internal.handler.FreeAtHomeBridgeHandler.initialize(FreeAtHomeBridgeHandler.java:112) [bundleFile:?]
    at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_152]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_152]
    at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
    at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_152]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]

sco0ter commented 3 years ago

Original comment by Christian Schudt (Bitbucket: sco0ter, GitHub: sco0ter).


Hi,

you should look at the debug log. Seems like the server does not respond with .

https://sco0ter.bitbucket.io/babbler/debugging.html