<?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 /ping &amp;quot;liveness check&amp;quot; fails in APIs</title>
    <link>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884151#M557</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;H3&gt;
&lt;A name="ping-1" class="anchor" href="#ping-1"&gt;&lt;/A&gt;/ping&lt;/H3&gt;
&lt;P&gt;The &lt;CODE&gt;/ping&lt;/CODE&gt; endpoint acts as a “liveness check” that can be called to verify that Duo is up before trying to call other Auth API endpoints. Unlike the other endpoints, this one does &lt;STRONG&gt;not&lt;/STRONG&gt; have to be signed with the &lt;A href="https://duo.com/docs/authapi#authentication" rel="noopener nofollow ugc"&gt;Authorization header&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;we made a simple  call to:&lt;/P&gt;
&lt;P&gt;https://api-***&lt;STRONG&gt;a&lt;/STRONG&gt;.duosecurity.com/auth/v2/ping/&lt;/P&gt;
&lt;P&gt;and get a response of&lt;/P&gt;
&lt;P&gt;{“code”: 40401, “message”: “Resource not found”, “stat”: “FAIL”}&lt;/P&gt;
&lt;P&gt;Any simple advice? I can’t think of a more basic call than to see if DUO is running?&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 18 Feb 2022 01:12:43 GMT</pubDate>
    <dc:creator>tomkat1</dc:creator>
    <dc:date>2022-02-18T01:12:43Z</dc:date>
    <item>
      <title>/ping "liveness check" fails</title>
      <link>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884151#M557</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;H3&gt;
&lt;A name="ping-1" class="anchor" href="#ping-1"&gt;&lt;/A&gt;/ping&lt;/H3&gt;
&lt;P&gt;The &lt;CODE&gt;/ping&lt;/CODE&gt; endpoint acts as a “liveness check” that can be called to verify that Duo is up before trying to call other Auth API endpoints. Unlike the other endpoints, this one does &lt;STRONG&gt;not&lt;/STRONG&gt; have to be signed with the &lt;A href="https://duo.com/docs/authapi#authentication" rel="noopener nofollow ugc"&gt;Authorization header&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;we made a simple  call to:&lt;/P&gt;
&lt;P&gt;https://api-***&lt;STRONG&gt;a&lt;/STRONG&gt;.duosecurity.com/auth/v2/ping/&lt;/P&gt;
&lt;P&gt;and get a response of&lt;/P&gt;
&lt;P&gt;{“code”: 40401, “message”: “Resource not found”, “stat”: “FAIL”}&lt;/P&gt;
&lt;P&gt;Any simple advice? I can’t think of a more basic call than to see if DUO is running?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2022 01:12:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884151#M557</guid>
      <dc:creator>tomkat1</dc:creator>
      <dc:date>2022-02-18T01:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: /ping "liveness check" fails</title>
      <link>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884152#M558</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;So the documentation is incorrect, the ping does require headers.&lt;BR /&gt;
if that helps anyone else, great!&lt;/P&gt;
&lt;P&gt;Have a great day&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2022 02:55:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884152#M558</guid>
      <dc:creator>tomkat1</dc:creator>
      <dc:date>2022-02-18T02:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: /ping "liveness check" fails</title>
      <link>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884153#M559</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi &lt;A class="mention" href="https://community.duo.com/u/tomkat"&gt;@tomkat&lt;/A&gt; ,&lt;/P&gt;
&lt;P&gt;I just tested the &lt;CODE&gt;/ping&lt;/CODE&gt; endpoint using Postman and it works without Authorization Headers. You might try to navigate to your Duo tenant URL in a browser (https://api-*** &lt;STRONG&gt;a&lt;/STRONG&gt; .duosecurity.com/auth/v2/ping) and also try without your specific Duo DNS name as mentioned in  &lt;A href="https://help.duo.com/s/article/1336" rel="noopener nofollow ugc"&gt;https://help.duo.com/s/article/1336&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2022 19:39:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884153#M559</guid>
      <dc:creator>DuoPablo</dc:creator>
      <dc:date>2022-02-18T19:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: /ping "liveness check" fails</title>
      <link>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884154#M560</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;My esteemed colleague &lt;A class="mention" href="https://community.duo.com/u/duopablo"&gt;@DuoPablo&lt;/A&gt;’s suggestion is a good one. I just wanted to add that if you did include the trailing slash shown in the original post, that does indeed fail.&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;/auth/v2/ping&lt;/CODE&gt; = 200 OK&lt;BR /&gt;
&lt;CODE&gt;/auth/v2/ping/&lt;/CODE&gt; = 40401&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2022 19:43:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884154#M560</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2022-02-18T19:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: /ping "liveness check" fails</title>
      <link>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884155#M561</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Thank you my friend, the trailing / was the issue!&lt;/P&gt;
&lt;P&gt;It is always the simple things that suck the life out of you LOL&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2022 23:09:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/ping-quot-liveness-check-quot-fails/m-p/4884155#M561</guid>
      <dc:creator>tomkat1</dc:creator>
      <dc:date>2022-02-18T23:09:46Z</dc:date>
    </item>
  </channel>
</rss>

