Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C17B1200C7E for ; Tue, 23 May 2017 14:56:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C007D160BC3; Tue, 23 May 2017 12:56:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1374B160BB6 for ; Tue, 23 May 2017 14:56:20 +0200 (CEST) Received: (qmail 2243 invoked by uid 500); 23 May 2017 12:56:19 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 2212 invoked by uid 99); 23 May 2017 12:56:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2017 12:56:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7F7EA1AFB83 for ; Tue, 23 May 2017 12:56:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.38 X-Spam-Level: X-Spam-Status: No, score=0.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id DndSmQrWekEJ for ; Tue, 23 May 2017 12:56:16 +0000 (UTC) Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3B7635FBC1 for ; Tue, 23 May 2017 12:56:16 +0000 (UTC) Received: by mail-vk0-f52.google.com with SMTP id x71so57169919vkd.0 for ; Tue, 23 May 2017 05:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=YyI7AMFJLV9i+2MWax7snfwwb6f9wFDdAiToQAmj410=; b=USG7EuPWEA5SBVptutuwWAFAZDfm7tPZQFxXGtxR/fz9mUZu3bFH5D9EuAZbK7PSuY PX9+OGChKP3aLi+xP+pVmDeU3Eowqep5D0oS8cMoZKvdj6rNwkQic/ZLzLP358uazN1v Pa6ryF6Tw91pZoKQLFK7kBWYA8caN3HVDTvtfwkVZI2+qy2qiCQ/uS1JXt9PRcZGRjZU aJDANyhn6dfgFpDvLb/dT7BCG8A9vthZ1yYvTDaiLYE/IYg5RDOvjlXXRRfBDp6ewMU8 +nBt0Q6/lwZwgY845D9WOovFCVy488+wFf41RKagWcUlYuTp9D3sT6Ju4ReH2XYF56WB jOAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=YyI7AMFJLV9i+2MWax7snfwwb6f9wFDdAiToQAmj410=; b=pftnVhymZiOAf2E7WglcqPz9fUdOoy3YJBafLVUgeuljxXxutQjhpsBH0yGdjsmDFA Z7mlS2GijwB2Mj93t7Rue6Z/g78iGhATtDKH3o3HiYAGagSaxtmCpsjYXYM6adZI+eum BbYI2mWu05Y1ZPVIiBGhq98WoYetMWrHvvyFd47c9Gns8/ER2nLxG3LelYSRFcB9vs96 CNoRC16yB1PT8XU0J2pxuNIao2SMXstO+PQpSBD5cC1/uls7RdxxlXJeIYLqwINCqjQC Wuz4DtuVqGMwq7bgJKR1S+Vlk2xwpbdQyo9L/cfqtYgbfYQ6Jrsrji10vJAUvjfBeJCb 7PpQ== X-Gm-Message-State: AODbwcDRP9HDdTjiknuvhedglLzNj2r9An+UwUJQL+P7NnTQfPFqpo3i 3Yy0d9Q4He1UuCqzatvEbIa8oRA12w== X-Received: by 10.31.120.197 with SMTP id t188mr10580730vkc.107.1495544169835; Tue, 23 May 2017 05:56:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.24.164 with HTTP; Tue, 23 May 2017 05:56:09 -0700 (PDT) In-Reply-To: <55077F1A-C9FC-432F-9205-DFC2AE976EC1@cloudpeople.com.au> References: <55077F1A-C9FC-432F-9205-DFC2AE976EC1@cloudpeople.com.au> From: Erik Weber Date: Tue, 23 May 2017 14:56:09 +0200 Message-ID: Subject: Re: SSVM NIO SSL Handshake error To: "users@cloudstack.apache.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable archived-at: Tue, 23 May 2017 12:56:21 -0000 What's the OS? Think I saw something like this on some old CentOS 6 machine= s -- Erik On Tue, May 23, 2017 at 2:11 PM, Jason Kinsella wrote: > Hi, > We recently upgraded from 4.5.0 to 4.9.2.0 and encountered a problem with= the SSVM and Console Proxy. They cannot connect to the management server. = The SSVM cloud.log repeats this error every couple of seconds. > > 2017-05-23 11:58:22,461 INFO [utils.nio.NioClient] (main:null) Connectin= g to 192.168.12.1:8250 > 2017-05-23 11:58:22,465 WARN [utils.nio.Link] (main:null) This SSL engin= e was forced to close inbound due to end of stream. > 2017-05-23 11:58:22,465 ERROR [utils.nio.Link] (main:null) Failed to send= server's CLOSE message due to socket channel's failure. > 2017-05-23 11:58:22,466 ERROR [utils.nio.NioClient] (main:null) SSL Hands= hake failed while connecting to host: 192.168.12.1 port: 8250 > 2017-05-23 11:58:22,466 ERROR [utils.nio.NioConnection] (main:null) Unabl= e to initialize the threads. > java.io.IOException: SSL Handshake failed while connecting to host: 192.1= 68.12.1 port: 8250 > at com.cloud.utils.nio.NioClient.init(NioClient.java:67) > at com.cloud.utils.nio.NioConnection.start(NioConnection.= java:88) > at com.cloud.agent.Agent.start(Agent.java:237) > at com.cloud.agent.AgentShell.launchAgent(AgentShell.java= :399) > at com.cloud.agent.AgentShell.launchAgentFromClassInfo(Ag= entShell.java:367) > at com.cloud.agent.AgentShell.launchAgent(AgentShell.java= :351) > at com.cloud.agent.AgentShell.start(AgentShell.java:456) > at com.cloud.agent.AgentShell.main(AgentShell.java:491) > 2017-05-23 11:58:22,468 INFO [utils.exception.CSExceptionErrorCode] (mai= n:null) Could not find exception: com.cloud.utils.exception.NioConnectionEx= ception in error code list for exceptions > 2017-05-23 11:58:22,468 WARN [cloud.agent.Agent] (main:null) NIO Connect= ion Exception com.cloud.utils.exception.NioConnectionException: SSL Handsh= ake failed while connecting to host: 192.168.12.1 port: 8250 > > The setup is very simple. Single management server and ports are open. > > Things checked / tried: > > =C2=B7 Destroyed SSVM multiple times =E2=80=93 still same problem= . > > =C2=B7 SSH to SSVM from MS using ssh -i /var/cloudstack/managemen= t/.ssh/id_rsa -p 3922 root@IPADDRESS =E2=80=93 PASS > > =C2=B7 SSVM telnet on 8250 to MS =E2=80=93 PASS > > I=E2=80=99ve also tested a restore of the DB into our working development= 4.9.2.0 server. It also exhibits the handshake errors, so most likely DB r= elated. > > I=E2=80=99ve used up all my skills. Please help > > Regards, > Jason >