Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
hega72 #1
Member since Aug 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: ejabberd login
Hi all,
I made a quick test against an old jabber 1.something - no Problems; everything went fine.
Then I set up an ejabberd on a debian etch.
And now I cannot authenticate anymore it seems.
the code is:
public void start()
        {
            Console.WriteLine("trying login to " + Server + " with user " + Username + " and password " + Password);
            this.ConnectServer = this.Server;
            this.UseStartTLS = false;
            this.UseSSL = false;
            this.UseCompression = false;
            //this.StreamVersion = "1.0";

            this.OnReadXml += new agsXMPP.XmlHandler(XmppComBase_OnReadXml);

            this.OnWriteXml += new agsXMPP.XmlHandler(XmppComBase_OnWriteXml);
            this.Open(this.Username, this.Password);

        }
and I get:
trying login to omnisync.de with user heiko@omnisync.de and password xxxx
entered infinite loop... waiting for user termination
SENT: <stream:stream to='omnisync.de' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="1278563128" xml:lang="en" from="omnisync.de" version="1.0" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" /><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register" /></stream:features>
SENT: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">bm9uY2U9IjM0MTcyNTA0NjQiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
fcaf05eb1fbb5d24205d107ee8c88b00
SENT: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9ImhlaWtvQG9tbmlzeW5jLmRlIixyZWFsbT0iIixub25jZT0iMzQxNzI1MDQ2NCIsY25vbmNlPSIxYzM0M2M0NzllZmEzNjdlNjEwYzhiYjI0NzQxZWE5YjE4NWJhOTIyZjJmMTUwM2M5YzU3MDdjMDFiMTAzZDMzIixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwL29tbmlzeW5jLmRlIixjaGFyc2V0PXV0Zi04LHJlc3BvbnNlPTI4Yzc4YjgxYWY2ZGNjZWViMjhlMmJmMTUzMWZkOTFj</response>
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure>
( password is changed )

Thanks in advance
Avatar
hega72 #2
Member since Aug 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: sorry ...
this should go to the agsXMPP SDK Forum
Avatar
Alex #3
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
there must be something wrong with your server setup. We use agsXMPP with ejabberd servers all day.
There error is an authentication problem.

Alex
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
did you configure the XMPP domain in your server correct? The XMPP domain is part of the SASL Digest-MD5 authentiation and very important.

Alex
Avatar
hega72 #5
Member since Aug 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
Thanks for your quick reply. I believe you where right. I reinstalled the server simply and reconfigured the users, now its working just fine.
Thanks again
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: agsXMPP RSS