cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1359
Views
0
Helpful
4
Replies

https://sandbox-nxos-1.cisco.com 502 Bad Gateway

jdrury73
Level 1
Level 1

I am trying to get to https://sandbox-nxos-1.cisco.com/visore.html to get some hands on practice with the NX-OS API REST. I've tried FireFox and Chrome, same results. I am pretty sure that the URL worked fine 2 days ago when I was working with the API CLI.

4 Replies 4

@jdrury73 looks good today.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

I can get to the NX-API Sandbox now, however I get a 401 Authorization Required when I try to post a command. I am logged in as Admin.

 

{
  "ins_api": {
    "version": "1.0",
    "type": "cli_show",
    "chunk": "0",
    "sid": "sid",
    "input": "sh ip int br",
    "output_format": "json"
  }
}

 

<html>
<head><title>401 Authorization Required</title></head>
<body bgcolor="white">
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.7.10</center>
</body>
</html>

 

 

Your initial post showed you trying to access Visore, not the API sandbox. 

rgarzari@cisco.com
Cisco Employee
Cisco Employee

For those of you running into the issues mentioned in this post, try disabling and reenabling the nxapi feature

 

no feature nxapi

feature nxapi

 

If that doesn't work, try logging out of the NX-API sandbox and logging back in.