Skip to content
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

Unable to install in Julia 1.5.1 #225

Open
ghost opened this issue Sep 4, 2020 · 29 comments
Open

Unable to install in Julia 1.5.1 #225

ghost opened this issue Sep 4, 2020 · 29 comments

Comments

@ghost
Copy link

ghost commented Sep 4, 2020

trying to add MbedTLS.jl package
not having any luck

any workarounds?

julia> versioninfo()
Julia Version 1.5.1
Commit 697e782ab8 (2020-08-25 20:08 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.5.0)
CPU: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)

(@v1.5) pkg> add MbedTLS
Resolving package versions...
Downloading artifact: MbedTLS

Downloading artifact: MbedTLS

ERROR: Unable to automatically install 'MbedTLS' from '/Users/gato/.julia/packages/MbedTLS_jll/qGMUr/Artifacts.toml'
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] ensure_artifact_installed(::String, ::Dict{String,Any}, ::String; platform::Pkg.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Artifacts.jl:898
[3] ensure_all_artifacts_installed(::String; platform::Pkg.BinaryPlatforms.Platform, pkg_uuid::Nothing, include_lazy::Bool, verbose::Bool, quiet_download::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Artifacts.jl:962
[4] download_artifacts(::Pkg.Types.Context, ::Array{String,1}; platform::Pkg.BinaryPlatforms.MacOS, verbose::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:663
[5] download_artifacts(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; platform::Pkg.BinaryPlatforms.MacOS, verbose::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:642
[6] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.MacOS) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:1141
[7] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.MacOS, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:189
[8] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:140
[9] #add#21 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67 [inlined]
[10] add(::Array{Pkg.Types.PackageSpec,1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67
[11] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:404
[12] do_cmd(::REPL.LineEditREPL, ::String; do_rethrow::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:382
[13] do_cmd at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:377 [inlined]
[14] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:546
[15] #invokelatest#1 at ./essentials.jl:710 [inlined]
[16] invokelatest at ./essentials.jl:709 [inlined]
[17] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/REPL/src/LineEdit.jl:2355
[18] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:1144
[19] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at ./task.jl:356

(@v1.5) pkg>

@fonsp
Copy link
Member

fonsp commented Sep 5, 2020

I've heard reports about this from 5 more students in our class https://github.com/mitmath/18S191

One of them has Windows 10, one has MacOS, others I don't know.

@fonsp
Copy link
Member

fonsp commented Sep 5, 2020

What should I tell students to do when this error happens? Reinstall Julia? Clear the ~/.julia folder?

@fredrikekre
Copy link
Member

Difficult to tell with no information. Perhaps try https://github.com/giordano/DebugArtifacts.jl, e.g.

pkg> add https://github.com/giordano/DebugArtifacts.jl.git

and then

julia> using DebugArtifacts

julia> debug_artifact("MbedTLS")

and report back?
cc @giordano @staticfloat

@fonsp
Copy link
Member

fonsp commented Sep 5, 2020

@kino-tech Could you try that? The commands are:

Open a new Julia REPL

julia> import Pkg; Pkg.activate(mktempdir());

julia> Pkg.add(Pkg.PackageSpec(url="https://github.com/giordano/DebugArtifacts.jl.git"))

julia> import DebugArtifacts; DebugArtifacts.debug_artifact("MbedTLS")

@ghost
Copy link
Author

ghost commented Sep 5, 2020

OK - the last line didnt work

julia> import Pkg; Pkg.activate(mktempdir());
Activating new environment at /var/folders/hg/66twqszn69b48jm1z9y5d5gh0000gn/T/jl_RDbUsY/Project.toml

julia> Pkg.add(Pkg.PackageSpec(url="https://github.com/giordano/DebugArtifacts.jl.git"))
Cloning git-repo https://github.com/giordano/DebugArtifacts.jl.git
Updating git-repo https://github.com/giordano/DebugArtifacts.jl.git
Updating registry at ~/.julia/registries/General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions...
Updating /private/var/folders/hg/66twqszn69b48jm1z9y5d5gh0000gn/T/jl_RDbUsY/Project.toml
[4f05f810] + DebugArtifacts v0.1.0 https://github.com/giordano/DebugArtifacts.jl.git#master
Updating /private/var/folders/hg/66twqszn69b48jm1z9y5d5gh0000gn/T/jl_RDbUsY/Manifest.toml
[4f05f810] + DebugArtifacts v0.1.0 https://github.com/giordano/DebugArtifacts.jl.git#master
[2a0f44e3] + Base64
[ade2ca70] + Dates
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[56ddb016] + Logging
[d6f4376e] + Markdown
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode

julia> import DebugArtifacts; DebugArtifacts.debug_artifact("MbedTLS")
[ Info: Precompiling DebugArtifacts [4f05f810-3073-4646-a23d-fd50056b1323]
[ Info: Platform: MacOS(:x86_64, compiler_abi=CompilerABI(libgfortran_version=v"4.0.0"))
Julia Version 1.5.1
Commit 697e782ab8 (2020-08-25 20:08 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.5.0)
CPU: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)

[ Info: Downloading Artifacts.toml to /var/folders/hg/66twqszn69b48jm1z9y5d5gh0000gn/T/jl_dJ5LkJ/Artifacts.toml...

curl: (7) Couldn't connect to server
ERROR: Could not download https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLS_jll.jl/master/Artifacts.toml to /var/folders/hg/66twqszn69b48jm1z9y5d5gh0000gn/T/jl_dJ5LkJ/Artifacts.toml:
ProcessFailedException(Base.Process[Process(/usr/bin/curl -C - '-#' -f -o /var/folders/hg/66twqszn69b48jm1z9y5d5gh0000gn/T/jl_dJ5LkJ/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLS_jll.jl/master/Artifacts.toml, ProcessExited(7))])
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/PlatformEngines.jl:822
[3] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.MacOS,String})(::String) at /Users/gato/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[4] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.MacOS,String}, ::String; prefix::String) at ./file.jl:682
[5] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[6] debug_artifact(::String, ::Pkg.BinaryPlatforms.MacOS) at /Users/gato/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[7] debug_artifact(::String) at /Users/gato/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[8] top-level scope at REPL[3]:1
caused by [exception 1]
failed process: Process(/usr/bin/curl -C - '-#' -f -o /var/folders/hg/66twqszn69b48jm1z9y5d5gh0000gn/T/jl_dJ5LkJ/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLS_jll.jl/master/Artifacts.toml, ProcessExited(7)) [7]

Stacktrace:
[1] pipeline_error at ./process.jl:525 [inlined]
[2] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}; wait::Bool) at ./process.jl:440
[3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:438
[4] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/PlatformEngines.jl:817
[5] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.MacOS,String})(::String) at /Users/gato/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[6] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.MacOS,String}, ::String; prefix::String) at ./file.jl:682
[7] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[8] debug_artifact(::String, ::Pkg.BinaryPlatforms.MacOS) at /Users/gato/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[9] debug_artifact(::String) at /Users/gato/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[10] top-level scope at REPL[3]:1

