I stumbled upon the DebugArtifacts.jl
code in a discussion about a similar issue. Cloning the repository and running it:
(@v1.7) pkg> activate .
Activating project at `~/src/DebugArtifacts.jl`
julia> using DebugArtifacts
[ Info: Precompiling DebugArtifacts [4f05f810-3073-4646-a23d-fd50056b1323]
julia>
julia> debug_artifact("MozillaCACerts")
[ Info: Platform: Linux x86_64 {cxxstring_abi=cxx11, julia_version=1.7.2, libc=glibc, libgfortran_version=5.0.0,libstdcxx_version=3.4.29}
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: AMD Ryzen Threadripper 3960X 24-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, znver2)
[ Info: Downloading Artifacts.toml to /tmp/jl_yLvn75/Artifacts.toml...
ERROR: Error reading ca cert path /usr/lib/ssl/certs - mbedTLS: (-0x2900) X509 - Read/write of file failed whilerequesting https://raw.githubusercontent.com/JuliaBinaryWrappers/MozillaCACerts_jll.jl/master/Artifacts.toml
Stacktrace:
[1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#15#17"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool})(easy::Downloads.Curl.Easy)
@ Downloads ~/src/julia/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:369
[2] with_handle(f::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#15#17"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool}, handle::Downloads.Curl.Easy)
@ Downloads.Curl ~/src/julia/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/Curl.jl:64
[3] #8
@ ~/src/julia/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:311 [inlined]
[4] arg_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#15#17"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool}, arg::IOStream)
@ ArgTools ~/src/julia/usr/share/julia/stdlib/v1.7/ArgTools/src/ArgTools.jl:112
[5] #7
@ ~/src/julia/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:310 [inlined]
[6] arg_read(f::Downloads.var"#7#16"{IOStream, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#15#17"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool}, arg::Base.DevNull)
@ ArgTools ~/src/julia/usr/share/julia/stdlib/v1.7/ArgTools/src/ArgTools.jl:61
[7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Pkg.PlatformEngines.var"#15#17"{Base.TTY}, verbose::Bool, throw::Bool, downloader::Nothing)
@ Downloads ~/src/julia/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:309
[8] #3
@ ~/src/julia/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:222 [inlined]
[9] open(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Pkg.PlatformEngines.var"#15#17"{Base.TTY}, Bool, Nothing, String}, args::String; kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:write,), Tuple{Bool}}})
@ Base ./io.jl:330
[10] arg_write(f::Function, arg::String)
@ ArgTools ~/src/julia/usr/share/julia/stdlib/v1.7/ArgTools/src/ArgTools.jl:86
[11] #download#2
@ ~/src/julia/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:221 [inlined]
[12] download(url::String, dest::String; verbose::Bool, headers::Vector{Pair{String, String}}, auth_header::Nothing, io::Base.TTY)
@ Pkg.PlatformEngines ~/src/julia/usr/share/julia/stdlib/v1.7/Pkg/src/PlatformEngines.jl:282
[13] (::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String})(tmp_dir::String)
@ DebugArtifacts ~/src/DebugArtifacts.jl/src/DebugArtifacts.jl:59
[14] mktempdir(fn::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String}, parent::String; prefix::String)
@ Base.Filesystem ./file.jl:750
[15] mktempdir (repeats 2 times)
@ ./file.jl:748 [inlined]
[16] debug_artifact(artifact_name::String, platform::Base.BinaryPlatforms.Platform)
@ DebugArtifacts ~/src/DebugArtifacts.jl/src/DebugArtifacts.jl:55
[17] debug_artifact(artifact_name::String)
@ DebugArtifacts ~/src/DebugArtifacts.jl/src/DebugArtifacts.jl:43
[18] top-level scope
@ REPL[3]:1
I don’t know if this gives any more information.