fix the connection to the server was unsuccessful