407 error when accessing git repository

Table of Contents

Symptom

When access git for operations, below error occurred:

fatal: unable to access '***': The requested URL returned error: 407

Cause

It is going through a proxy to access git repository and the proxy authentication is failed.

My case is because I set proxy in Windows environment variables but actually it is not required.

Solution

  1. Use correct credentials if proxy is required.
  2. Remove the proxies in git configuration and Windows environments.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

Back to Top