mystor / phlay

Phlay your commits onto Phabricator
19 stars 17 forks source link

Error when pushing to Moz phabricator on OS X 10.15.5 #75

Closed AlaskanEmily closed 4 years ago

AlaskanEmily commented 4 years ago

When trying to push to moz phabricator on OS X 10.15.5, I get the following error:

warning checking for updates failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)
Traceback (most recent call last):
  File "../phlay", line 1112, in <module>
    main()
  File "../phlay", line 1098, in main
    process_args(args)
  File "../phlay", line 820, in process_args
    conduit = Conduit(args.arcrc)
  File "../phlay", line 124, in __init__
    'callsigns': [arcconfig['repository.callsign']]
  File "../phlay", line 151, in search_one
    limit=1)
  File "../phlay", line 139, in do
    conn.request("POST", f'/api/{cmd_name}', body=body)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 1229, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 1275, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 1224, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 1016, in _send_output
    self.send(msg)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 956, in send
    self.connect()
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 1392, in connect
    server_hostname=server_hostname)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py", line 412, in wrap_socket
    session=session
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py", line 853, in _create
    self.do_handshake()
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/ssl.py", line 1117, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)
mystor commented 4 years ago

Do you have success using moz-phab to submit patches?

AlaskanEmily commented 4 years ago

Ahh, I see. Sorry about that, it turns out I was getting the python from XCode and its certs had run out. It works properly.