# Unable to update git project behind a proxy

**URL:** <https://forum.ansible.com/t/unable-to-update-git-project-behind-a-proxy/33537>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [July 31, 2020, 7:21pm UTC](https://forum.ansible.com/t/unable-to-update-git-project-behind-a-proxy/33537 "2020-07-31T19:21:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dxc\_automation](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dxc\_automation](https://forum.ansible.com/u/dxc_automation)\
**Post date:** [July 31, 2020, 7:21pm UTC](https://forum.ansible.com/t/unable-to-update-git-project-behind-a-proxy/33537/1 "2020-07-31T19:21:54Z")

</div>

Hi everyone.

I have installed a new kubernetes cluster and deployed AWX 13.  
I’m able to access the web console and try a few pings to check if the servers were reachable. But, I’m having a problem to synchronize our projects on git.

I try to put the proxy variables on Settings → Jobs → Environment Variables

{  
“HOME”: “/var/lib/awx”,  
“https\_proxy”: “xxxx”,  
“http\_proxy”: “xxxx”,  
“no\_proxy”: “xxxx”  
}

But I’m getting the following error:

fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Failed to checkout branch master”, “rc”: 1, “stderr”: “error: pathspec ‘master’ did not match any file(s) known to git.\n”, “stderr\_lines”: [“error: pathspec ‘master’ did not match any file(s) known to git.”], “stdout”: “”, “stdout\_lines”: }

I have also tried run the git command by connecting directly to the pod and it works. But I had to export the http\_proxy variable.  
I believe the problem is related with the proxy at a system level.

Is it possible to modfiy the config maps to add the variable or I will have to change the deployment to add the env variable at pod level?

Thanks,  
Daniel
