Hi,
I have a problem using smack 3.1.0.
The XMPPConnection login method send an exception : “no response from server”.
But the server respond well:
Smack :
<stream:stream to=“plop” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>
<stream:stream to=“plop” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>
Y2xhdWRlAGNsYXVkZQAxMjM0
<stream:stream to=“plop” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>
Smack
</stream:stream>
Server :
<?xml version='1.0'?>stream:featuresPLAIN</mechanis ms><register xmlns='http://jabber.org/features/iq-register’/></stream:features>
stream:featuresPLAIN</mechanis ms><register xmlns='http://jabber.org/features/iq-register’/></stream:features>
stream:features<register xmlns='http://jabber.org/features/iq-register’/></stream:features>
claude@plop/Smack</i q>
I set PacketReplyTimeout to 10 seconds (!), but it is not better. And I can see on server side, that it respond quickly enough:
=INFO REPORT==== 2010-10-14 10:56:30 ===
D(<0.414.0>:ejabberd_receiver:320) : Received XML on stream = “<iq id=“58A4L-0” type=“set”><bind xmlns=“urn:ietf:params:xml:ns:xmpp-bind”>Smack</i q>”
=INFO REPORT==== 2010-10-14 10:56:30 ===
D(<0.415.0>:ejabberd_c2s:1456) : Send XML on stream = <<“claude@plop/Smack</i q>”>>
=INFO REPORT==== 2010-10-14 10:56:50 ===
D(<0.414.0>:ejabberd_receiver:320) : Received XML on stream = “<presence id=“58A4L-1” type=“unavailable”>”
I don’t know what’s wrong. have you any idea?
Thanks in advance