Project

General

Profile

Bug #378

SASL authentication DIGEST-MD5 failed: not-authorized:

Added by Anonymous over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
XMPP
Target version:
-
Start date:
12/12/2011
Due date:
% Done:

0%

Estimated time:
Affected version:
0.1.6
Locale:
Close

Description

Using BEEM - Android XMPP, when try to connect to chat.facebook.com at port 5222 with user name gives exception.

12-12 15:02:09.086: ERROR/XMPPConnectionAdapter(4925): Error while connecting
12-12 15:02:09.086: ERROR/XMPPConnectionAdapter(4925): SASL authentication DIGEST-MD5 failed: not-authorized:
12-12 15:02:09.086: ERROR/XMPPConnectionAdapter(4925): at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:337)
12-12 15:02:09.086: ERROR/XMPPConnectionAdapter(4925): at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:230)
12-12 15:02:09.086: ERROR/XMPPConnectionAdapter(4925): at com.beem.project.beem.service.XmppConnectionAdapter.login(XmppConnectionAdapter.java:242)
12-12 15:02:09.086: ERROR/XMPPConnectionAdapter(4925): at com.beem.project.beem.service.LoginAsyncTask.doInBackground(LoginAsyncTask.java:100)
12-12 15:02:09.086: ERROR/XMPPConnectionAdapter(4925): at com.beem.project.beem.service.LoginAsyncTask.doInBackground(LoginAsyncTask.java:1)


Files

beep.log (3.17 KB) beep.log Naveed Iqbal, 12/16/2011 11:04 AM

Related issues

Has duplicate Bug #379: SASL authentication DIGEST-MD5 failed: not-authorized: ClosedFrédéric Barthéléry12/12/2011

Actions
#1

Updated by Frédéric Barthéléry over 12 years ago

I don't remember if Facebook use the entire jid as username. Can you try again using the 'use the entire jid' option in the advanced settings ? If it doesn't work activate the smack debugger and send us the log.

#2

Updated by Naveed Iqbal over 12 years ago

I have tried to enable the JID from settings but the exception remains. I have enabled the XMPP Debug to YES, but cannot find where the log file is generated. I am running BEEM Project in Android emulator. Can you guide me where I can find the log file when in emulator.

Regards,
Naveed

#3

Updated by Frédéric Barthéléry over 12 years ago

The log is available under logcat. The tag SMACK is used and show every xmpp packet sent and received.

#4

Updated by Naveed Iqbal over 12 years ago

I have activated the Smack debugger option and filtered the log of emulator by word SMACK. The log is attached.

#5

Updated by Frédéric Barthéléry over 12 years ago

  • Status changed from New to Feedback

I just completed the FAQ page to add informations on how to login with your facebook account. Can you please give it a try and if it doesn't work send the SMACK log again ?

In the beep.log file, I can see that you use the full JID to authenticate which is bad for facebook.
Note that you must have a facebook username to login with Beem

#6

Updated by Naveed Iqbal about 12 years ago

I have used Facebook username to login with Beem and it now Login successfully.

Thank you for helping me out in this problem.

Regards,

Naveed

#7

Updated by Frédéric Barthéléry about 12 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF