AnsweredAssumed Answered

Finesse connect with thick client

Question asked by yogeshkumarlog on Sep 10, 2014
Latest reply on Sep 25, 2014 by lohjintiam

Hi All,

I know this might be little out of the scope of this forum but any help will really be appreciated.

 

I am trying to connect my C# application to Finesse XMPP server but keep getting error.

I am using jabber-net library to connect. Following is the snippet from the pidgin which is working fine for me:

pidgin.png

Now to connect with c# code, following is the code:

jabberClient.Password = "myPass";

jabberClient.User = "9001";

jabberClient.AutoRoster = true;

jabberClient.Server = "FinesseLab.com";

jabberClient.NetworkHost = "Some_IP";

jabberClient.Port = 5222;

jabberClient.PlaintextAuth = true;

jabberClient.Resource = "pidgin2";

jabberClient.AutoLogin = true;

jabberClient.Connect();

 

I am able to get onConnect event but after that I get following error:

{jabber.connection.sasl.AuthenticationFailedException: Error binding resource: <error type="modify" code="400"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error>}


Where is the mistake? how I get all the events? do I need to change my library?

Outcomes