[
https://issues.apache.org/jira/browse/CLIMATE-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252841#comment-16252841
]
Michael Anderson commented on CLIMATE-933:
------------------------------------------
Here's the full stack trace.
Downloading url:
http://esgf-data.jpl.nasa.gov/thredds/fileServer/esg_dataroot/obs4MIPs/observations/ocean/zosStderr/mon/grid/CNES/AVISO/v20110829/zosStderr_AVISO_L4_199210-201012.nc
to local path: /tmp/zosStderr_AVISO_L4_199210-201012.nc ...
Traceback (most recent call last):
File "esgf_integration_example.py", line 41, in <module>
password)
File "/Users/michaelanderson/Downloads/climate/ocw/data_source/esgf.py", line
97, in load_dataset
download_directory=save_path)
File "/Users/michaelanderson/Downloads/climate/ocw/data_source/esgf.py", line
151, in _download_files
download(url, toDirectory=download_directory)
File "/Users/michaelanderson/Downloads/climate/ocw/esgf/download.py", line
77, in download
webFile = opener.open(url)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 435,
in open
response = meth(req, response)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 548,
in http_response
'http', request, response, code, msg, hdrs)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 467,
in error
result = self._call_chain(*args)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 407,
in _call_chain
result = func(*args)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 654,
in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 435,
in open
response = meth(req, response)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 548,
in http_response
'http', request, response, code, msg, hdrs)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 473,
in error
return self._call_chain(*args)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 407,
in _call_chain
result = func(*args)
File "/Users/michaelanderson/anaconda2/lib/python2.7/urllib2.py", line 556,
in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 401: 401
> 401 Error On ESGF Download
> --------------------------
>
> Key: CLIMATE-933
> URL: https://issues.apache.org/jira/browse/CLIMATE-933
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Components: examples
> Affects Versions: 1.1.0
> Reporter: Michael Anderson
>
> Running the esgf example or main file in esgf directory produce 401 error.
> 1. I can log into the esgf web site (i.e. my open ID, user ID and password
> are good).
> 2. I am a a member of two groups. If I take the URL generated by the esgf
> module and put this directly into my browser, the file downloads. This
> confirms both that I am a member of a valid group and the file I am
> attempting to download exists.
> 3. credentials.pem gets created in ~/.esg and has content. Per many
> suggestions via Google, have deleted and recreated ~/.esg literally dozens to
> times.
> 4. Have also attempted using esg node other than JPL.
> 5. First attempted on Mac with El Capitain (on which this worked about a
> year ago). Upgraded Mac to High Sierra. Also attempted on a brand new Mac
> literally out of the package.
> 6. Openssl 0.9.8 and 1.0.1. Python 2.7.10
> 7. Fresh clone from git. Fresh install of supporting libs:
> https://cwiki.apache.org/confluence/display/CLIMATE/Installing+OCW+using+the+conda+package+manager
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)