03-09-2020 02:52 AM - last edited on 05-08-2023 10:42 AM by Paul Zimmerman
Hi,
I am able to execute this script, meaning i am getting the expected output, however wondering why i am getting the error regarding "websocket", what does it mean ?
(py3venv) C:\Users\Nilesh\Documents\aci_auto\acitoolkit\samples>python aci-show-external-networks.py
APIC login username: *****
APIC URL: https://********
APIC Password:
Unable to open websocket connection due to WebSocketException
@Claudia de Luna and @RedNectar your valuable feedback is appreciated.
03-09-2020 03:09 AM
Hi Nilesh,
In the past when I've had websocket exceptions I've had to resolve things like expired or self-signed certificates. To check if its anything to do with SSL you could implement a disable warnings feature to test? Check out "Python disable_warnings". Alternatively you could run your script in Postman and disable SSL to see if the exception error is returned?
03-14-2020 09:23 AM
Thank You for the reply,
checking if this warning is related to SSL certificates and if yes then how to disable it.
02-01-2024 07:48 AM
Has this been resolved? Do you still need help?
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