GitHub user Hossein4185 created a discussion: Secondary Storage Vm (SSVM)  SSL 
Handshake failed error

### problem

ssvm can connect to management port 8250. This has been tested with Telnet but 
it gives an SSL error.

2025-09-21T20:58:53,248 WARN  [utils.nio.Link] (main:[]) SSL Handshake has 
taken more than 30000 ms to connect to: /172.24.48.134:8250 while status: 
NEED_UNWRAP. Please investigate this connection.
2025-09-21T20:58:53,249 ERROR [utils.nio.NioClient] (main:[]) IOException while 
connecting to 172.24.48.134:8250 java.io.IOException: SSL Handshake failed 
while connecting to host: 172.24.48.134:8250
        at com.cloud.utils.nio.NioClient.init(NioClient.java:75)
        at com.cloud.utils.nio.NioConnection.start(NioConnection.java:109)
        at com.cloud.agent.Agent.start(Agent.java:338)
        at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:477)
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:454)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:438)
        at com.cloud.agent.AgentShell.start(AgentShell.java:539)
        at com.cloud.agent.AgentShell.main(AgentShell.java:569)

2025-09-21T20:58:53,250 ERROR [utils.nio.NioClient] (main:[]) Unable to 
initialize the threads. java.io.IOException: SSL Handshake failed while 
connecting to host: 172.24.48.134:8250
2025-09-21T20:47:12,447 ERROR [utils.nio.NioClient] (main:[]) IOException while 
connecting to 172.24.48.134:8250 java.io.IOException: SSL Handshake failed 
while connecting to host: 172.24.48.134:8250
        at com.cloud.utils.nio.NioClient.init(NioClient.java:75)
        at com.cloud.utils.nio.NioConnection.start(NioConnection.java:109)
        at com.cloud.agent.Agent.start(Agent.java:338)
        at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:477)
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:454)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:438)
        at com.cloud.agent.AgentShell.start(AgentShell.java:539)
        at com.cloud.agent.AgentShell.main(AgentShell.java:569)

2025-09-21T20:47:12,448 ERROR [utils.nio.NioClient] (main:[]) Unable to 
initialize the threads. java.io.IOException: SSL Handshake failed while 
connecting to host: 172.24.48.134:8250
        at com.cloud.utils.nio.NioClient.init(NioClient.java:75)
        at com.cloud.utils.nio.NioConnection.start(NioConnection.java:109)
        at com.cloud.agent.Agent.start(Agent.java:338)
        at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:477)
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:454)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:438)
        at com.cloud.agent.AgentShell.start(AgentShell.java:539)
        at com.cloud.agent.AgentShell.main(AgentShell.java:569)

2025-09-21T20:47:12,449 INFO  [utils.nio.NioClient] (main:[]) NioClient 
connection closed
2025-09-21T20:47:12,449 INFO  [cloud.agent.Agent] (main:[]) Attempted to 
connect to the server, but received an unexpected exception, trying again... 
com.cloud.utils.exception.NioConnectionException: SSL Handshake failed while 
connecting to host: 172.24.48.134:8250
        at com.cloud.utils.nio.NioConnection.start(NioConnection.java:115)
        at com.cloud.agent.Agent.start(Agent.java:338)
        at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:477)
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:454)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:438)
        at com.cloud.agent.AgentShell.start(AgentShell.java:539)
        at com.cloud.agent.AgentShell.main(AgentShell.java:569)
Caused by: java.io.IOException: SSL Handshake failed while connecting to host: 
172.24.48.134:8250
        at com.cloud.utils.nio.NioClient.init(NioClient.java:75)
        at com.cloud.utils.nio.NioConnection.start(NioConnection.java:109)
        ... 6 more

2025-09-21T20:47:17,450 INFO  [cloud.agent.Agent] (main:[]) Connecting to host: 
172.24.48.133
2025-09-21T20:47:17,453 INFO  [utils.nio.NioClient] (main:[]) Connecting to 
172.24.48.133:8250
2025-09-21T20:47:17,454 INFO  [utils.nio.NioClient] (main:[]) Connected to 
172.24.48.133:8250
2025-09-21T20:47:17,455 INFO  [utils.nio.Link] (main:[]) Conf file found: 
/usr/local/cloud/systemvm/conf/agent.properties



### versions

4.21
OS: Ubuntu 24.04


GitHub link: https://github.com/apache/cloudstack/discussions/11694

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to