This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Chirs
Recipients Chirs, christian.heimes
Date 2020-07-08.10:46:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594205193.72.0.815340291838.issue41239@roundup.psfhosted.org>
In-reply-to
Content
I tried to print "self.host" which would be passed to wrap_socket().
It seems no problem.
> /usr/local/lib/python3.6/site-packages/pywbem/cim_http.py(616)connect()
-> try:
(Pdb) p self.host
'193.168.11.113'
(Pdb) n
> /usr/local/lib/python3.6/site-packages/pywbem/cim_http.py(617)connect()
-> self.sock = ctx.wrap_socket(sock,
(Pdb)
> /usr/local/lib/python3.6/site-packages/pywbem/cim_http.py(618)connect()
-> server_hostname=self.host)
(Pdb)
> /usr/local/lib/python3.6/site-packages/pywbem/cim_http.py(619)connect()
-> return self.sock.connect((self.host, self.port))
(Pdb)
ValueError: check_hostname needs server_hostname argument
> /usr/local/lib/python3.6/site-packages/pywbem/cim_http.py(619)connect()
-> return self.sock.connect((self.host, self.port))
History
Date User Action Args
2020-07-08 10:46:33Chirssetrecipients: + Chirs, christian.heimes
2020-07-08 10:46:33Chirssetmessageid: <1594205193.72.0.815340291838.issue41239@roundup.psfhosted.org>
2020-07-08 10:46:33Chirslinkissue41239 messages
2020-07-08 10:46:33Chirscreate