Introduction
This document describes solution to jabber for android login failure when the CUPS cluster is configured using hostname under system à Server configuration.
Components Used
- Cisco Jabber for Android
- Cisco Unified Presence / Cisco Unified IM and Presence
Problem
Jabber for android fails to login with the error message “The username or password is invalid or the user account is inactive”. The same user can login to Jabber Windows, MAC and iOS with no issues.
From Jabber Problem Report:
Name resolution for the server fails to resolve:
08-26 12:55:26.623 7959 9004 W : WARN [0x5ae1d1c8][sets/adapters/imp/components/Log.cpp(34)] [JabberWerx] [log] - [MMTP]:CCmDnsManager::DoGetHostByName_l, tp_gethostbyname() failed. host=CCO-CUPS-UCIS-S-002err=2 this=0x5ac79a48
Solution
There is a known issue with the Android OS where it cannot resolve hostnames only addresses. Android can access IP addresses and FQDN’s with no issues. Also, this problem would only be present for the Android devices, Windows, MAC and iOS devices would not be affected by this problem. The workaround for this would be to change the server names to either FQDN or IP Address in the Cluster Topology page (or) System -- Server in CUCM for 10.x
Note:
Restart below services in sequence to have the changes with hostname / ip address / FQDN in the cluster topology to get applied.
- Cisco XCP Config Manager
- Cisco XCP Router
Reference:
https://code.google.com/p/android/issues/detail?id=8030