-
Notifications
You must be signed in to change notification settings - Fork 30
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
julia 1.8 beta3, NetCDF_jll v400.802.102+0: Failure to load OPENDAP URL with TLS #173
Comments
A workaround is to create a file
The file path is the output of: using NetworkOptions; NetworkOptions.ca_roots() (updated to use NetworkOptions.jl instead of MozillaCACerts_jll, thanks @visr ) |
Is it possible to set this through a ccall during |
Unfortunately, I do not see a NetCDF API call (similar to GDAL's cplsetconfigoption) where this option can be set, only a configuration file. https://github.com/Unidata/netcdf-c/blob/main/docs/auth.md Maybe NCDatasets can create on start up a temporary config file and sets the environment variable I am wondering how it worked before without any configuration.... |
For GDAL.jl we used to set GDAL_DATA as an environment variable in For Proj.jl Linux builds also started failing with a certificate issue, but luckily they provided a function to set the path, besides a configuration file and an environment variable, so the fix was easy: JuliaGeo/Proj.jl@e50a7d7 Maybe we should ask if netcdf-c for a Also from the documentation link you shared, it says they go to |
Thank for thinking along 😀
It is not so clear to me which function you mean by "that function" in this sentence. The (to-be-implemented) |
Yeah in the last paragraph I was talking about |
The
However, if we would point to a different temporary configuration file, it would result in ignoring an already preexisting Edit: remove failed attempts with |
Unfortunately, yes. Given those downsides, this seems to work: fd6d08b
I saw this comment in the netcdf-c code on configuration merging: But that means if we use NCRCENV_RC no merging will take place. |
Describe the bug
Failure to load OPENDAP URL with TLS
To Reproduce
full output
Expected behavior
No error
Environment
Full output
The text was updated successfully, but these errors were encountered: