using below function it will fix the connection releted issue with the server just replace the existing function to this one in library file
def connect(self):
print('Connecting to %s:%d...' % (self.server, self.port))
try:
addrinfo = socket.getaddrinfo(self.server, self.port)
if not addrinfo:
raise OSError("Failed to get address info")
using below function it will fix the connection releted issue with the server just replace the existing function to this one in library file def connect(self): print('Connecting to %s:%d...' % (self.server, self.port)) try: addrinfo = socket.getaddrinfo(self.server, self.port) if not addrinfo: raise OSError("Failed to get address info")