cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1561
Views
5
Helpful
3
Replies

acitoolkit WebSocketException

nileshgore25
Level 1
Level 1

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.

 

3 Replies 3

LanDownUnda
Spotlight
Spotlight

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?

*** Rate All Helpful Responses ***

Thank You for the reply,

checking if this warning is related to SSL certificates and if yes then how to disable it.

Ruben Cocheno
Spotlight
Spotlight

@nileshgore25 

Has this been resolved? Do you still need help?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:


This community is intended for developer topics around Data Center technology and products. If you are looking for a non-developer topic about Data Center, you might find additional information in the Data Center and Cloud community