I have this error I cannot connect to the proxy I spend 4-5 hours fiddling with the web looking for clues but I cannot resolve this issue..
I am using windows azure and I am having only proxy problem.
My commands are as follows:
1.Connecting with proxy
git config --global http.proxy http://<username>:<password>@mapevent.azurewebsites.net:443
2.Clone Error
git clone https://<username>@mapevent.scm.azurewebsites.net:443/mapevent.git
Cloning into 'mapevent' ...
fatal: unable to access 'https://<username>@mapevent.scm.azurewebsites.net:443/mapevent.git/': Recv failure: Connection was reset
I have also tried with port 8080 but says "cannot resolve" and use push but all seem to fail.
I am new to Git and I am not progressing :(
Please help me, I have a project to complete in the next few weeks.
You can avoid being prompted for your password by configuring Git to cache your credentials for you. Once you've configured credential caching, Git automatically uses your cached personal access token when you pull or push a repository using HTTPS.
To do so, you need to navigate to the correct folder and then run the command git init , which will create a new empty Git repository or reinitialize an existing one.
It seems that http://mapevent.azurewebsites.net/ doesn't need a proxy. It is part of the remote origin url which you want to clone, but the page "How to Deploy an Azure Web Site" doesn't mention "proxy" at all. Not does the page using Git.
So make sure to remove the proxy, and try to clone:
git config --global --unset-all http.proxy
If you were to need a proxy to access to internet, you should already have HTTP_PROXY
(and HTTPS_PROXY
) environment variables in place (as I mention in "could not resolve host github.com
error while cloning remote repository in git").
But that proxy url (should you actually use one) would certainly not be '<username>:<password>@mapevent.azurewebsites.net:443
': that is part of the url you want to clone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With