log some error description when server connection encountered a problem