-
Notifications
You must be signed in to change notification settings - Fork 54
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
workflow with SSL authentication is broken #418
Comments
Here is the full traceback...
|
Also related to python/cpython#77204 |
I ran into a similar issue and came up with a PickleableSSLContext scikit-hep/uproot5#1248 (comment) that maintains some of the state (cert chain and default certs). |
I am happy to answer questions! |
Correct, specifically the |
I just stumbled across an issue when working on a recipe for pangeo-forge/staged-recipes#96. My recipe requires authentication for ESGF to read NetCDF files and I do so using an SSLContext object. My workflow is broken by #359. I can repdroduce this issue using the slightly adapted tutorial code, e.g., I'll add
fsspec_open_kwargs={"ssl": ssl.create_default_context()}
to the FilePattern object:and running the second part of the tutorial...
... is broken because the
SSLContext
object can not be deecopied during hashing in theasdict
call inpangeo-forge-recipes/pangeo_forge_recipes/serialization.py
Line 70 in 16eb6bf
I see that
storage_config
is ignored during hashing anyway...pangeo-forge-recipes/pangeo_forge_recipes/recipes/base.py
Line 18 in 16eb6bf
I guess, ignoring that during the
asdict
call might solve the problem already since it is removed afterwards anyway. This might be related to python/cpython#88071.The text was updated successfully, but these errors were encountered: