Error not-authorized(401) during login

Hi,

when trying to connect i get the following error at con.login(); :

09-21 11:05:42.305: WARN/Jabber.Connect: Login(1271): not-authorized(401)

heres the code:

ConnectionConfiguration connConfig = new ConnectionConfiguration(host, Integer.parseInt(port));

connConfig.setSecurityMode(ConnectionConfiguration.SecurityMode.enabled);

connConfig.setSASLAuthenticationEnabled(false);

con = new XMPPConnection(connConfig);

con.connect();

con.login(m_username, m_password)

Invalid username or password maybe?

nope, i checked user details several times. login is working from within another client.

Edit: Target is Android