Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
AK80 #1
Member since Jan 2014 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Is there a way to disable "key sequencing mechanism" in BOSH?
Is there a way to disable "key sequencing mechanism" in BOSH?

I'm connecting to ejabberd and sometimes the server returns "item-not-found", in the ejabberd's log there is "bad_key" error.

It seems to be a server-side problem and I need a workaround.
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
there is not, because without the key sequencing you don't have security in BOSH.

Alex
Avatar
AK80 #3
Member since Jan 2014 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thank you for your answer,

using ssl "key sequencing" is still active?
Avatar
Alex #4
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
yes its also enabled with SSL. When required I can take a look if there is an easy way for us to disable it with a new property.

Alex
Avatar
Alex #5
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I have uploaded a new release 1.5.5.4. There you can disable the key sequencing now with the following code in the OnCreateBoshSession event:

  1. private void xmppClient_OnCreateBoshSession(object sender, Matrix.Net.BoshSessionRequestEventArgs e)
  2. {
  3.    e.Secure = false;
  4. }

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS