# Failed to download from https://pkg.julialang.org/registry

**URL:** <https://discourse.julialang.org/t/failed-to-download-from-https-pkg-julialang-org-registry/107225>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [December 6, 2023, 4:24pm UTC](https://discourse.julialang.org/t/failed-to-download-from-https-pkg-julialang-org-registry/107225 "2023-12-06T16:24:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michelg45](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michelg45/32/19398_2.png) [@michelg45](https://discourse.julialang.org/u/michelg45)\
**Post date:** [December 6, 2023, 4:24pm UTC](https://discourse.julialang.org/t/failed-to-download-from-https-pkg-julialang-org-registry/107225/1 "2023-12-06T16:24:36Z")

</div>

I am running Julia 1.9.4 in a Linux partition (Ubuntu 22.04.02 LTS) under Windows 11 / WSL.

I am trying to create a project template using the following file (Template.Judyn.jl) with the command

using PkgTemplates  
include(“Template.JuDyn.jl”)  
tmpl(“JuDyn”)

# File

# using PkgTemplates tmpl = Template(; user=“mgeradin”, authors=“Michel Geradin [mgeradin@gmail.com](mailto:mgeradin@gmail.com) and contributors”, dir=“~/Projects/Julia/JUDYN”, host=“[https://github.com](https://github.com)”, julia=v"1.8", plugins=[ProjectFile(; version=v"0.0.1"), SrcDir(), Tests(; project=true), Readme(; destination=“README.md”), License(; name=“MIT”, path=nothing, destination=“LICENSE.md”), Git(; ignore=String[“.jld”, “src/.h5”, “test/.jld”, “test/src/.h5”], name=nothing, email=nothing, ssh=false, jl=true, manifest=true, gpgsign=false), Documenter{Nothing}(; assets=String, logo=Logo(), canonical\_url=nothing, devbranch=nothing, edit\_link=:devbranch, makedocs\_kwargs=Dict{Symbol,Any}()), ], )

and I get the following output

# julia\> tmpl(“JuDyn”)

[ Info: Running prehooks  
[ Info: Running hooks  
Activating new project at `~/Projects/Julia/JUDYN/JuDyn/test`  
Updating registry at `~/.julia/registries/General.toml`  
┌ Error: Some registries failed to update:  
│ — /home/michel22/.julia/registries/General.toml — failed to download from [https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/128add4e3c418c723616a4edc835a57711149afc](https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/128add4e3c418c723616a4edc835a57711149afc). Exception: RequestError: HTTP/2 200 (Failed receiving HTTP2 data: 56(Failure when receiving data from the peer)) while requesting [https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/128add4e3c418c723616a4edc835a57711149afc](https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/128add4e3c418c723616a4edc835a57711149afc)  
└ @ Pkg.Registry /opt/julia-1.9.4/share/julia/stdlib/v1.9/Pkg/src/Registry/Registry.jl:510  
Resolving package versions…  
Updating `~/Projects/Julia/JUDYN/JuDyn/test/Project.toml`  
[8dfed614] + Test  
Updating `~/Projects/Julia/JUDYN/JuDyn/test/Manifest.toml`  
[2a0f44e3] + Base64  
[b77e0a4c] + InteractiveUtils  
[56ddb016] + Logging  
[d6f4376e] + Markdown  
[9a3f8284] + Random  
[ea8e919c] + SHA v0.7.0  
[9e88b42a] + Serialization  
[8dfed614] + Test  
Activating project at `~/.julia/environments/v1.9`  
Activating new project at `~/Projects/Julia/JUDYN/JuDyn/docs`  
Resolving package versions…  
Downloaded artifact: OpenSSL  
Downloaded artifact: OpenSSL  
Activating project at `~/.julia/environments/v1.9`  
ERROR: Unable to automatically download/install artifact ‘OpenSSL’ from sources listed in ‘/home/michel22/.julia/packages/OpenSSL\_jll/OoZAG/Artifacts.toml’.  
Sources attempted:

- [https://pkg.julialang.org/artifact/ae704eae3dc4960eeba012795147a52e3420ddc9](https://pkg.julialang.org/artifact/ae704eae3dc4960eeba012795147a52e3420ddc9)  
Error: RequestError: HTTP/2 200 (Failed receiving HTTP2 data: 56(Failure when receiving data from the peer)) while requesting [https://pkg.julialang.org/artifact/ae704eae3dc4960eeba012795147a52e3420ddc9](https://pkg.julialang.org/artifact/ae704eae3dc4960eeba012795147a52e3420ddc9)
- [https://github.com/JuliaBinaryWrappers/OpenSSL\_jll.jl/releases/download/OpenSSL-v3.0.12+0/OpenSSL.v3.0.12.x86\_64-linux-gnu.tar.gz](https://github.com/JuliaBinaryWrappers/OpenSSL_jll.jl/releases/download/OpenSSL-v3.0.12+0/OpenSSL.v3.0.12.x86_64-linux-gnu.tar.gz)  
Error: RequestError: HTTP/2 200 (Failed receiving HTTP2 data: 56(Failure when receiving data from the peer)) while requesting [https://github.com/JuliaBinaryWrappers/OpenSSL\_jll.jl/releases/download/OpenSSL-v3.0.12+0/OpenSSL.v3.0.12.x86\_64-linux-gnu.tar.gz](https://github.com/JuliaBinaryWrappers/OpenSSL_jll.jl/releases/download/OpenSSL-v3.0.12+0/OpenSSL.v3.0.12.x86_64-linux-gnu.tar.gz)

Stacktrace: …

=============================================================

Can you tell me how to resolve the problem? It seems to be an problem of authorization.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [December 6, 2023, 11:07pm UTC](https://discourse.julialang.org/t/failed-to-download-from-https-pkg-julialang-org-registry/107225/2 "2023-12-06T23:07:45Z")

</div>

Are you behind a proxy or firewall or something similar?
