Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

ResourceBindingNotOfferedException

$
0
0

hi Flow and all, i'm using openfire 3.9.1 and the stream log like:

 

SENT (0): <stream:stream to="192.168.1.250" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">

 

RCV (0): <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="192.168.1.250" id="84d17d5" xml:lang="en" version="1.0">

 

RCV (0): <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mech anism>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>

 

and don't have a bind, so in PacketReader's parseFeatures(parser) method,

 

else if (parser.getName().equals("bind")) {

                    // The server requires the client to bind a resource to the stream

                    connection.serverRequiresBinding();

                }

is never called, and in XMPPConnection

if (!bindingRequired) {

            // Server never offered resource binding, which is REQURIED in XMPP client and server

            // implementations as per RFC6120 7.2

            throw new ResourceBindingNotOfferedException();

        }

 

how can i fix this? thanks a lot


Viewing all articles
Browse latest Browse all 10742

Trending Articles