Exception occurred while attempting to register the client