Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B81B1930E for ; Mon, 7 Mar 2016 22:45:08 +0000 (UTC) Received: (qmail 92625 invoked by uid 500); 7 Mar 2016 22:45:08 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 92565 invoked by uid 500); 7 Mar 2016 22:45:08 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 92554 invoked by uid 99); 7 Mar 2016 22:45:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 22:45:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8CE0BDFAD9; Mon, 7 Mar 2016 22:45:07 +0000 (UTC) From: ustcweizhou To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: CLOUDSTACK-9285 for 4.7.x Content-Type: text/plain Message-Id: <20160307224507.8CE0BDFAD9@git1-us-west.apache.org> Date: Mon, 7 Mar 2016 22:45:07 +0000 (UTC) Github user ustcweizhou commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1430#discussion_r55286730 --- Diff: agent/src/com/cloud/agent/Agent.java --- @@ -412,7 +412,8 @@ protected void reconnect(final Link link) { try { _connection.start(); } catch (final NioConnectionException e) { - throw new CloudRuntimeException("Unable to start the connection!", e); + s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again..."); --- End diff -- 1. I think you should fix line 230/238, that's the root cause of the issue. line 415 is not. 2. line 416 can be removed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---