The requested URL returned error: 407

0

I am having gitlab server running at ubuntu and i am able to clone/push the code from different windows pc’s using (putty/github desktop) but i am not able to clone inside the server when i connect to the server through putty .

following error displayed when tried to clone.
‘’’$ git clone http://16x.1xx.xxx.xx:xxx1/develop/androidivi.git’’’ Cloning into ‘androidivi’…
fatal: unable to access ‘http://16x.1xx.xxx.xx:xxx1/develop/androidivi.git/’: The requested URL returned error: 407

I’m not an expert on networking but I don’t think this is an issue with GitLab (I could be totally wrong here) - it’s probably the network you have set up.

The HTTP status code returned is 407: Proxy Authentication Required

yeah that’s what i also feel, but i am not able to understand how its working fine with windows git client tools without any additional network/proxy settings and i am facing this problem in virtual machine (ubuntu) and in putty (win 10) only.

Also i have setup the http.proxy in gitconfig but still its not working !

If you are on the Gitlab server proper, you can try http://localhost/develop/androidivi.git

Hello, try this:

git clone https://HOST/user/project.git --config “http.proxy=IP:PORT”

or

git config --global https.proxy http://user:password@ip:port
git config --global http.proxy http://user:password@ip:port
git config --global http.sslVerify false

I have the same settings but still not working and same error is coming up

i tried this command but still same error. :slightly_frowning_face: