Bypass or allow in transparent squid proxy (gnutls_handshake failed)

Hi, we have configured transparent squid proxy in our environment and allowed the in our squid.conf file. When we are trying to clone any repository in docker container running in the same.

It is getting failed with an error: “fatal: unable to access ‘’: gnutls_handshake() failed: The TLS connection was non-properly terminated.”

Access.log message from squid is as below:
1592071580.522 80 x.x.x.x TAG_NONE/200 0 CONNECT ORIGINAL_DST/ -