since the late refactorings, starting on 18f0f9a50504, I've been having issues establishing a connection. The below is from the current latest checkout at a5dba85b9ce6.
Here is the code to reproduce it:
object TinyMain extends App {
val jid = Jid.of("dev@domain.tld")
val xmppClient = {
val sessionConfig = XmppSessionConfiguration
.builder()
.debugger(classOf[VisualDebugger])
.build()
XmppClient.create(jid.getDomain, sessionConfig)
}
xmppClient.connect()
xmppClient.login(jid.getLocal.toString, "pass", "clientname")
}
Here is the error log:
Exception in thread "main" java.lang.ExceptionInInitializerError
at app.TinyMain.main(TinyMain.scala)
Caused by: rocks.xmpp.core.XmppException: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
The visual debugger shows the client stalled in "initial" status with the following logs:
FINE Trying to connect to domain.tld:5223
FINE Connection has been secured via TLS.
FINE Negotiating stream, waiting until SASL is ready to be negotiated.
The server does answer on this port with the following command:
Original report by Anonymous.
Hi there!
since the late refactorings, starting on 18f0f9a50504, I've been having issues establishing a connection. The below is from the current latest checkout at a5dba85b9ce6.
Here is the code to reproduce it:
Here is the error log: Exception in thread "main" java.lang.ExceptionInInitializerError at app.TinyMain.main(TinyMain.scala) Caused by: rocks.xmpp.core.XmppException: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
The visual debugger shows the client stalled in "initial" status with the following logs:
The server does answer on this port with the following command: