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")
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
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: