I have install the shotgun_api-3.3.4 with Python 3.10 to Nuke 10.5v5
I tested the communication to ShotGrid in Python with no problems.
But I tried to test some simple scripts in Nuke, it fails with following errors.
Does anyone got the idea to fix this? Thanks.
from shotgun_api3 import Shotgun
Result:
sg = Shotgun(“https://XXX.shotgrid.autodesk.com”,“api_test”,“XXX”)
Result: Traceback (most recent call last):
File “”, line 1, in
File “D:/nuke/python\shotgun_api3\shotgun.py”, line 677, in init
self.server_caps
File “D:/nuke/python\shotgun_api3\shotgun.py”, line 721, in server_caps
self._server_caps = ServerCapabilities(self.config.server, self.info())
File “D:/nuke/python\shotgun_api3\shotgun.py”, line 776, in info
return self._call_rpc(“info”, None, include_auth_params=False)
File “D:/nuke/python\shotgun_api3\shotgun.py”, line 3223, in _call_rpc
encoded_payload, req_headers)
File “D:/nuke/python\shotgun_api3\shotgun.py”, line 3363, in make_call
return self.http_request(verb, path, body, req_headers)
File “D:/nuke/python\shotgun_api3\shotgun.py”, line 3417, in http_request
resp, content = conn.request(url, method=verb, body=body, headers=headers)
File "D:/nuke/python\shotgun_api3\lib\httplib2\python2_init.py", line 2133, in request
cachekey,
File "D:/nuke/python\shotgun_api3\lib\httplib2\python2_init.py", line 1796, in request
conn, request_uri, method, body, headers
File "D:/nuke/python\shotgun_api3\lib\httplib2\python2_init.py", line 1701, in conn_request
conn.connect()
File "D:/nuke/python\shotgun_api3\lib\httplib2\python2_init.py", line 1368, in connect
self.host,
File "D:/nuke/python\shotgun_api3\lib\httplib2\python2_init.py", line 104, in _ssl_wrap_socket
ssl_version=ssl_version,
File “C:\Program Files\Nuke10.5v5\lib\ssl.py”, line 381, in wrap_socket
ciphers=ciphers)
File “C:\Program Files\Nuke10.5v5\lib\ssl.py”, line 143, in init
self.do_handshake()
File “C:\Program Files\Nuke10.5v5\lib\ssl.py”, line 305, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol