Deployment failed at "copy project" with gnutls_handshake() failed: The TLS connection was non-properly terminated

How can I resolve this error:

Copy Project 20231022012552364
Cloning xxxx/xxxx:main to /home/cleavr/xxxxx/releases/20231022012552364
fatal: unable to access 'https://github.com/xxxx/xxxx/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

There was a second deployment shown as still executing bevore this deploment with error. The deployment hook was called accidentally twice at nearly same time.

Thanks Roman

Restarting nginx solved this. But this error occured also when the deploment stopped in “Build Assets”-Deploment hook, because of a coding error in the app. So I had to restart nginx again. Maybe there is a way to avoid this problem (except testing the app code :wink:

1 Like