You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Rakesh Venkatesh <ww...@gmail.com> on 2021/05/20 12:39:10 UTC

SSL handshake error while connecting to mgt server

Hello

Host is failing to connect to mgt server with the following error message.
Any idea what could be the reason. It started happening all of a sudden. I
have other hosts in the platform and they are working fine.

2021-05-20 12:34:31,725 ERROR [utils.nio.NioConnection] (main:null) Unable
to initialize the threads.
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is
disabled or cipher suites are inappropriate)

> at sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:171)
>
> at
> sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:98)
> at sun.security.ssl.TransportContext.kickstart(TransportContext.java:220)
> at sun.security.ssl.SSLEngineImpl.writeRecord(SSLEngineImpl.java:159)
> at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:130)
> at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:110)
> at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:471)
> at com.cloud.utils.nio.Link.doHandshake(Link.java:489)
> at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
> at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
> at com.cloud.agent.Agent.start(Agent.java:246)
> at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:448)
> at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:416)
> at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:400)
> at com.cloud.agent.AgentShell.start(AgentShell.java:510)
> at com.cloud.agent.AgentShell.main(AgentShell.java:545)
>
>
-- 
Thanks and regards
Rakesh

Re: SSL handshake error while connecting to mgt server

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Rakesh,

Per the error "protocol is disabled or cipher suites are inappropriate", there is some issue with the client/server JDK allowed TLS protocols. Please check jdk.tls.disabledAlgorithms or related settings of your JRE.


Regards.

________________________________
From: Rakesh Venkatesh <ww...@gmail.com>
Sent: Thursday, May 20, 2021 18:09
To: users <us...@cloudstack.apache.org>; dev <de...@cloudstack.apache.org>
Subject: SSL handshake error while connecting to mgt server

Hello

Host is failing to connect to mgt server with the following error message.
Any idea what could be the reason. It started happening all of a sudden. I
have other hosts in the platform and they are working fine.

2021-05-20 12:34:31,725 ERROR [utils.nio.NioConnection] (main:null) Unable
to initialize the threads.
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is
disabled or cipher suites are inappropriate)

> at sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:171)
>
> at
> sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:98)
> at sun.security.ssl.TransportContext.kickstart(TransportContext.java:220)
> at sun.security.ssl.SSLEngineImpl.writeRecord(SSLEngineImpl.java:159)
> at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:130)
> at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:110)
> at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:471)
> at com.cloud.utils.nio.Link.doHandshake(Link.java:489)
> at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
> at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
> at com.cloud.agent.Agent.start(Agent.java:246)
> at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:448)
> at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:416)
> at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:400)
> at com.cloud.agent.AgentShell.start(AgentShell.java:510)
> at com.cloud.agent.AgentShell.main(AgentShell.java:545)
>
>
--
Thanks and regards
Rakesh

 


Re: SSL handshake error while connecting to mgt server

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Rakesh,

Per the error "protocol is disabled or cipher suites are inappropriate", there is some issue with the client/server JDK allowed TLS protocols. Please check jdk.tls.disabledAlgorithms or related settings of your JRE.


Regards.

________________________________
From: Rakesh Venkatesh <ww...@gmail.com>
Sent: Thursday, May 20, 2021 18:09
To: users <us...@cloudstack.apache.org>; dev <de...@cloudstack.apache.org>
Subject: SSL handshake error while connecting to mgt server

Hello

Host is failing to connect to mgt server with the following error message.
Any idea what could be the reason. It started happening all of a sudden. I
have other hosts in the platform and they are working fine.

2021-05-20 12:34:31,725 ERROR [utils.nio.NioConnection] (main:null) Unable
to initialize the threads.
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is
disabled or cipher suites are inappropriate)

> at sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:171)
>
> at
> sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:98)
> at sun.security.ssl.TransportContext.kickstart(TransportContext.java:220)
> at sun.security.ssl.SSLEngineImpl.writeRecord(SSLEngineImpl.java:159)
> at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:130)
> at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:110)
> at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:471)
> at com.cloud.utils.nio.Link.doHandshake(Link.java:489)
> at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
> at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
> at com.cloud.agent.Agent.start(Agent.java:246)
> at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:448)
> at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:416)
> at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:400)
> at com.cloud.agent.AgentShell.start(AgentShell.java:510)
> at com.cloud.agent.AgentShell.main(AgentShell.java:545)
>
>
--
Thanks and regards
Rakesh