Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error unknown error (_ssl.c:2825) #10

Closed
a2X4 opened this issue Oct 10, 2017 · 3 comments
Closed

Fatal error unknown error (_ssl.c:2825) #10

a2X4 opened this issue Oct 10, 2017 · 3 comments
Assignees

Comments

@a2X4
Copy link

a2X4 commented Oct 10, 2017

Sorry, my Python skills are weak. Here is the --debug.
On an iMac running Version 10.12.6 (16G29)

python EFIgyLite_cli.py --debug
DEBUG:main:[-] Certifi module not found, falling back to bundled cecert.pem file
DEBUG:main:[+] cacert file location: '/private/tmp/cacert.pem'

EFIgyLite API Information:
[-] Fatal error in EFIgyLite_cli. Exiting.....

Error:
unknown error (_ssl.c:2825)

Traceback (most recent call last):
File "EFIgyLite_cli.py", line 454, in
efigy_cli()
File "EFIgyLite_cli.py", line 244, in call
api_version = self.__make_api_get("/version")
File "EFIgyLite_cli.py", line 156, in __make_api_get
self.last_response = urllib2.urlopen(self.api_server+api_path, cafile=self.cacert_path)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 144, in urlopen
capath=capath)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 435, in create_default_context
context.load_verify_locations(cafile, capath, cadata)
SSLError: unknown error (_ssl.c:2825)

@mdmilgrom
Copy link

I believe I had this issue and solved it by installing openssl via Homebrew. (brew install openssl)
If you don't have Homebrew installed, do that first.

@MyNameIsMeerkat MyNameIsMeerkat self-assigned this Nov 22, 2017
@MyNameIsMeerkat
Copy link
Contributor

@a2X4 It's definitely an underlying SSL lib issue but would need more info to get it better diagnosed for you. Check the format of the .pem file that the EFIgy client is trying to use, and maybe try to just install the certifi module so as you can use the PEM's it points at.

If those don't fix the issue please provide some more info on your python and system versions etc

@MyNameIsMeerkat
Copy link
Contributor

No activity on this so closing out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants