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

pycurl error for SSL_CIPHER_LIST = 'DEFAULT@SECLEVEL=1' in https_download_file #62

Open
noaham opened this issue Oct 21, 2021 · 0 comments

Comments

@noaham
Copy link

noaham commented Oct 21, 2021

Please excuse the lack of expertise. I have been trying to get Laika working and ran in to an error while going through the walkthrough. Details of my system are below. Digging down into what is going on, the issue is the function https_download_file which is failing. Specifically, the setting

crl.setopt(crl.SSL_CIPHER_LIST, 'DEFAULT@SECLEVEL=1')

causes crl.perform() to fail with the error

pycurl.error: (59, 'failed setting cipher list: DEFAULT@SECLEVEL=1')

This results in the error RuntimeError: No orbit data found on either servers from get_orbit_data. The fix for me was to change the setting to

crl.setopt(crl.SSL_CIPHER_LIST, 'DEFAULT')

I guess this is due to the version of openssl that I have installed, and I have no idea what implications the above change has, but nonetheless thought it was a good idea to report the issue and what got it working.


Hardware: MacBook Pro with M1 chip
OS: MacOS 11.6
Python: 3.9.7 (installed with pyenv)
OpenSSL: 2.8.3 (installed with homebrew)
PycURL: 7.44.1 (compiled against the above library)

Happy to dig further into my setup to find the issue if it is helpful. Otherwise hopefully this helps if anyone else has the same issue.

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

No branches or pull requests

1 participant