Connection failure due to TLS 1.0 and TLS 1.1 deprecation