[
https://issues.apache.org/jira/browse/CLIMATE-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15310534#comment-15310534
]
Ibrahim Jarif commented on CLIMATE-790:
---------------------------------------
[~huikyole] I'm getting the following errors.
{code}
climate[master*] % python examples/esgf_integration_example.py
Enter your ESGF OpenID:
https://hydra.fsl.noaa.gov/esgf-idp/openid/jarifibrahim
Enter your ESGF Password:
Traceback (most recent call last):
File "examples/esgf_integration_example.py", line 36, in <module>
password)
File "/home/ibrahim/Desktop/climate/ocw/data_source/esgf.py", line 89, in
load_dataset
download_directory=save_path)
File "/home/ibrahim/Desktop/climate/ocw/data_source/esgf.py", line 136, in
_download_files
logon(username, password)
File "/home/ibrahim/Desktop/climate/ocw/esgf/logon.py", line 42, in logon
lm.logon_with_openid(openid, password)
File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/pyesgf/logon.py",
line 140, in logon_with_openid
interactive=interactive)
File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/pyesgf/logon.py",
line 176, in logon
bootstrap=bootstrap, updateTrustRoots=update_trustroots)
File
"/home/ibrahim/miniconda2/lib/python2.7/site-packages/myproxy/client.py", line
1412, in logon
**getTrustRootsKw)
File
"/home/ibrahim/miniconda2/lib/python2.7/site-packages/myproxy/client.py", line
1564, in getTrustRoots
conn.write('0')
File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/OpenSSL/SSL.py",
line 1271, in send
self._raise_ssl_error(self._ssl, result)
File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/OpenSSL/SSL.py",
line 1191, in _raise_ssl_error
_raise_current_error()
File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/OpenSSL/_util.py",
line 48, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'SSL3_GET_RECORD', 'wrong version number')]
{code}
> SSL errors in the esgf example
> ------------------------------
>
> Key: CLIMATE-790
> URL: https://issues.apache.org/jira/browse/CLIMATE-790
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Reporter: Huikyo Lee
> Assignee: Huikyo Lee
>
> The SSL error disappears by adding
> import ssl
> if hasattr(ssl, '_create_unverified_context'):
> ssl._create_default_https_context = ssl._create_unverified_context
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)