Print error message when there is dns failure, auth failure.