<?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: API keep-alive questions in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537341#M1399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on PI 3.1 however when I'm running several calls at once i'm getting a 503 and 401 error. I've upped the concurrent threshold by 2 and still experiencing the problem. Any idea what's the culprit or info you'd like me to send to you? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2016 17:39:11 GMT</pubDate>
    <dc:creator>eric.yue</dc:creator>
    <dc:date>2016-11-18T17:39:11Z</dc:date>
    <item>
      <title>API keep-alive questions</title>
      <link>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537339#M1397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When can we expect support for keep-alive? Most rest clients is natively supporting keep-alive by default. I'm running blockers where I'm hitting concurrent call limits despite doubling the default value. I'm pulling performance data through a series of get calls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also unable to find a way to disable keep alive with the rest client I'm using which is ruby gem called rest-client (&lt;A href="https://github.com/rest-client/rest-client" title="https://github.com/rest-client/rest-client"&gt;GitHub - rest-client/rest-client: Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying…&lt;/A&gt;). Any help would be appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 22:01:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537339#M1397</guid>
      <dc:creator>eric.yue</dc:creator>
      <dc:date>2016-11-16T22:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: API keep-alive questions</title>
      <link>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537340#M1398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We resolved the issue that we had with sessions not being cleaned up in PI 3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often, sending the "Connection: close" header in the request will disable persistent connections in your client, if you're using a version prior to 3.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 16:53:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537340#M1398</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2016-11-18T16:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: API keep-alive questions</title>
      <link>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537341#M1399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on PI 3.1 however when I'm running several calls at once i'm getting a 503 and 401 error. I've upped the concurrent threshold by 2 and still experiencing the problem. Any idea what's the culprit or info you'd like me to send to you? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 17:39:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537341#M1399</guid>
      <dc:creator>eric.yue</dc:creator>
      <dc:date>2016-11-18T17:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: API keep-alive questions</title>
      <link>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537342#M1400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 503 error is a rate limiting error.&amp;nbsp; &lt;A href="https://developer.cisco.com/media/prime-infrastructure-api-reference-v3-1/192.168.115.187/webacs/api/v1/index6945.html?id=rate-limiting-doc"&gt;Rate limiting is configurable&lt;/A&gt;.&amp;nbsp; If you're seeing intermittent 401s on PI 3.1, the only thing that comes to mind is an external AAA provider (TACACS, RADIUS, SSO, etc.).&amp;nbsp; &lt;A href="https://developer.cisco.com/media/prime-infrastructure-api-reference-v3-1/192.168.115.187/webacs/api/v1/index4fcb.html?id=faq#acs"&gt;See our FAQ item about that&lt;/A&gt;.&amp;nbsp; I did improve some of the stability around external AAA in 3.1.4, so if you haven't, please install that patch.&amp;nbsp; But even then, if there's too much latency or instability in the connection between PI and the external AAA, 401 and 403 errors will occur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 19:30:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537342#M1400</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2016-11-18T19:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: API keep-alive questions</title>
      <link>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537343#M1401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Spencer for the info. I've managed to work around the 401's combining several calls into one function in my script through I noticed it's better to give a few second in between each call as well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 21:03:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/api-keep-alive-questions/m-p/3537343#M1401</guid>
      <dc:creator>eric.yue</dc:creator>
      <dc:date>2016-11-23T21:03:31Z</dc:date>
    </item>
  </channel>
</rss>

