I’m on OSX 26.2 (Apple M1 Max) and crewai-tools 1.81 with python 3.11.3.
When I run crewai login, I can click on the code in the browser and it shows “You are all set”. But I also get error messages in the CLI (see trace below).
The login doesn’t seem to succeed, because a command like crewai deploy create results in this message.
Please sign up/login to CrewAI+ before using the CLI.
Run ‘crewai login’ to sign up/login.
I’ve reviewed the forum for similar messages. I could not find any message that combines the type of error in the trace with a login failure.
Start of trace:
Waiting for authentication… Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py”, line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py”, line 1283, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py”, line 1329, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py”, line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py”, line 1038, in _send_output
self.send(msg)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py”, line 976, in send
self.connect()
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py”, line 1455, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py”, line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py”, line 1075, in _create
self.do_handshake()
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py”, line 1346, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)