<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Unable to log in as application user using Presence Web Service</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12336150" />
  <subtitle>Unable to log in as application user using Presence Web Service</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12336150</id>
  <updated>2013-06-19T17:53:03Z</updated>
  <dc:date>2013-06-19T17:53:03Z</dc:date>
  <entry>
    <title>Unable to log in as application user using Presence Web Service</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12336149" />
    <author>
      <name>Kelvin Yong</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12336149</id>
    <updated>2013-02-25T06:41:12Z</updated>
    <published>2013-02-25T06:38:24Z</published>
    <summary type="html">Hi,
 
About a month ago, I could log in as an application user using the following command from the terminal.
 
curl -k -X PUT -d '&lt;?xml version="1.0"?&gt;&lt;session&gt;&lt;password&gt;somepassword&lt;/password&gt;&lt;/session&gt;' http://cup9:8082/presence-service/users/kelvinapp/session
 
However, executing the same command this week gives me:
 
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
 &lt;description xmlns="urn:cisco:cup:presence:soap"&gt;
 
 &lt;code&gt;114&lt;/code&gt;
 
 &lt;message&gt;Failed to login user&lt;/message&gt;
 
 &lt;fix&gt;Ensure the login data is valid&lt;/fix&gt;
 
 &lt;/description&gt;
 
I've not changed any settings on the CUPS 9.0. To be sure, I've changed my password, tested with newly created application users with all access groups added, and even re-started the CUPS. And I've tested with the administrator account as well. Nothing works.
 
Tried viewing the logs but it was exactly very helpful.
 
admin:file tail activelog epas/trace/esp/sdi/esp00000026.txt
 
14:04:31.229 |ID(30445) tpi_http.c(695) tpiLoginHandler(): tpiLoginHandler: Failed to login 
 
14:04:35.395 |PID(30397) tpi_sip.c(1277) tpi_login_request(): User is not an App User 
 
14:04:35.395 |ID(30397) tpi_http.c(695) tpiLoginHandler(): tpiLoginHandler: Failed to login 
 
14:05:39.056 |PID(30445) tpi_sip.c(1277) tpi_login_request(): User is not an App User 
 
14:05:39.056 |ID(30445) tpi_http.c(695) tpiLoginHandler(): tpiLoginHandler: Failed to login 
 
 
 
Anyone has a clue how to resolve this? I'm sure the username/password is valid.</summary>
    <dc:creator>Kelvin Yong</dc:creator>
    <dc:date>2013-02-25T06:38:24Z</dc:date>
  </entry>
</feed>

