connection fails due to a TLS error, which looks to be a common Python problem

ssl.SSLError: [Errno 8] _ssl.c:507: EOF occurred in violation of protocol