Problem
Reported error: error: The requested URL returned error: 401 Unauthorized while accessing
git version: 1.7.1
Solution 1: Specify the user
git clone https://github.com/org/project.git
Replace it with
git clone https://[email protected]/org/project.git
or
git clone https://username:[email protected]/org/project.git
If it appears in push or pull, you need to change the remote address
git remote-set-url origin https://[email protected]/org/project.git
Solution 2: Remove authentication
git config -global http.sslverify false
Solution 3: (recommended)
Upgrade git to version ≥ 1.7.10
Solution 4
Add ssh secret key
Read More:
- GitHub push ErrorThe requested URL returned error: 403 Forbidden while accessing
- Solving GitHub push error: the requested URL returned error:403 Forbidden while accessing
- push failed The requested URL returned error: 403
- Git error: requested URL returned error: 403
- Error: RPC failed; HTTP 504 curl 22 the requested URL returned error: 504 gateway time out
- Girl: RPC failed; HTTP 411 curl 22 the requested URL returned error: 411 length required:
- Git error: the requested URL returned error: 500
- curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ig
- Error in brew install: curl: (22) the requested URL returned error: 404 Not Found
- Solve GitHub push error 403 Forbidden while accessing
- How to Fix Error accessing PRODUCT_USER_PROFILE
- To solve the problem of nginx accessing PHP file into download
- Install apache2.4 on windows to solve the problem of the requested operation has failed
- HTTP Error 401.1 – Unauthorized:Access is denied due to invalid credentials
- You must be logged in to the server (unauthorized)
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict
- How to solve problems like curl: (7) failed to connect to raw.githubusercontent.com Port 443: problem with connection used
- The request failed with HTTP status 401: Unauthorized. SSRS 2008
- How to use vimdiff to solve conflict?
- Solve the red letter prompt “sub process / usr / bin / dpkg returned an error code (2) in Cydia