cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1267
Views
0
Helpful
2
Replies

https://sandboxapicdc.cisco.com 502 Bad Gateway

hidakah
Level 1
Level 1

I try to access the ABC, but it returns 502 Bad Gateway as shown below.

In addition, when I access XYZ with a browser, the same 502 Bad Gateway is returned. 

Could you please check if the APIC simulator is working properly? Thank you very much.

 

>>> import requests
>>> requests.packages.urllib3.disable_warnings()
>>> APIC_URL = "https://sandboxapicdc.cisco.com"
>>> USER = "admin"
>>> PASS = "!v3G@!4@Y"
>>> AUTH_BODY = {"aaaUser": {"attributes": {"name": USER, "pwd": PASS} }  }
>>> LOGIN_URL = APIC_URL + "/api/aaaLogin.json"
>>> session = requests.Session()
>>> response = session.post(url=LOGIN_URL, json=AUTH_BODY, verify=False)
>>> response.status_code
502
>>> response.reason
'Bad Gateway'
>>>

1 Accepted Solution

Accepted Solutions

2 Replies 2

Roman Kim A
Level 1
Level 1

https://sandboxapicdc.cisco.com 502 Bad Gateway

Hello everyone! Who can fix it?

recovered.