julia>

-- Kino

@giordano
Copy link

giordano commented Sep 5, 2020

the last line didnt work

Quoting from the README of the package:

The goal of this package is to help the user to identify the source of the problem. Note: this will not fix the underlying issue, but oly make it more apparent.

curl: (7) Couldn't connect to server

It sounds like you have a misconfigured network

@fonsp
Copy link
Member

fonsp commented Sep 5, 2020

@kino-tech Can you open the link https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLS_jll.jl/master/Artifacts.toml
in your browser and check if that also gives an error?

@ghost
Copy link
Author

ghost commented Sep 5, 2020

The direct link opens fine
no error

looks like 👍

[[MbedTLS]]
arch = "aarch64"
git-tree-sha1 = "f0cabdc44c5cd22ecb57c30391283663d4c5a284"
libc = "glibc"
os = "linux"

[[MbedTLS.download]]
sha256 = "f97e13fca97334b5e3b592f1963b578c0dfc515de126a3e602ecd819abb82a4b"
url = "https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl/releases/download/MbedTLS-v2.16.8+0/MbedTLS.v2.16.8.aarch64-linux-gnu.tar.gz"

[[MbedTLS]]
arch = "aarch64"
git-tree-sha1 = "2e0b1a572672a8ddb1030ac6cb369ca0661b1760"
libc = "musl"
os = "linux"

