Connection failure
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)
-
repo owner -
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
-
repo owner - changed status to invalid
Closing this issue, nothing seems to be done here.
- Log in to comment
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: