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

Unable to connect to ucs manager using ucsmsdk after converting to exe file using pyinstaller

 Hi Team,

 

I am using secured environment where python code is working fine but after converting the code to .exe file using pyinstaller it giving below error.

 

Code for connecting to pod

 

from ucsmsdk.ucshandle import UcsHandle

handle = UcsHandle("n.n.n.n", "username", "password")

handle.login()

 

Trials:

1. I have ran .exe file from windows 2012 R2 and 2016 servers but it's populating 'Not a supported server' error(FYI., it's working fine if I ran it using .py file with the same code).

2. I have also tried from my virtual desktop directly still getting "urlopen error tunnel connection failed: 400 bad request".

3. If I add ip as https://n.n.n.n instead of n.n.n.n then "urlopen error[errormo 11004] getaddrinfo failed" is getting populated.

Kindly let me know why it's not connecting through exe file and how can we overcome from this issue.

 

Thanks in advance

 

 

0 Replies 0
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:

Cisco UCS X-Series Energy Efficiency Offer