# Pkg.add() through proxy fails on Julia 0.5, Windows

**URL:** https://discourse.julialang.org/t/pkg-add-through-proxy-fails-on-julia-0-5-windows/687
**Category:** General Usage
**Created:** [December 2, 2016, 4:11am UTC](https://discourse.julialang.org/t/pkg-add-through-proxy-fails-on-julia-0-5-windows/687 "2016-12-02T04:11:30Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![pyrex41](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@pyrex41](https://discourse.julialang.org/u/pyrex41)
#### Post date: [January 12, 2017, 12:06pm UTC](https://discourse.julialang.org/t/pkg-add-through-proxy-fails-on-julia-0-5-windows/687/14 "2017-01-12T12:06:31Z")

</div>

i have determined that libgit2 is looking at the config files in c:/Users/user and in c:/ProgramData/Git; when I make incorrectly formatted edits in text editor, I get a different error with Pkg.init() (failed to parse file…). What then is causing errors with proxy in libgit?

1. possibly another gitconfig file that is overriding these two? I can’t find one though.
2. some kind of problem with special characters? I’ve tried encoding th…works fine with git from cmd prompt or powershell, but maybe libgit is different?

My error at Pkg.init() still reads the same:

GitError(Code:ERROR, Class:OS, Failsd to set proxy: the parameter is incorrect.)…

---

_[View the full topic](https://discourse.julialang.org/t/pkg-add-through-proxy-fails-on-julia-0-5-windows/687)._
