<?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: rsdoc error 401 in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349283#M102</link>
    <description>&lt;P&gt;The last option is what works, just the key, no quotes. That said, the log can return a huge amount of data and may not be a good test. Try /licenses/installid. Don't forget to click the Explore button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I use a slightly different authentication string. Your is working, so I don't think that is the issue. But it may be worth a try:&amp;nbsp;{"login":{"user":"sdn","password":"skyline"}}&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2014 19:59:27 GMT</pubDate>
    <dc:creator>EricAtHP</dc:creator>
    <dc:date>2014-01-24T19:59:27Z</dc:date>
    <item>
      <title>rsdoc error 401</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349119#M97</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;after&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;insert the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;token&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;appears&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the error&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;401&lt;/SPAN&gt; in &lt;SPAN class="hps"&gt;all options&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;what &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;can&lt;/SPAN&gt; I &lt;SPAN class="hps"&gt;do to fix&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="Screenshot from 2014-01-24 12:15:24.png" border="0" alt="Screenshot from 2014-01-24 12:15:24.png" align="middle" src="https://community.hpe.com/t5/image/serverpage/image-id/36145i8981294E95B500BB/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="Screenshot from 2014-01-24 12:30:25.png" border="0" alt="Screenshot from 2014-01-24 12:30:25.png" align="middle" src="https://community.hpe.com/t5/image/serverpage/image-id/36147i3E8B23EF17AA9626/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 17:32:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349119#M97</guid>
      <dc:creator>armandom</dc:creator>
      <dc:date>2014-01-24T17:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: rsdoc error 401</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349131#M98</link>
      <description>&lt;P&gt;Try 2 things. 1, enter the token without the quotes. 2, make sure you click the Explore button after pasting the token.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 17:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349131#M98</guid>
      <dc:creator>EricAtHP</dc:creator>
      <dc:date>2014-01-24T17:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: rsdoc error 401</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349237#M99</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hps"&gt;I tried&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps atn"&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;token&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;": "&lt;/SPAN&gt;&lt;SPAN&gt;da37e73d79974b8bac4043a3719cac8d&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps atn"&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;da37e73d79974b8bac4043a3719cac8d&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;da37e73d79974b8bac4043a3719cac8d&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;doesn't work&amp;nbsp; :(&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 24 Jan 2014 18:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349237#M99</guid>
      <dc:creator>armandom</dc:creator>
      <dc:date>2014-01-24T18:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: rsdoc error 401</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349283#M102</link>
      <description>&lt;P&gt;The last option is what works, just the key, no quotes. That said, the log can return a huge amount of data and may not be a good test. Try /licenses/installid. Don't forget to click the Explore button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I use a slightly different authentication string. Your is working, so I don't think that is the issue. But it may be worth a try:&amp;nbsp;{"login":{"user":"sdn","password":"skyline"}}&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 19:59:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6349283#M102</guid>
      <dc:creator>EricAtHP</dc:creator>
      <dc:date>2014-01-24T19:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: rsdoc error 401</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6354339#M105</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Thanks for your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;As per the HP VAN SDN Controller REST API Guide.pdf[page 28] ,Response Code 200 is OK i.e. Normal. For Log REST API Response data is an application/octet stream of the zip file containing the controller(s)'s logs.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Here API is running fine (since Response Code 200) . Since response data is an application/octet stream so there is some “unable to parse as json” message.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;The preferred way to get the logs would be through the GUI (See attached screenshot).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Another way would be to directly use curl command and redirect output using linux “&amp;gt;” command as follows:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;curl --noproxy [Controller IP] --header "X-Auth-Token:[Auth-Token-Value]" --fail -ksS -L –f --request GET --url "https://[Controller IP]/sdn/v2.0/logs/local"&amp;nbsp; &amp;gt; logs.zip&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;'Please let us know if this answers your question by marking this response as an 'accepted solution’ or if it has been helpful click on the purple star to the left to give me kudos'.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;HP SDN Team&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 15:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6354339#M105</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-03-05T15:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: rsdoc error 401</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6355043#M106</link>
      <description>&lt;P&gt;Hi thanks for your answers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;today it worked after reinstalling $ bin / install-sdk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAMH&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2014 23:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rsdoc-error-401/m-p/6355043#M106</guid>
      <dc:creator>armandom</dc:creator>
      <dc:date>2014-01-28T23:33:37Z</dc:date>
    </item>
  </channel>
</rss>

