Hello!
I installed open fire server on my computer and created user accounts on it. I
can connect to server by qip infinum, but I can't connect from C# code.
What steps will reproduce the problem?
I'm using following code:
jabberClient1 = new JabberClient();
jabberClient1.OnMessage += new MessageHandler(jabberClient1_OnMessage);
jabberClient1.OnDisconnect += new bedrock.ObjectHandler(jabberClient1_OnDisconnect);
jabberClient1.OnError += new bedrock.ExceptionHandler(jabberClient1_OnError);
jabberClient1.OnAuthError += new jabber.protocol.ProtocolHandler(jabberClient1_OnAuthError);
jabberClient1.User = @"admin@zev";
jabberClient1.Server = server;
jabberClient1.Password = pwd;
jabberClient1.AutoRoster = true;
jabberClient1.AutoReconnect = 30F;
jabberClient1.AutoStartCompression = true;
jabberClient1.AutoStartTLS = true;
jabberClient1.KeepAlive = 30F;
jabberClient1.LocalCertificate = null;
PresenceManager pm = new PresenceManager();
pm.Stream = jabberClient1;
RosterManager rm = new RosterManager();
rm.Stream = jabberClient1;
rm.AutoSubscribe = true;
rm.AutoAllow = jabber.client.AutoSubscriptionHanding.AllowAll;
jabberClient1.OnAuthenticate += new bedrock.ObjectHandler(jabberClient1_OnAuthenticate);
jabberClient1.Connect();
Thread.Sleep(1000000);
When I start application I see a window with invalid certificate request
(because it is my own certificate). I choose "allow once" and after several
seconds it's fired OnError event with Exception parameter "Error binding
resource: <error type=\"modify\" code=\"400\"><bad-request
xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\" /></error>"
On the server side I get message in the log in the warning section:
"2011.06.05 18:24:38 User tried to authenticate with this server using an
unknown receipient: <iq id="JN_1" type="set" to="195.128.96.27"
from="zev/fd1fa30f"><bind
xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>Jabber.Net</resource></bind><
/iq>
"
What is the expected output? What do you see instead?
I expect successfull authentification and firing OnAuthError event.
What version of the product are you using? On what operating system?
I use 2.1.0.710 version of jabber-net and Windows 7 Pfofessional OS.
Original issue reported on code.google.com by SergLett...@gmail.com on 5 Jun 2011 at 2:35
Original issue reported on code.google.com by
SergLett...@gmail.com
on 5 Jun 2011 at 2:35