How to Solve Error: error: The requested URL returned error: 401 Unauthorized while accessing
Problem:
Error: error: The requested URL returned error: 401 Unauthorized while accessing
git version1.7.1
Solution 1: Assign a user
git clone https://github.com/org/project.git
change to
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, then you need to change the remote address
git remote set-url origin https://[email protected]/org/project.git
Solution 2: Remove validation
git config -global http.sslverify false
Solution 3: (recommended)
Upgrade git version ≥ 1.7.10
Solution 4:
Add ssh secret key
Similar Posts:
- [Solved] Github Push Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- [Solved] Git Error: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
- error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- Git error: requested URL returned error: 403
- git push The requested URL returned error: 403 Forbidden while accessing
- SSL certificate problem in Git: unable to get local issuer certificate error
- Git clone Error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- IDEA unable to access ‘https://github.com/Blank/xxx.git/’: error setting certificate verif
- How to Solve Gitlab Error: remote: The project you were looking for could not be found.
- [Solved] Git Submit Error: (OpenSSL SSL_read: Connection was reset, errno 10054)