Subject: Cannot connect using Openfire using default settings
Have installed Openfire 3.71 on a Hyper-V VM. Downloaded and installed Spark IM client from Openfire site. Spark works both inside and outside the domain. Downloaded the MatriX SDK and miniClient sample project. No matter what I do I cannot connect. For Openfire I have the Server Name = machinename.domain.com and Host name = machinename. Attached below is the XML debug output. Can someone please look at this and explain why it will not work. To me it looks like something with the encryption. I am new to XMPP programming. Thank you in advance for any help.
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="machinename" version="1.0" >
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="machinename.domain.com" id="5cfc1a97" xml:lang="en" version="1.0" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>DIGEST-MD5</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>ANONYMOUS</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" />
<register xmlns="http://jabber.org/features/iq-register" />
</stream:features>
SEND: <auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImVudDIwMDhyMi0xdm0xLnN1YnVyYmFuY29tcHV0ZXJzZXJ2aWNlLmNvbSIsbm9uY2U9IkZkRkljOGxZcldSQk9GWGFhS1RpZDNOc1oxeHRLaXRkbVdTdktqL2IiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9IlR1cmJvbWFuQHN1YnVyYmFuY29tcHV0ZXJzZXJ2aWNlLmNvbSIscmVhbG09ImVudDIwMDhyMi0xdm0xLnN1YnVyYmFuY29tcHV0ZXJzZXJ2aWNlLmNvbSIsbm9uY2U9IkZkRkljOGxZcldSQk9GWGFhS1RpZDNOc1oxeHRLaXRkbVdTdktqL2IiLGNub25jZT0iYjU2YjJjMzVmZTdhYWIyOWE2Nzc0MTFkYjk2N2NhYTMwM2Q5ZDI0ZTZmODg0NDhmMTBmM2RlZmRkMjdhNDJmMyIsbmM9MDAwMDAwMDEscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC9lbnQyMDA4cjItMXZtMSIsY2hhcnNldD11dGYtOCxyZXNwb25zZT0xYmQ1ZTJjZDBlYzc1NTMxN2ZiYjM0YzQ5ZDFiYTFmZA==</response>
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<not-authorized />
</failure>
SEND: </stream:stream>
RECV: </stream:stream>
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="machinename" version="1.0" >
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="machinename.domain.com" id="5cfc1a97" xml:lang="en" version="1.0" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>DIGEST-MD5</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>ANONYMOUS</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" />
<register xmlns="http://jabber.org/features/iq-register" />
</stream:features>
SEND: <auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImVudDIwMDhyMi0xdm0xLnN1YnVyYmFuY29tcHV0ZXJzZXJ2aWNlLmNvbSIsbm9uY2U9IkZkRkljOGxZcldSQk9GWGFhS1RpZDNOc1oxeHRLaXRkbVdTdktqL2IiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9IlR1cmJvbWFuQHN1YnVyYmFuY29tcHV0ZXJzZXJ2aWNlLmNvbSIscmVhbG09ImVudDIwMDhyMi0xdm0xLnN1YnVyYmFuY29tcHV0ZXJzZXJ2aWNlLmNvbSIsbm9uY2U9IkZkRkljOGxZcldSQk9GWGFhS1RpZDNOc1oxeHRLaXRkbVdTdktqL2IiLGNub25jZT0iYjU2YjJjMzVmZTdhYWIyOWE2Nzc0MTFkYjk2N2NhYTMwM2Q5ZDI0ZTZmODg0NDhmMTBmM2RlZmRkMjdhNDJmMyIsbmM9MDAwMDAwMDEscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC9lbnQyMDA4cjItMXZtMSIsY2hhcnNldD11dGYtOCxyZXNwb25zZT0xYmQ1ZTJjZDBlYzc1NTMxN2ZiYjM0YzQ5ZDFiYTFmZA==</response>
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<not-authorized />
</failure>
SEND: </stream:stream>
RECV: </stream:stream>