“error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated”

I was getting this error while cloning NuttX from bitbucket:

$ git clone https://bitbucket.org/nuttx/nuttx
Cloning into 'nuttx'…
remote: Counting objects: 439969, done.
remote: Compressing objects: 100% (78355/78355), done.
remote: Total 439969 (delta 345594), reused 435147 (delta 342580)
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Receiving objects: 100% (439969/439969), 105.40 MiB | 807.00 KiB/s, done.
Resolving deltas: 100% (345594/345594), done.

I fixed it this way:

$ git config --global http.postBuffer 524288000
$ git config --global https.postBuffer 524288000
$ git config --global core.compression -1

I found the solution to this issue here:

https://blog.csdn.net/qq_34121797/article/details/79561110

2 thoughts on ““error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated”

  1. Hi Alan,
    I had to also disable sslverify:

    $ git config –global http.sslVerify false

    Um abraço,
    Rogerio

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s