Can't repo sync

  • GnuTLS recv error (-54): Error in the pull function.
  • stopped the pause stream!
  • Closing connection 0
    error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
    22:46:06.880330 git.c:344 trace: built-in: git fetch --progress github --tags ‘+refs/tags/:refs/tags/’ ‘+refs/heads/:refs/remotes/github/
    22:46:06.882517 run-command.c:646 trace: run_command: git-remote-https github https://github.com/khadas/android_system_extras
  • Couldn’t find host github.com in the .netrc file; using defaults
  • Trying 192.30.253.112…
  • TCP_NODELAY set
  • Connected to github.com (192.30.253.112) port 443 (#0)
  • found 133 certificates in /etc/ssl/certs/ca-certificates.crt
  • found 402 certificates in /etc/ssl/certs
  • ALPN, offering http/1.1
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
  •    server certificate verification OK
    
  •    server certificate status verification SKIPPED
    
  •    common name: github.com (matched)
    
  •    server certificate expiration date OK
    
  •    server certificate activation date OK
    

It always reports such mistakes. How to solve them?

Thank you!