I'm having trouble getting started with jabber-net. I tried writing a
simple little form, but can't get it to connect. I finally built the
VB Example app and got this in the debug pane:
Connected to: jabber.connection.SocketStanzaStream
SEND: <stream:stream xmlns:stream="
http://etherx.jabber.org/streams"
id="1cbd7cc5" xmlns="jabber:client" to="test.server" version="1.0">
RECV: <?xml version='1.0' encoding='UTF-8'?><stream:stream
xmlns:stream="
http://etherx.jabber.org/streams" xmlns="jabber:client"
from="test.server" id="f9779a36" xml:lang="en" version="1.0">
RECV: <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-
tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-
sasl"><mechanism>GSSAPI</mechanism><mechanism>PLAIN</mechanism></
mechanisms><compression xmlns="
http://jabber.org/features/
compress"><method>zlib</method></compression><auth xmlns="http://
jabber.org/features/iq-auth"/></stream:features>
SEND: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
SEND: <stream:stream xmlns:stream="
http://etherx.jabber.org/streams"
id="d9091c5f" xmlns="jabber:client" to="test.server" version="1.0">
RECV: <?xml version='1.0' encoding='UTF-8'?><stream:stream
xmlns:stream="
http://etherx.jabber.org/streams" xmlns="jabber:client"
from="test.server" id="f9779a36" xml:lang="en"
version="1.0"><stream:features><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>GSSAPI</
mechanism><mechanism>PLAIN</mechanism></mechanisms><compression
xmlns="
http://jabber.org/features/compress"><method>zlib</method></
compression><auth xmlns="
http://jabber.org/features/iq-auth"/></
stream:features>
SEND: <compress xmlns="
http://jabber.org/protocol/
compress"><method>zlib</method></compress>
RECV: <compressed xmlns='
http://jabber.org/protocol/compress'/>
SEND: <stream:stream xmlns:stream="
http://etherx.jabber.org/streams"
id="2db89f3b" xmlns="jabber:client" to="test.server" version="1.0">
RECV: <?xml version='1.0' encoding='UTF-8'?><stream:stream
xmlns:stream="
http://etherx.jabber.org/streams" xmlns="jabber:client"
from="test.server" id="f9779a36" xml:lang="en"
version="1.0"><stream:features><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>GSSAPI</
mechanism><mechanism>PLAIN</mechanism></mechanisms><auth xmlns="http://
jabber.org/features/iq-auth"/></stream:features>
ERROR: jabber.connection.sasl.SASLException: InitializeSecurityContext
() failed!!!
I'm trying to connect to Openfire 3.5.1, our production server.
(test.server is in place of our actual server)
What am I doing wrong? I have no problems connecting with any client
software. We're currently using Spark.
Thanks!