[jdev] SASL debugging

Vinod Panicker vinod.p at gmail.com
Thu Dec 8 11:11:07 CST 2005

On 12/8/05, Yves Goergen <nospam.list at unclassified.de> wrote:
> Hello everybody,
> I'm trying to create a minimalistic XMPP library in C# (.NET 2.0) and
> did so reading through the according RFCs (XMPP-core and SASL). Stream
> initialisation and TLS already work fine, now I'm stuck with the SASL
> authentication. I have compared my code with another (non-free)
> XMPP/SASL library in C# and it looks as if it does the same. But the
> authentication doesn't work. I have tried with my ejabberd (0.7 or so),
> it just says the authorisation is incorrect. amessage.de doesn't seem to
> support SASL and Google Talk reports an "incorrect-encoding" in my
> <auth/> request. I don't have more accounts. Is there any way I can
> verify my code and find out what the actual problem is? Right now it
> seems I can only check whether it works or not. This is a really bad
> situation for debugging...

Can you provide the stanzas that are being sent back and forth?  Are
you sure you are doing base64 encoding for the SASL data?  Incorrect
encoding typically points to that.


More information about the JDev mailing list