This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
3,965 Views 4 Replies Last post: Feb 11, 2009 1:18 AM by nishantsuneja123 RSS
Bronze 33 posts since
Mar 11, 2003
Currently Being Moderated

Aug 20, 2007 1:39 PM

SASL plain authentication -> No response from the server (smack 3.0.4)

Hi,

 

i have read a couple of threads about gmail authentication (![http://www.igniterealtime.org/issues/images/icons/bug.gif!] SMACK-224 - related) - but it didn't help me unfortunately ..

i'm trying to authenticate with gmx (gmx.at) but no combination of sasl authentication, plain sasl authentication, non-sasl authentication, security mode disabled, enabled, etc. seems to work

 

packets sent:

tag .. - but maybe it simply uses another auth protocol .. i have no idea about that stuff unfortunately )

 

thanks,

  herbert

  http://goim2.sphene.net

Tags: gmx, sasl, authentication, goim
Sabine Dinis Blochberger Gold 285 posts since
Oct 21, 2005
Currently Being Moderated
Aug 27, 2007 4:25 AM in response to: Herbert Poul
Re: SASL plain authentication -> No response from the server (smack 3.0.4)

What are you trying to do? I use gmx for email, and I'm not aware that they provide a XMPP (jabber) service at all (and I went to look again).

 

You can't send/receive emails with smack.

Sabine Dinis Blochberger Gold 285 posts since
Oct 21, 2005
Currently Being Moderated
Aug 28, 2007 4:11 AM in response to: Herbert Poul
Re: SASL plain authentication -> No response from the server (smack 3.0.4)

Hah, you learn something new everyday.

 

Ok, to connect using plain-text and no SASL, I use


// turn off SASL
conConfig.setSASLAuthenticationEnabled(false);
// allow plain text
conConfig.setSecurityMode(
    ConnectionConfiguration.SecurityMode.enabled);

 

And you say you tried it... All that's left is to ask the guys that run the server at GMX...

I still can't find any trace of it on GMX, is it about the MultiMessenger? In which case they might be adapting the protocol to a more proprietary thing...

 

On heise.de, the commentaries mention it only works with new email accounts, not old ones.

nishantsuneja123 Bronze 5 posts since
Jan 23, 2009

I am already using the settings which you mentioned here.I am using smack 3.1.0. However, while authenicating with NonSASLAuthentication.authenticate() method, i get this message of "No response from the server." after the IQ packet is sent to get the list of authentication protocols. What could be the problem ?  

// turn off SASL
conConfig.setSASLAuthenticationEnabled(false);

// allow plain text
conConfig.setSecurityMode(     ConnectionConfiguration.SecurityMode.enabled);

More Like This

  • Retrieving data ...

Bookmarked By (0)