Git cloning error: RPC error; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

I have problems with repon cloning on git. I tried for many days and tried quite a few solutions (in most cases the problem was slightly different, but seemed to apply), but nothing did anything to change the situation.

I tried to disable anti-v irus and firewall, but that did not help. I also tried uninstalling and reinstalling the network adapter drivers (and restarting the computer), and this did not work.

From what I understand, the problem with the network is somewhere when the remote server is holding on, but I can’t cope with this problem anywhere.

Using git clone -v --progress seemed to give the same result as git clone. Exiting git clone -v --progress https://github.com/mit-cml/appinventor-sources.git

Cloning to "appinventor-sources" ...
POST git-upload-pack (gzip 1425 to 774 bytes)
remote: counting objects: 41649, done.
remote: Object compression: 100% (7/7), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the far end unexpectedly hung up
fatal: early EOF
fatal: index packet failed

I now tried to increase the buffer again

git config --global http.postBuffer 1048576000

but still nothing.

. , git .

+34
10

:

git config http.postBuffer 524288000

- git, , ( git bash), git .

!

+38

, , . , (45 /). .

+12

(: 2.19.2) (: 2.21.0) git client .

+5

, @ingyhere answer .
, .

git config --global core.compression 0
git clone --depth 1 <repo_URI>
# cd to your newly created directory
git fetch --unshallow 
git pull --all
+2

.

+2

SSL_ERROR_SYSCALL, errno 10054.

SSL, .gitconfig ( c ). sslverify false .

sslVerify = 'false' //make sslVerify as false    
[user]
    name = '***<Enter your name>**'
    email = '**<Email Id>**'
+1

I moved the dependency list to the end

#Pods for <app>

In the file. Like this:

    # Uncomment the next line to define a global platform for your project
    # platform :ios, '9.0'

    target '<app>' do
    # Comment the next line if you don't want to use dynamic frameworks
    use_frameworks!

  # Pods for <app>

  target '<app>Tests' do
    inherit! :search_paths
    # Pods for testing
  end

  target '<app>UITests' do
    inherit! :search_paths
    # Pods for testing
  end

    pod 'Firebase/Core'
    pod 'Firebase/Database'

end
0
source

This happens when you click for the first time without a network connection or a bad network connection. But when you try to use a good connection again 2.3 times, the problem will be solved.

0
source

Source: https://habr.com/ru/post/1685719/


All Articles