timeout while waiting on advertised authentication mechanisms
Issue #145
new
Hi, I got an error when I run my code with ibm jdk 8.0,but it works with Oracle JDK 1.8. I connect the Cisco xmpp server with socket connection. PS.the babbler version is 0.8 the error message below
OUT (null): <?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" from="smuser3@127.0.0.1" to="xxx.xxx.xxx.xxx" version="1.0" xml:lang="zh-CN">
OUT (null): </stream:stream>
IN (2a32b9f0): <?xml version="1.0" encoding="UTF-8"?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="127.0.0.1" id="2a32b9f0" xml:lang="zh-CN" version="1.0">>
IN (2a32b9f0): <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required></required></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms></stream:features>
IN (2a32b9f0): </stream:stream>
2018-11-30 09:15:10.552 [http-bio-8080-exec-3] DEBUG commonLogger
rocks.xmpp.core.session.NoResponseException: Timeout while waiting on advertised authentication mechanisms.
rocks.xmpp.core.session.NoResponseException: Timeout while waiting on advertised authentication mechanisms.
at rocks.xmpp.core.session.XmppClient.connect(XmppClient.java:226)
Comments (4)
-
-
Anybody here?is it possible that IBM JDK doesn't support starttls ?
-
repo owner Hi Ran Ji,
I am here. But unfortunately I have currently little time to investigate your problem with IBM JDK.
With Oracle JDK or OpenJDK there's no issue.
Anyway, I think you are right, it's probably some kind of TLS issue.
Maybe you can try to find the cause?
-
Thank you for your help. The class XmppStreamReader ,Line 116, when it calls createXMLEventReader method , ibm jdk can't handle the inputstream, and no error message on the console. I'll try my best.
- Log in to comment
The Anonymous is me . Actually, I think the issue caused by tls. Maybe it's different between Oracle and IBM