407 error when accessing git repository

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