Fix "getaddrinfo: Unknown error"