Hello everyone,
When I am trying to connect from Smack 2.1.0 to jabberd 2.0s10, I get the following exception:
2006-02-22 03:45:08 No response from the server.:
at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication .java :58)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:414)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
Here is my debug input/output:
SENT:
What am I doing wrong? I read SMACK-88, which claims that the issue is fixed with 2.1.0, but obviously it isn’'t, in my case.
Regards,
Andreas
Hey Andreas,
Based on the received XML I would say that the exception you are getting in Smack is correct since there was no reply to the IQ packet with id=HMlM1-0. You may want to check in the server logs to see if there was an error on the server side.
Regards,
– Gato
The server log says only:
Tue Feb 28 14:26:02 2006 connect
That’'s all.
I just tried using telnet:
- telnet myserver.local xmpp-client
Trying aa.bb.cc.dd…
Connected to xxx.
Escape character is ‘’^]’’.
). Maybe Smack just “forgets to insert a newline”, or jabberd2 expects one at the wrong place?
Regards,
Andreas