When installing odoo, GIT clone downloads odoo and reports an error
error: RPC failed; result=35, HTTP code = 0
[odoo@node02 src]$ git clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 /opt/odoo/odoo14
Cloning into '/opt/odoo/odoo14'...
error: RPC failed; result=35, HTTP code = 0
fatal: The remote end hung up unexpectedly
The Internet says the error cache is small
Solution: set the cache to 50m or greater
I set 50m
git config --global http.postBuffer 50M
The above error does not appear, but a new error appears
[odoo@node02 src]$ git config --global http.postBuffer 50M
[odoo@node02 src]$ git clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 /opt/odoo/odoo14
Cloning into '/opt/odoo/odoo14'...
fatal: unable to access 'https://www.github.com/odoo/odoo/': Encountered end of file
This is a mistake, fatal: unable to access ‘ https://www.github.com/odoo/odoo/ ’: Encountered end of file
clicking on the Internet:
git config –global http.proxy
git config –global –unset http.proxy
or not.
[odoo@node02 src]$ git config --global http.proxy
[odoo@node02 src]$ git config --global --unset http.proxy
[odoo@node02 src]$ git clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 /opt/odoo/odoo14
Cloning into '/opt/odoo/odoo14'...
fatal: unable to access 'https://www.github.com/odoo/odoo/': Encountered end of file
[odoo@node02 src]$ rm ~/.gitconfig
[odoo@node02 src]$ git clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 /opt/odoo/odoo14
Cloning into '/opt/odoo/odoo14'...
fatal: unable to access 'https://www.github.com/odoo/odoo/': Encountered end of file
The ultimate solution:
change HTTPS to GIT and you will succeed in Git clone git://www.github.com/ ****
[odoo@node02 src]$ git clone git://www.github.com/odoo/odoo --depth 1 --branch 14.0 /opt/odoo/odoo14
Cloning into '/opt/odoo/odoo14'...
remote: Enumerating objects: 31507, done.
remote: Counting objects: 100% (31507/31507), done.
remote: Compressing objects: 100% (25092/25092), done.
Receiving objects: 20% (6511/31507), 22.17 MiB | 64.00 KiB/s
Read More:
- [Solved] error: RPC failed; result=35, HTTP code = 0
- [Solved] error: RPC failed; result=28, HTTP code = 0
- Git Clone RPC failed;curl 18 transfer closed with outstanding read data remaining
- Ubuntu: How to deal with the fatal: the remote end hung up unexpected error of GIT clone Android kernel
- Git Push Error: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
- Git Clone Error: ‘fatal: HTTP request failed‘
- Github Clone Failed SSL_ERROR_SYSCALL in connection to github.com:443
- [Solved] Git Clone Failed Error: 4069 bytes of body are still expected
- [Solved] ERROR: Command errored out with exit status 128: git clone -q
- [Solved] Clone Linux Code Error: server certificate verification failed. CAfile: none CRLfile: none
- How to Solve Git Filename too long Error
- [Solved] git error – remote: http basic: access denied
- [Solved] Git push error: failed to push some refs to ‘[email protected]:daisy_yangyang/fed-e-task-04-01.git‘
- Git Error: remote: HTTP Basic: Access denied [How to Solve]
- Solve git upload file error [rejected] master -> master (fetch first) error: failed to push some refs to ‘
- AFTER THE GIT SOURCE CODE IS INSTALLED, AN ERROR IS REPORTED /USR/BIN/GIT: NO SUCH FILE OR DIRECTORY
- [Solved] Git Error: OpenSSL SSL_read: Connection was reset, errno 10054和Failed to connect to github.com port 443
- [Solved] Git Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- How to Solve Ubuntu “Failed to fetch” Error
- Git Error Resolution: errno:10054 Time out