Git http-407-proxy-connect The corporate proxy answered the tunnel request with HTTP 407, demanding authentication.
Reviewed for reference consistency: August 11, 2026
Code is Safe
SECUREGit has paused the operation to protect your code. No data has been lost or corrupted.
What To Know
Where Did It Fail?
Commands That Trigger This
Technical Background
407 is the proxy's own verdict, distinct from the origin server's opinion: the tunnel to the outside world never opened, so nothing about the repository, its permissions, or its existence was ever evaluated.
Git's HTTP layer recognizes the 407 code specifically — it treats the reply as a proxy-credential rejection and clears the remembered proxy authentication so the next attempt starts fresh. SSH remotes bypass the HTTP proxy entirely, which is why the same repository may work over SSH on the same network.
Underlying Causes
Frequently Asked Questions
CONNECT is the HTTP method used to open a tunnel through a proxy for TLS traffic; 407 is the proxy refusing to open it until its own authentication succeeds.
No. The failure precedes any contact with the hosting service — the proxy stopped the tunnel before the repository URL was ever evaluated.
Related Git States
The server rejected your credentials during an HTTPS connection.
Your computer's DNS could not find the IP address for the remote repository's domain name.
The connection to the server was closed abruptly before Git finished transferring data.
The underlying HTTP client (cURL) failed to complete the network request.