Connection failure

Issue #93 invalid
Nicolas Horvat created an issue

Hello Christian, Using your great lib in a professional case I encounters some troubles at connection with our Openfire server. Using Bosh connection and without any change on URI configuration the connection simply fails:

rocks.xmpp.extensions.httpbind.BoshException printed: rocks.xmpp.extensions.httpbind.BoshException stacktrace: rocks.xmpp.extensions.httpbind.BoshConnection.unpackBody(BoshConnection.java:412) rocks.xmpp.extensions.httpbind.BoshConnection.lambda$sendNewRequest$6(BoshConnection.java:763) java.util.concurrent.CompletableFuture$AsyncRun.run java.util.concurrent.ThreadPoolExecutor.runWorker java.util.concurrent.ThreadPoolExecutor$Worker.run java.lang.Thread.run(Thread.java:745)

After that, xmpp client considers connection as established but no messages can be sent or received and no Occupant event occur. Could you tell me if it is an internal error or another type of configuration issue? Thank you

Comments (3)

  1. Christian Schudt repo owner

    Hi Nicolas,

    unfortunately the stacktrace doesn't show the error message, although it actually should. Something like "The connection was terminated with condition: ...".

    Two approaches, I'd try:

    1. Enable debugging (set ConsoleDebugger in XmppSessionConfiguration, see documentation), to see the actual response.
    2. Try version 0.7.2 (but you probably already do)
  2. Nicolas Horvat reporter

    Hi, Thank you for your quick answer, I integrated the last release instead the 0.7.2 and I'll keep you in touch for that kind of problems. I also downgraded the Openfire version and it seems to work correctly for the moment. Thank you for your help

  3. Log in to comment