cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
545
Views
5
Helpful
2
Replies
nileshgore25
Beginner

acitoolkit WebSocketException

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.

 

2 REPLIES 2
LanDownUnda
Beginner

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.

Content for Community-Ad