Subject: unable to connect using bosh
Hi,
I'm unable to connect to openfire using bosh with Matrix. Below the xmpp trace when I try to connect.
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" >
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" id="hewsq8b57b326" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>PLAIN</mechanism>
</mechanisms>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" />
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</stream:features>
SEND: </stream:stream>
It looks like Matrix never sends the login information.
Any suggestion?
Thanks,
Benoit
EDIT: I receive the OnBeforeSasl event followed by 3 OnError events. 2 times BoshException "The remote server returned an error: (404) Not Found." and one time "The request was aborted: The request was canceled.". I know for a fact that the server is online as I'm able to connect to it with the smack java library using similar settings.
EDIT2:
If I set the xmpp domain, it sends the auth message followed by similar BoshExceptions as well as an OnClose event.
SEND: <auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">xxxxxx</auth>
Also, does the library automatically send iq's/presence?
I'm unable to connect to openfire using bosh with Matrix. Below the xmpp trace when I try to connect.
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" >
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" id="hewsq8b57b326" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>PLAIN</mechanism>
</mechanisms>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" />
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</stream:features>
SEND: </stream:stream>
It looks like Matrix never sends the login information.
Any suggestion?
Thanks,
Benoit
EDIT: I receive the OnBeforeSasl event followed by 3 OnError events. 2 times BoshException "The remote server returned an error: (404) Not Found." and one time "The request was aborted: The request was canceled.". I know for a fact that the server is online as I'm able to connect to it with the smack java library using similar settings.
EDIT2:
If I set the xmpp domain, it sends the auth message followed by similar BoshExceptions as well as an OnClose event.
SEND: <auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">xxxxxx</auth>
Also, does the library automatically send iq's/presence?