2

I am not root user of a HPC, where I install julia on my own path and I want to add some julia packages like Plots. However when using Pkg.add, it cannot connect to the target website

enter image description here

How can I fix it?

Xu Fe
  • 71
  • 3
  • 1
    Are you completely sure the server is not network isolated? Could you run `curl https://github.com` and `curl https://pkg.julialang.org/registries` in a remote session and check whether any errors show up? – Agustín Covarrubias May 16 '22 at 07:29
  • It reports error: curl: (35) SSL connect error. But I can install julia through `wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.2-linux-x86_64.tar.gz` – Xu Fe May 16 '22 at 10:58
  • As far as I remember Julia uses external system tools to download files. It seems that they have misconfigred certificates. I would try `sudo yum update` – Przemyslaw Szufel May 16 '22 at 14:13
  • But I am not a root user – Xu Fe May 17 '22 at 01:23
  • @XuFe we can't do much without more information about the system. Possible explanations are bad root certificates on the machine or bad system clocks, among others. I would probably contact your system administrator, since this doesn't seem to be Julia's fault. – Agustín Covarrubias May 19 '22 at 05:07

0 Answers0