git clone error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was…
- User
git clone error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
- Assistant
This error typically occurs when there is an issue with the TLS handshake during cloning a git repository. Here are a few steps you can try to resolve this issue:
-
Retry the clone operation: Sometimes the error can be transient, so it's worth trying the clone operation again.
-
Check your network connection: Ensure that your internet connection is stable and not experiencing any disruptions. You may also try using a different network or VPN to see if that resolves the issue.
-
Update Git and curl: Make sure you are using the latest versions of Git and curl, as older versions may have compatibility issues with TLS connections.
-
Use the HTTPS protocol: If you are using the SSH protocol for cloning, try using the HTTPS protocol instead. You can update the remote URL with the following command:
code
-