Warning: could not download https://pkg.julialang.org/registries

I have managed to install some packages on Julia 1.6.1.
But I get the following alert:
Warning: could not download https://pkg.julialang.org/registries

(@v1.6) pkg> add ColorSchemes
    Updating registry at `C:\Users\Hermesr\.julia\registries\General`
ā”Œ Warning: could not download https://pkg.julialang.org/registries
ā”” @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:980
   Resolving package versions...
    Updating `C:\Users\Hermesr\.julia\environments\v1.6\Project.toml`
  [35d6a980] + ColorSchemes v3.12.0
  No Changes to `C:\Users\Hermesr\.julia\environments\v1.6\Manifest.toml`

(@v1.6) pkg> st
      Status `C:\Users\Hermesr\.julia\environments\v1.6\Project.toml`
  [35d6a980] ColorSchemes v3.12.0
  [dc211083] Gnuplot v1.3.0
  [ade2ca70] Dates

It is possible that because of this alert I cannot install other packages, for example Plots ā€¦

(@v1.6) pkg> add Plots
   Resolving package versions...
     Cloning [02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a] XML2_jll from https://github.com/JuliaBinaryWrappers/XML2_jll.jl.git
ERROR: failed to clone from https://github.com/JuliaBinaryWrappers/XML2_jll.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

#and This Work:
(@v1.6) pkg> add Gaston
   Resolving package versions...
    Updating `C:\Users\Hermesr\.julia\environments\v1.6\Project.toml`
  [4b11ee91] + Gaston v1.0.4
    Updating `C:\Users\Hermesr\.julia\environments\v1.6\Manifest.toml`
  [4b11ee91] + Gaston v1.0.4
  [8bb1440f] + DelimitedFiles
  [a63ad114] + Mmap
Precompiling project...
  1 dependency successfully precompiled in 3 seconds (15 already precompiled)

(@v1.6) pkg> st
      Status `C:\Users\Hermesr\.julia\environments\v1.6\Project.toml`
  [35d6a980] ColorSchemes v3.12.0
  [4b11ee91] Gaston v1.0.4
  [dc211083] Gnuplot v1.3.0
  [ade2ca70] Dates

(@v1.6) pkg>
1 Like

from

  Version 1.6.1 (2021-04-23)
 Official https://julialang.org/ release

julia> import Downloads

julia> Downloads.download("https://pkg.julialang.org/registries", stdout);
ERROR: schannel: failed to receive handshake, SSL/TLS connection failed while requesting https://pkg.julialang.org/registries
Stacktrace:
  [1] (::Downloads.var"#9#18"{Base.TTY, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool})(easy::Downloads.Curl.Easy)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:356
  [2] with_handle(f::Downloads.var"#9#18"{Base.TTY, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool}, handle::Downloads.Curl.Easy)
    @ Downloads.Curl C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Curl\Curl.jl:60
  [3] #8
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:298 [inlined]
  [4] arg_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool}, arg::Base.TTY)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:112
  [5] #7
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:297 [inlined]
  [6] arg_read
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:61 [inlined]
  [7] request(url::String; input::Nothing, output::Base.TTY, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, throw::Bool, downloader::Nothing)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:296
  [8] (::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String})(output::Base.TTY)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:209
  [9] arg_write(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String}, arg::Base.TTY)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:112
 [10] #download#2
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:208 [inlined]
 [11] download(url::String, output::Base.TTY)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:208
 [12] top-level scope
    @ REPL[2]:1

julia>
1 Like