Mar-13-2023, 05:01 PM
Hi,
I am using the SOAPpy module in my program which basically wants to create an incident ticket in ServiceNow using a Python web services client program -> (https://docs.servicenow.com/bundle/tokyo...mples.html).
Getting the following Error (AttributeError: "SSL client not supported by this Python installation")
$ python3 ./servicenowskill.py
Traceback (most recent call last):
File "./servicenowskill.py", line 36, in <module>
new_incident_sysid = createincident(values)
File "./servicenowskill.py", line 23, in createincident
server = SOAPProxy(proxy, namespace)
File "/home/prabir/.local/lib/python3.8/site-packages/SOAPpy/Client.py", line 461, in __init__
self.proxy = SOAPAddress(proxy, config)
File "/home/prabir/.local/lib/python3.8/site-packages/SOAPpy/Client.py", line 197, in __init__
raise AttributeError("SSL client not supported by this Python installation")
AttributeError: SSL client not supported by this Python installation
The above Error is coming from the below section of /usr/local/lib/python3.8/dist-packages/SOAPpy/Client.py file.
if proto == 'https' and not config.SSLclient:
raise AttributeError("SSL client not supported by this Python installation")
Need help to fix this. Thanks in advance.
Regards
Prabir
I am using the SOAPpy module in my program which basically wants to create an incident ticket in ServiceNow using a Python web services client program -> (https://docs.servicenow.com/bundle/tokyo...mples.html).
Getting the following Error (AttributeError: "SSL client not supported by this Python installation")
$ python3 ./servicenowskill.py
Traceback (most recent call last):
File "./servicenowskill.py", line 36, in <module>
new_incident_sysid = createincident(values)
File "./servicenowskill.py", line 23, in createincident
server = SOAPProxy(proxy, namespace)
File "/home/prabir/.local/lib/python3.8/site-packages/SOAPpy/Client.py", line 461, in __init__
self.proxy = SOAPAddress(proxy, config)
File "/home/prabir/.local/lib/python3.8/site-packages/SOAPpy/Client.py", line 197, in __init__
raise AttributeError("SSL client not supported by this Python installation")
AttributeError: SSL client not supported by this Python installation
The above Error is coming from the below section of /usr/local/lib/python3.8/dist-packages/SOAPpy/Client.py file.
if proto == 'https' and not config.SSLclient:
raise AttributeError("SSL client not supported by this Python installation")
Need help to fix this. Thanks in advance.
Regards
Prabir