[[MbedTLS.download]]
sha256 = "499969c92b0feea11fd6896598935815e96400a49e411d7c2fa08dec3df98147"
url = "https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl/releases/download/MbedTLS-v2.16.8+0/MbedTLS.v2.16.8.aarch64-linux-musl.tar.gz"

[[MbedTLS]]
arch = "armv7l"
git-tree-sha1 = "1a73a1e8c654f5f6ec5b87320776cf72affd5698"
libc = "glibc"
os = "linux"

@fonsp
Copy link
Member

fonsp commented Sep 5, 2020

@giordano So it's not a misconfigured network, right?

@giordano
Copy link

giordano commented Sep 5, 2020

https://superuser.com/a/489418 suggests it's a network issue

@fonsp
Copy link
Member

fonsp commented Sep 5, 2020

But it worked in the browser i mean. Maybe just a flaky connection?

@giordano
Copy link

giordano commented Sep 5, 2020

@kino-tech can you run

/usr/bin/curl -C - '-#' -f -o Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLS_jll.jl/master/Artifacts.toml

in the command line, outside of Julia?

@ghost
Copy link
Author

ghost commented Sep 5, 2020

@giordano the URL
https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLS_jll.jl/master/Artifacts.toml

loads fine in multiple browsers
but fails using CuRL

