Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

SASLError using DIGEST-MD5: not-authorized on Smack 4.1

$
0
0

I have a project about chat app in school and I've already searched alot on stackoverflow and in this forum, but I couldn't find the solution.

Here is my code:

 

What I did try:

1. Login with just name (not include domain)

2. Set Service using domain (failed connection)

3.Try to set SASLMechanism but there is not method SASLAuthentication.supportSASLMechanism("PLAIN",0); in smack 4.1

4. Try to use openfire 3.10 beta ( failed can not login with other app such as : XABBER..)

5.Password to login is correct (100% sure)

 

Please help me because the deadline for this project is due soon. The document for 4.1 is wrong, out-of-date, take me alot of time to fix the error. Do you have any example to learn Smack ?

Thanks


Viewing all articles
Browse latest Browse all 4979

Trending Articles