# ERROR: failed to clone from GitHub

**URL:** https://discourse.julialang.org/t/error-failed-to-clone-from-github/119403
**Category:** General Usage
**Tags:** question, package
**Created:** [September 14, 2024, 1:10pm UTC](https://discourse.julialang.org/t/error-failed-to-clone-from-github/119403 "2024-09-14T13:10:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)
#### Post date: [September 14, 2024, 1:10pm UTC](https://discourse.julialang.org/t/error-failed-to-clone-from-github/119403/1 "2024-09-14T13:10:02Z")

</div>

I suddenly can’t add packages from github, for example:

```julia
(jl_WqeLMM) pkg> add https://github.com/JuliaPolyhedra/Polyhedra.jl#master
     Cloning git-repo `https://github.com/JuliaPolyhedra/Polyhedra.jl`
ERROR: failed to clone from https://github.com/JuliaPolyhedra/Polyhedra.jl, error: GitError(Code:ERROR, Class:HTTP, invalid URL: 'socks5://127.0.0.1:7890')

```

---

<div class="post-metadata">

### Author: ![heliosdrm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heliosdrm/32/3851_2.png) [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)
#### Post date: [September 14, 2024, 5:00pm UTC](https://discourse.julialang.org/t/error-failed-to-clone-from-github/119403/2 "2024-09-14T17:00:19Z")

</div>

Looks like the problem reported (and solved) here:

> **[cannot clone or push :Unsupported proxy syntax in 'socks:127.0.0.1:9150' ·...](https://github.com/orgs/community/discussions/52636)**
>
> Select Topic Area Bug Body I am using github desktop and git for windows. When cloning it shows :Cloning into 'C:\\Users... fatal: unable to access 'https://github.com/.......git/': Unsupported prox...

---

<div class="post-metadata">

### Author: ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)
#### Post date: [September 15, 2024, 4:17am UTC](https://discourse.julialang.org/t/error-failed-to-clone-from-github/119403/3 "2024-09-15T04:17:56Z")

</div>

Thank you. But I tried the command `git config --global --get http.proxy` and got no output.
