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

.dods_cookies block the data access #27

Open
maheshguru opened this issue Jul 25, 2018 · 1 comment
Open

.dods_cookies block the data access #27

maheshguru opened this issue Jul 25, 2018 · 1 comment
Labels

Comments

@maheshguru
Copy link

I'm using esgf-pyclient for accessing the data from ESGF. When user try to access the CORDEX data who is not registered to access the CORDEX data, The cookies store in .dods_cookies file. On next request, .dods_cookies block the data access for registered users also. I would like to know about the .dods_cookies file and provide me support.

Thank you.

@cehbrecht
Copy link
Collaborator

@maheshguru I can't say for sure but it looks like esgf-pyclient does not maintain the .dods_cookies. When you logon only an X509 proxy certificate will be fetched. The libraries you use to access the data may use and create a cookie (like python-netcdf4). I have tried this with my demo notebook:

https://github.com/cehbrecht/jupyterlab-notebooks/blob/master/esgf-examples/esgf-opendap.ipynb

python-netcdf4 either uses the certificate.pem or the .dods_cookies. Don't know which is preferred, maybe the cookie. If the cookie is invalid it does not work and it won't be updated by esgf-pyclient.

So, probably esgf-pyclient should remove in addition the cookie when calling logoff.

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

No branches or pull requests

2 participants