Comments (9)
Our MyProxy Server is not working at the moment. I am waiting for a fresh certificate. I hope Prashanth can sign this soon.
from esgf-pyclient.
MyProxy@DKRZ should be working again.
from esgf-pyclient.
Thanks for looking into this @cehbrecht and @soay! It works fine on my laptop too now. Maybe we can close this issue? I think the original problem has been solved a long time ago in cedadev/MyProxyClient#14 and cedadev/MyProxyClient@ab8da41.
from esgf-pyclient.
It seems the ESGF uses old (deprecated) encryption on the server side. See: cedadev/MyProxyClient#14
This did the trick for me, though I am not sure if I needed all the imports:
from pyesgf.logon import LogonManager
from myproxy.client import MyProxyClient
from OpenSSL import SSL
MyProxyClient.SSL_METHOD = SSL.TLSv1_2_METHOD
lm = LogonManager()
lm.logon_with_openid(openid, password=password)
from esgf-pyclient.
@alaniwi : please put a note here related to PK comments in other repos.
from esgf-pyclient.
I'm encountering this issue when trying to connect to esgf-data.dkrz.de
, with a fresh installation of esgf-pyclient from conda:
$ conda env export
name: esgf-pyclient
channels:
- conda-forge
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=1_gnu
- bzip2=1.0.8=h7f98852_4
- ca-certificates=2021.10.8=ha878542_0
- charset-normalizer=2.0.12=pyhd8ed1ab_0
- defusedxml=0.7.1=pyhd8ed1ab_0
- esgf-pyclient=0.3.1=pyh6c4a22f_0
- idna=3.3=pyhd8ed1ab_0
- jinja2=3.0.3=pyhd8ed1ab_0
- ld_impl_linux-64=2.36.1=hea4e1c9_2
- libffi=3.4.2=h7f98852_5
- libgcc-ng=11.2.0=h1d223b6_12
- libgomp=11.2.0=h1d223b6_12
- libnsl=2.0.0=h7f98852_0
- libuuid=2.32.1=h7f98852_1000
- libzlib=1.2.11=h36c2ea0_1013
- myproxyclient=2.1.0=pyhd8ed1ab_2
- ncurses=6.3=h9c3ff4c_0
- openssl=1.1.1l=h7f98852_0
- pip=22.0.3=pyhd8ed1ab_0
- pycparser=2.21=pyhd8ed1ab_0
- pyopenssl=22.0.0=pyhd8ed1ab_0
- python=3.10.2=h85951f9_3_cpython
- python_abi=3.10=2_cp310
- readline=8.1=h46c0cb4_0
- requests=2.27.1=pyhd8ed1ab_0
- requests_cache=0.4.13=py_0
- six=1.16.0=pyh6c4a22f_0
- sqlite=3.37.0=h9cd32fc_0
- tk=8.6.12=h27826a3_0
- tzdata=2021e=he74cb21_0
- urllib3=1.26.8=pyhd8ed1ab_1
- webob=1.8.7=pyhd8ed1ab_0
- wheel=0.37.1=pyhd8ed1ab_0
- xz=5.2.5=h516909a_1
- zlib=1.2.11=h36c2ea0_1013
- pip:
- brotlipy==0.7.0
- certifi==2021.10.8
- cffi==1.15.0
- cryptography==36.0.1
- markupsafe==2.1.0
- pysocks==1.7.1
- setuptools==60.9.3
prefix: /home/bandela/mambaforge/envs/esgf-pyclient
@cehbrecht @agstephens Do you have any idea what could be going on?
I'm able to logon to slcs.ceda.ac.uk
just fine, so it looks like a problem specific to the DKRZ.
from esgf-pyclient.
I have tried the logon using this notebook:
https://github.com/ESGF/esgf-pyclient/blob/master/notebooks/examples/logon.ipynb
It worked for me for the IPSL node. But I got a "connection refused" error from the DKRZ node.
@soay do you have some hints?
I tried it also with the "trick" mentioned above ... but failed also:
from pyesgf.logon import LogonManager
from myproxy.client import MyProxyClient
from OpenSSL import SSL
MyProxyClient.SSL_METHOD = SSL.TLSv1_2_METHOD
The search is still working:
https://github.com/ESGF/esgf-pyclient/blob/master/notebooks/examples/search.ipynb
from esgf-pyclient.
I tried again ... I don't get a connect error now ... but the logon is hanging ...
from esgf-pyclient.
@bouweandela checked it again with @soay. Locally on my mac the logon works ... even for Python 3.10. But on binder it is running into a timeout. Might be an issues with the binder configuration?
https://nbviewer.org/github/ESGF/esgf-pyclient/blob/master/notebooks/examples/logon.ipynb
from esgf-pyclient.
Related Issues (20)
- Failing CI build: parsing of HTTPResponse by defusedxml.ElementTree HOT 1
- No consistent result from different queries (CMIP6) HOT 1
- `ignore_facet_check` search option appears to be broken
- Dependency problem (version mismatch between pyesgf and requests library) leading to AttributeError: module 'requests_cache' has no attribute 'core' HOT 5
- add "facets" keyword argument to DatasetResult.file_context
- New release? HOT 5
- Import trial of `MyProxyClient` in `pyesgf/logon.py` outputs misleading error and incompatibility with `cryptography` from Anaconda `main` channel HOT 2
- logon for http request HOT 2
- lm.logon timeout HOT 12
- Facets warning with aggregation_context(): unexpected keyword
- CMIP6 data availability? HOT 2
- logon does not allow access to all ESGF nodes HOT 13
- Unexpected number of results for large query
- Not matching all the expected files HOT 4
- logon refused from my laptop HOT 3
- Facets warning appears even when facets are specified HOT 5
- collection import errors from python 3.10 HOT 1
- [via MyProxyClient] Import of `MyProxyClient` fails due to complete retirement of `SafeConfigParser` in Python 3.12 HOT 2
- Fix `tests/test_results` test module
- 503 HTTPErrors should not be failing the tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esgf-pyclient.