<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Prime Infrastructure v2.2 REST API 401 Unauthorized error in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/prime-infrastructure-v2-2-rest-api-401-unauthorized-error/m-p/3472481#M1228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're seeing intermittent 401 errors, there are two probable causes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, check to make sure that you're not using persistent connections (which means sending the "Connection: keep-alive" header).&amp;nbsp; Many clients will use persistent connections by default.&amp;nbsp; You can either disable the persistent connection option in your client, or send the "Connection: close" header.&amp;nbsp; See the &lt;A href="https://developer.cisco.com/media/prime-infrastructure-api-reference-v3-0/192.168.115.187/webacs/api/v1/index4fcb.html?id=faq#persistent-connections"&gt;relevant FAQ item&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, if you have TACACS or some other non-local AAA provider configured on your Prime Infrastructure appliance, then timeouts between Prime and the AAA provider can result in 401 errors.&amp;nbsp; In this case, try increasing the retry count and timeout configured in Prime Infrastructure&amp;nbsp; To accomplish this, navigate to Administration &amp;gt; Users &amp;gt; User, Roles &amp;amp; AAA.&amp;nbsp; Then select either RADIUS, SSO, or TACACS, depending on which you use.&amp;nbsp; Edit the server(s) and increase the retry, timeout, or both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If neither of these cases applies to you, or you are still having problems after following the above, then please reach out and we can take a deeper look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2016 19:13:48 GMT</pubDate>
    <dc:creator>Spencer Zier</dc:creator>
    <dc:date>2016-02-22T19:13:48Z</dc:date>
    <item>
      <title>Prime Infrastructure v2.2 REST API 401 Unauthorized error</title>
      <link>https://community.cisco.com/t5/controllers/prime-infrastructure-v2-2-rest-api-401-unauthorized-error/m-p/3472480#M1227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;Hi, Using Prime Infrastructure v2.2 REST API &lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;ClientSessions. Every once in while I run into 401 Unauthorized error. Is there a downtime when this API service cannot be called?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 17:31:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/prime-infrastructure-v2-2-rest-api-401-unauthorized-error/m-p/3472480#M1227</guid>
      <dc:creator>praveen.batchu1</dc:creator>
      <dc:date>2016-02-22T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Prime Infrastructure v2.2 REST API 401 Unauthorized error</title>
      <link>https://community.cisco.com/t5/controllers/prime-infrastructure-v2-2-rest-api-401-unauthorized-error/m-p/3472481#M1228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're seeing intermittent 401 errors, there are two probable causes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, check to make sure that you're not using persistent connections (which means sending the "Connection: keep-alive" header).&amp;nbsp; Many clients will use persistent connections by default.&amp;nbsp; You can either disable the persistent connection option in your client, or send the "Connection: close" header.&amp;nbsp; See the &lt;A href="https://developer.cisco.com/media/prime-infrastructure-api-reference-v3-0/192.168.115.187/webacs/api/v1/index4fcb.html?id=faq#persistent-connections"&gt;relevant FAQ item&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, if you have TACACS or some other non-local AAA provider configured on your Prime Infrastructure appliance, then timeouts between Prime and the AAA provider can result in 401 errors.&amp;nbsp; In this case, try increasing the retry count and timeout configured in Prime Infrastructure&amp;nbsp; To accomplish this, navigate to Administration &amp;gt; Users &amp;gt; User, Roles &amp;amp; AAA.&amp;nbsp; Then select either RADIUS, SSO, or TACACS, depending on which you use.&amp;nbsp; Edit the server(s) and increase the retry, timeout, or both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If neither of these cases applies to you, or you are still having problems after following the above, then please reach out and we can take a deeper look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 19:13:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/prime-infrastructure-v2-2-rest-api-401-unauthorized-error/m-p/3472481#M1228</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2016-02-22T19:13:48Z</dc:date>
    </item>
  </channel>
</rss>