I have tried my networks (clean direct - no proxies) and external networks (different networks)
(mind you I'm not the only one having this problem)

I did just find a work around
which was to install via the JuliaPro - 1.5.0 app
instead of the Julia.app 1.5.1

@fonsp
Copy link
Member

fonsp commented Sep 9, 2020

I thought that Julia 1.5.0 and up will use julia's own package server to proxy artifacts? The curl error shows that it used raw.githubusercontext.com.

@kino-tech mentioned that they run this from a network in China, does that explain the network issues?

(sorry for the basic questions)

@giordano
Copy link

giordano commented Sep 9, 2020

@kino-tech mentioned that they run this from a network in China, does that explain the network issues?

Ok, that can explain many things, but I don't see any mention to that here. The failure to download a file from raw.githubusercontext.com might be a red herring if the download happens from China, I've seen similar errors before.

@fonsp
Copy link
Member

fonsp commented Sep 9, 2020

Sorry, I meant to link to the Pluto issue: fonsp/Pluto.jl#339 (comment)

@staticfloat
Copy link
Member

staticfloat commented Sep 9, 2020

@kino-tech can you show the output of the following:

curl -Lv https://pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 -o MbedTLS_jll.tar.gz

That should result in an MbedTLS_jll.tar.gz file in your current directory. I'm interested to know which Pkg server you're getting sent to, what it's saying back, etc...

As an example, here's what mine says:

curl output
$ curl -Lv https://pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 -o MbedTLS_jll.tar.g
z
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 151.101.2.217...
* TCP_NODELAY set
* Connected to pkg.julialang.org (151.101.2.217) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [231 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [5102 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=k3.shared.global.fastly.net
*  start date: Sep  8 19:41:13 2020 GMT
*  expire date: Apr 20 19:10:42 2021 GMT
*  subjectAltName: host "pkg.julialang.org" matched cert's "pkg.julialang.org"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign CloudSSL CA - SHA256 - G3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7f9945010200)
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/2
> Host: pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 301
< server: Varnish
< retry-after: 0
< location: https://us-west.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8
< x-geo-continent: NA
< x-geo-country: US
< x-geo-region: WA
< accept-ranges: bytes
< date: Wed, 09 Sep 2020 23:44:04 GMT
< via: 1.1 varnish
< x-served-by: cache-yvr1528-YVR
< x-cache: HIT
< x-cache-hits: 0
< x-timer: S1599695044.215402,VS0,VE0
< content-length: 0
<
{ [0 bytes data]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host pkg.julialang.org left intact
* Issue another request to this URL: 'https://us-west.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8'
*   Trying 52.24.172.208...
* TCP_NODELAY set
* Connected to us-west.pkg.julialang.org (52.24.172.208) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [239 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2575 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=us-west.pkg.julialang.org
*  start date: Aug 30 14:05:11 2020 GMT
*  expire date: Nov 28 14:05:11 2020 GMT
*  subjectAltName: host "us-west.pkg.julialang.org" matched cert's "us-west.pkg.julialang.org"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/1.1
> Host: us-west.pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.19.0
< Date: Wed, 09 Sep 2020 23:44:04 GMT
< Content-Type: application/tar
< Content-Length: 6721
< Connection: keep-alive
< Accept-Ranges: bytes
< Content-Encoding: gzip
<
{ [6721 bytes data]
100  6721  100  6721    0     0  44806      0 --:--:-- --:--:-- --:--:-- 44806
* Connection #1 to host us-west.pkg.julialang.org left intact
* Closing connection 1
* Closing connection 0
koh:foo sabae [16:44:04]$

@ghost
Copy link
Author

ghost commented Sep 11, 2020

hello

There seems to be a small confusion 👍
what I had to go to China to download was the 1.5.0 Julia install package
In the end the package didn't work either

The workaround to be able to install the package correctly was to use the Julia-Pro 1.5.1 install

So now I have a working Pluto set up
using the MbedTLS_jll Package

thanks

executing that curl instruction gives me

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 151.101.2.217...
* TCP_NODELAY set
* Connected to pkg.julialang.org (151.101.2.217) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [231 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [5138 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=k3.shared.global.fastly.net
*  start date: Sep 10 18:30:11 2020 GMT
*  expire date: Apr 20 19:10:42 2021 GMT
*  subjectAltName: host "pkg.julialang.org" matched cert's "pkg.julialang.org"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign CloudSSL CA - SHA256 - G3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fb3fe00d600)
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/2
> Host: pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 301 
< server: Varnish
< retry-after: 0
< location: https://us-east.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8
< x-geo-continent: NA
< x-geo-country: US
< x-geo-region: NY
< accept-ranges: bytes
< date: Fri, 11 Sep 2020 13:56:31 GMT
< via: 1.1 varnish
< x-served-by: cache-lga21931-LGA
< x-cache: HIT
< x-cache-hits: 0
< x-timer: S1599832592.982608,VS0,VE0
< content-length: 0
< 
{ [0 bytes data]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host pkg.julialang.org left intact
* Issue another request to this URL: 'https://us-east.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8'
*   Trying 52.90.247.147...
* TCP_NODELAY set
* Connected to us-east.pkg.julialang.org (52.90.247.147) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [239 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2577 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=us-east.pkg.julialang.org
*  start date: Aug 12 23:20:49 2020 GMT
*  expire date: Nov 10 23:20:49 2020 GMT
*  subjectAltName: host "us-east.pkg.julialang.org" matched cert's "us-east.pkg.julialang.org"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/1.1
> Host: us-east.pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
> 
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0< HTTP/1.1 200 OK
< Server: nginx/1.19.0
< Date: Fri, 11 Sep 2020 13:56:36 GMT
< Content-Type: application/tar
< Content-Length: 6721
< Connection: keep-alive
< Accept-Ranges: bytes
< Content-Encoding: gzip
< 
{ [6721 bytes data]
100  6721  100  6721    0     0   1617      0  0:00:04  0:00:04 --:--:--  2634
* Connection #1 to host us-east.pkg.julialang.org left intact
* Closing connection 1
* Closing connection 0

@staticfloat
Copy link
Member

@kino-tech it looks like it worked just fine, but I am kind of confused that it autodetected your location as in the US; are you perhaps using a VPN?

@cibolar
Copy link

cibolar commented Oct 12, 2020

hello

There seems to be a small confusion 👍
what I had to go to China to download was the 1.5.0 Julia install package
In the end the package didn't work either

The workaround to be able to install the package correctly was to use the Julia-Pro 1.5.1 install

So now I have a working Pluto set up
using the MbedTLS_jll Package

thanks

executing that curl instruction gives me

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 151.101.2.217...
* TCP_NODELAY set
* Connected to pkg.julialang.org (151.101.2.217) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [231 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [5138 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=k3.shared.global.fastly.net
*  start date: Sep 10 18:30:11 2020 GMT
*  expire date: Apr 20 19:10:42 2021 GMT
*  subjectAltName: host "pkg.julialang.org" matched cert's "pkg.julialang.org"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign CloudSSL CA - SHA256 - G3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fb3fe00d600)
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/2
> Host: pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 301 
< server: Varnish
< retry-after: 0
< location: https://us-east.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8
< x-geo-continent: NA
< x-geo-country: US
< x-geo-region: NY
< accept-ranges: bytes
< date: Fri, 11 Sep 2020 13:56:31 GMT
< via: 1.1 varnish
< x-served-by: cache-lga21931-LGA
< x-cache: HIT
< x-cache-hits: 0
< x-timer: S1599832592.982608,VS0,VE0
< content-length: 0
< 
{ [0 bytes data]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host pkg.julialang.org left intact
* Issue another request to this URL: 'https://us-east.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8'
*   Trying 52.90.247.147...
* TCP_NODELAY set
* Connected to us-east.pkg.julialang.org (52.90.247.147) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [239 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2577 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=us-east.pkg.julialang.org
*  start date: Aug 12 23:20:49 2020 GMT
*  expire date: Nov 10 23:20:49 2020 GMT
*  subjectAltName: host "us-east.pkg.julialang.org" matched cert's "us-east.pkg.julialang.org"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/1.1
> Host: us-east.pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
> 
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0< HTTP/1.1 200 OK
< Server: nginx/1.19.0
< Date: Fri, 11 Sep 2020 13:56:36 GMT
< Content-Type: application/tar
< Content-Length: 6721
< Connection: keep-alive
< Accept-Ranges: bytes
< Content-Encoding: gzip
< 
{ [6721 bytes data]
100  6721  100  6721    0     0   1617      0  0:00:04  0:00:04 --:--:--  2634
* Connection #1 to host us-east.pkg.julialang.org left intact
* Closing connection 1
* Closing connection 0

Hİ, I have also the same problem and I still didnt understand how the solution is? Can you please help me. When I try to add IJulia, ERROR: Unable to automatically install ‘MbedTLS’ from ‘/Users/ctk/.julia/packages/MbedTLS_jll/hP8le/Artifacts.toml’ is happened. I use windows 10, and the last version of Julia, Julia 1.5.2(Sept 23,2020). Can you please help me how did you fixed your problem?

@Andrea-Monserrat
Copy link

hello
There seems to be a small confusion 👍
what I had to go to China to download was the 1.5.0 Julia install package
In the end the package didn't work either
The workaround to be able to install the package correctly was to use the Julia-Pro 1.5.1 install
So now I have a working Pluto set up
using the MbedTLS_jll Package
thanks
executing that curl instruction gives me

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 151.101.2.217...
* TCP_NODELAY set
* Connected to pkg.julialang.org (151.101.2.217) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [231 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [5138 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=k3.shared.global.fastly.net
*  start date: Sep 10 18:30:11 2020 GMT
*  expire date: Apr 20 19:10:42 2021 GMT
*  subjectAltName: host "pkg.julialang.org" matched cert's "pkg.julialang.org"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign CloudSSL CA - SHA256 - G3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fb3fe00d600)
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/2
> Host: pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 301 
< server: Varnish
< retry-after: 0
< location: https://us-east.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8
< x-geo-continent: NA
< x-geo-country: US
< x-geo-region: NY
< accept-ranges: bytes
< date: Fri, 11 Sep 2020 13:56:31 GMT
< via: 1.1 varnish
< x-served-by: cache-lga21931-LGA
< x-cache: HIT
< x-cache-hits: 0
< x-timer: S1599832592.982608,VS0,VE0
< content-length: 0
< 
{ [0 bytes data]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host pkg.julialang.org left intact
* Issue another request to this URL: 'https://us-east.pkg.julialang.org/package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8'
*   Trying 52.90.247.147...
* TCP_NODELAY set
* Connected to us-east.pkg.julialang.org (52.90.247.147) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [239 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2577 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=us-east.pkg.julialang.org
*  start date: Aug 12 23:20:49 2020 GMT
*  expire date: Nov 10 23:20:49 2020 GMT
*  subjectAltName: host "us-east.pkg.julialang.org" matched cert's "us-east.pkg.julialang.org"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET /package/c8ffd9c3-330d-5841-b78e-0817d7145fa1/c0b1286883cac4e2b617539de41111e0776d02e8 HTTP/1.1
> Host: us-east.pkg.julialang.org
> User-Agent: curl/7.64.1
> Accept: */*
> 
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0< HTTP/1.1 200 OK
< Server: nginx/1.19.0
< Date: Fri, 11 Sep 2020 13:56:36 GMT
< Content-Type: application/tar
< Content-Length: 6721
< Connection: keep-alive
< Accept-Ranges: bytes
< Content-Encoding: gzip
< 
{ [6721 bytes data]
100  6721  100  6721    0     0   1617      0  0:00:04  0:00:04 --:--:--  2634
* Connection #1 to host us-east.pkg.julialang.org left intact
* Closing connection 1
* Closing connection 0

Hİ, I have also the same problem and I still didnt understand how the solution is? Can you please help me. When I try to add IJulia, ERROR: Unable to automatically install ‘MbedTLS’ from ‘/Users/ctk/.julia/packages/MbedTLS_jll/hP8le/Artifacts.toml’ is happened. I use windows 10, and the last version of Julia, Julia 1.5.2(Sept 23,2020). Can you please help me how did you fixed your problem?

Did you solve it?

@krrutkow
Copy link

I just came across this issue trying to resolve the "Unable to automatically install ..." error. It was only occurring on Debian/Ubuntu-based Docker images. I installed the ca-certificates system package and no longer have the error, so this issues could be system certs-related.

@giordano
Copy link

That looks like the same error as JuliaLinearAlgebra/MKL.jl#61 (comment)

@SastaDev
Copy link

SastaDev commented Mar 22, 2022

I had this error

ERROR: LoadError: LoadError: UndefVarError: libmbedtls not defined
in expression starting at /data/data/com.termux/files/home/.julia/packages/HTTP/aTjcj/src/ConnectionPool.jl:707
in expression starting at /data/data/com.termux/files/home/.julia/packages/HTTP/aTjcj/src/HTTP.jl:39
ERROR: LoadError: Failed to precompile HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3] to /data/data/com.termux/files/home/.julia/compiled/v1.5/HTTP/zXWya_SSS1j.ji.
in expression starting at /data/data/com.termux/files/home/.julia/packages/Telegram/ojnYc/src/Telegram.jl:2
ERROR: Failed to precompile Telegram [1da6f4ae-116c-4c38-8ee9-19974ff3601d] to /data/data/com.termux/files/home/.julia/compiled/v1.5/Telegram/4JOlJ_SSS1j.ji.

Anyone knows how to fix this???

@giordano
Copy link

giordano commented Mar 22, 2022

Can you please post the output of versionsinfo()? Also, how did you install Julia?

@SastaDev
Copy link

SastaDev commented Mar 22, 2022

julia> versioninfo()
Julia Version 1.5.1
Commit 2e48cbb3b7* (2020-09-09 21:48 UTC)
Platform Info:
  OS: Linux (aarch64-unknown-linux-android)
ERROR: IOError: uv_cpu_info: permission denied (EACCES)

julia>

I installed julia in termux (android)

Here's how:

  1. pkg install wget

  2. wget https://its-pointless.github.io/setup-pointless-repo.sh

  3. bash setup-pointless-repo.sh

  4. pkg install julia

The julia got installed successfully, after that i tried to install telegram using pkg>add Telegram
It also got successfully installed when i tried to import it it's show the error:

ERROR: LoadError: LoadError: UndefVarError: libmbedtls not defined
in expression starting at /data/data/com.termux/files/home/.julia/packages/HTTP/aTjcj/src/ConnectionPool.jl:707
in expression starting at /data/data/com.termux/files/home/.julia/packages/HTTP/aTjcj/src/HTTP.jl:39
ERROR: LoadError: Failed to precompile HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3] to /data/data/com.termux/files/home/.julia/compiled/v1.5/HTTP/zXWya_SSS1j.ji.
in expression starting at /data/data/com.termux/files/home/.julia/packages/Telegram/ojnYc/src/Telegram.jl:2
ERROR: Failed to precompile Telegram [1da6f4ae-116c-4c38-8ee9-19974ff3601d] to /data/data/com.termux/files/home/.julia/compiled/v1.5/Telegram/4JOlJ_SSS1j.ji.

@giordano
Copy link

Sadly Julia isn't supported on Android 🙂

@cke0devel
Copy link

MbedTLS version : 1.1.0
julia version : 1.7.3
OS: arch linux

ERROR: LoadError: InitError: SystemError: opening file "/usr/share/julia/cert.pem": No such file or directory          
Stacktrace:                                                                                                            
 [1] open                                                                                                              
   @ ./io.jl:328 [inlined]                                                                                             
 [2] read(filename::String, #unused#::Type{String})                                                                    
   @ Base ./io.jl:436                                                                                                  
 [3] __sslinit__()                                                                                                     
   @ MbedTLS ~/.julia/packages/MbedTLS/qUI5E/src/ssl.jl:785                                                            
 [4] __init__()                                                                                                        
   @ MbedTLS ~/.julia/packages/MbedTLS/qUI5E/src/MbedTLS.jl:55                                                         
 [5] include(x::String)                                                                                                
   @ IJulia ~/.julia/packages/IJulia/AQu2H/src/IJulia.jl:33                                                            
 [6] top-level scope                                                                                                   
   @ ~/.julia/packages/IJulia/AQu2H/src/IJulia.jl:309                                                                  
 [7] top-level scope (repeats 2 times)                                                                                 
   @ none:1                                                                                                            
during initialization of module MbedTLS

workaound

  1. download pem file directly
    https://curl.haxx.se/ca/cacert-2022-03-29.pem
  2. copy downloaded file to '/usr/share/julia/cert.pem'

@KwatMDPhD
Copy link

Hi all,

I'm using Comonicon (which uses PackageCompiler) to make a command line tool. However, the final build sees the same error. @cke0devel 's solution fixed it.

GSEA-MSigDB/GSEA2.jl#59

Who is supposed to make sure that cert.pem exists where it supposed to be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants