01-11-2022 08:15 PM
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'
>>>
Solved! Go to Solution.
01-12-2022 02:42 AM
recovered.
01-12-2022 02:27 AM
https://sandboxapicdc.cisco.com 502 Bad Gateway
Hello everyone! Who can fix it?
01-12-2022 02:42 AM
recovered.
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