-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
download ca cert error on Linux on Julia 1.10.1 #53339
Comments
I get just a warning, but similar issue: (@v1.10) pkg> up
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = RequestError: Error reading ca cert file /etc/ssl/certs/ca-certificates.crt - mbedTLS: (-0x3E00) PK - Read/write of file failed while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry ~/apps/julia-1.10.1/share/julia/stdlib/v1.10/Pkg/src/Registry/Registry.jl:69
Updating registry at `~/.julia/registries/General.toml`
No Changes to `~/.julia/environments/v1.10/Project.toml`
No Changes to `~/.julia/environments/v1.10/Manifest.toml` Still, it's a regression compared to julia> versioninfo()
Julia Version 1.10.1
Commit 7790d6f0641 (2024-02-13 20:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 4 × Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) |
@atbug wrote on Slack workaround
|
We did bump the Downloads and NetworkOptions stdlibs for 1.10.1 so could have something to do with that. |
This is probably the same as JuliaLang/NetworkOptions.jl#33 which got triggered by JuliaLang/Downloads.jl#226 in the backports for 1.10. |
I thought that was fixed by JuliaLang/NetworkOptions.jl#31? |
No, that fix was only for
(this is on opensuse where this file does not exist) |
Okay.. that's unfortunate |
This is required on 1.10 where Downloads and NetworkOptions are in the sysimage (see JuliaLang/julia#53339) but it seems like a good idea here anyway in case someone adds a precompile workload to this package
This is required on 1.10 where Downloads and NetworkOptions are in the sysimage (see JuliaLang/julia#53339) but it seems like a good idea here anyway in case someone adds a precompile workload to this package
JuliaLang/NetworkOptions.jl#34 should hopefully fix that. |
This is required on 1.10 where Downloads and NetworkOptions are in the sysimage (see JuliaLang/julia#53339) but it seems like a good idea here anyway in case someone adds a precompile workload to this package
For me, on opensuse, this popped up when trying to access a second registry besides General. The band-aid described in |
Same as @j-fu -- this problem pops up on openSUSE, is specific to 1.10.1 as far as I can tell, and is also fixed with the same trick in the comment linked. It still gives a warning, but it can install packages. The warning I get is:
|
Ha! At least regressions such as this make you learn new and fun things about your system. E.g. HPE/Cray like to put theirs here: Why? No clue! Edit: after talking to the sysadmins (wow! they work weekends), if you're working on NERSC Perlmutter, this is the path:
|
This is affecting some of our installations right now as well. I see some commits being made. Do we need to wait for a new release version to have this fixed? Right now we're just avoiding upgrading all together. |
I run into the same issue here.
|
Yes, we will put out a 1.10.2 shortly with the fix included. |
We also run into this issue while running Julia 1.10.0 in the LUMI supercomputer. export JULIA_SSL_CA_ROOTS_PATH="/etc/ssl/ca-bundle.pem" |
I wonder if it's a Cray EX thing... |
The for the x86-64 linux build. |
This comment was marked as spam.
This comment was marked as spam.
Just wanted to share that we got the same issue in a local institutional computing cluster with Julia 1.10.1 because of the inconsistent path to the ssl's .crt file, and the above ad-hoc fix with the environmental variable |
Closing as Julia 1.10.2 has been released. |
On Julia 1.10.1,
download
regressed compared to Julia 1.10.0. This is on empty depot. Side effect is that registries cannot be updated (]up
).on
There is no
/etc/ssl/certs/ca-certificates.crt
on this system.The text was updated successfully, but these errors were encountered: