Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Spark Support
Viewing all articles
Browse latest Browse all 1031

Unknown connection error on trying to connect to Openfire running on Localhost

$
0
0

I am a newuser to Openfire and Spark. I have completed setting up Openfire on my mac localhost and created a new user successfully. I installed Spark and when trying to login with new user credentials with Domain:localhost and Server:localhost as displayed in the below screenshots I keep running into "Unknown connection error .." problem. I have enabled the Smack Debug window and following is its info -

 

Raw packets sent -

 

<stream:stream xmlns='jabber:client' to='localhost' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='admintest@localhost' xml:lang='en'>

<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>

<stream:stream xmlns='jabber:client' to='localhost' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='admintest@localhost' xml:lang='en'>

<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='SCRAM-SHA-1'>biwsbj1hZG1pbnRlc3Qscj0/VCklcUdSaj4lRltAai43fSZfPVEnKGF zPD93d0Fcdw==</auth>

<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Yz1iaXdzLHI9P1QpJXFHUmo+JUZbQGouN30mXz 1RJyhhczw/d3dBXHc1NjgzOWViNC1iZGEwLTQ3YWQtYWNhNC0yMzE4NzdkNmZiMzAscD1sVklSSmh3a3 dhYlJ1NFhOYm9IWHAzNkxtZFk9</response>

<stream:stream xmlns='jabber:client' to='localhost' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='admintest@localhost' xml:lang='en'>

 

Raw packets Received -

 

<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="localhost" id="4emfn1kl9a" xml:lang="en" version="1.0">

<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism >SCRAM-SHA-1</mechanism><mechanism>EXTERNAL</mechanism><mechanism>CRAM-MD5</mech anism><mechanism>DIGEST-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><register xmlns="http://jabber.org/features/iq-register"/></stream:features>

<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="localhost" id="4emfn1kl9a" xml:lang="en" version="1.0"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism >SCRAM-SHA-1</mechanism><mechanism>EXTERNAL</mechanism><mechanism>CRAM-MD5</mech anism><mechanism>DIGEST-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><register xmlns="http://jabber.org/features/iq-register"/></stream:features>

<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj0/VCklcUdSaj4lRltAai43fSZfPVEnKGFzPD 93d0FcdzU2ODM5ZWI0LWJkYTAtNDdhZC1hY2E0LTIzMTg3N2Q2ZmIzMCxzPVVOVDh1L3lZSVNFaE10UU tsSyt4M1Zab0Y3VEVzcDhnLGk9NDA5Ng==</challenge>

<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1FYTBsY283Y2xnaS9CVjdobVJpNUo5S1c3Nl U9</success>

<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="localhost" id="4emfn1kl9a" xml:lang="en" version="1.0"><stream:features><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"><optional/></session><sm xmlns='urn:xmpp:sm:2'/><sm xmlns='urn:xmpp:sm:3'/></stream:features>

 

Screen shots -

 

Below is my Spark connection screenshot

 

Screen Shot 2017-04-13 at 12.50.15 PM.png

 

Below is the advanced section screenshot

 

Screen Shot 2017-04-13 at 12.50.05 PM.png

 

Below is Openfire Server config -

 

Screen Shot 2017-04-13 at 12.50.54 PM.png

 

Please help me resolve this issue


Viewing all articles
Browse latest Browse all 1031

Trending Articles