08-06-2021 05:59 PM
Hi folks,
Trying to do RESTCONF calls on the "IOS XE on CSR Recommended Code AlwaysOn" sandbox, but it is throwing a 502 error:
$ curl --location --request GET 'https://sandbox-iosxe-recomm-1.cisco.com:443/restconf/data/ietf-yang-library:modules-state' -k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 174 100 174 0 0 50 0 0:00:03 0:00:03 --:--:-- 51<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.13.12</center>
</body>
</html>
Given this is a 502 error, I don't think there is anything I can do on my end to make this work. Can someone who is responsible for this sandbox take a look at this problem?
Thanks,
-Bo
08-07-2021 12:29 AM
@00u1b7cp7lVuPUoXY5d7 this was raised with the team to look at - unsure why this image throws an error with RESTCONF. Use this sandbox instead https://devnetsandbox.cisco.com/RM/Diagram/Index/7b4d4209-a17c-4bc3-9b38-f15184e53a94?diagramType=Topology
Hope this helps.
08-07-2021 11:15 AM
Hi, I had the same problem since a while, thanks a lot for providing workaround.
Best,
Alex
08-07-2021 11:46 AM
Yes, thanks for providing this. Hopefully the other one can be fixed, but this should work for now!
-Bo
02-10-2025 04:05 PM
I had the same issue. I figured it out that if you turn off ip http server that it will start working again
Cat8000V#sh run | i http
no ip http server
V.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide