Hey all, I am getting my feet wet with HealthAnalyzer for an upcoming View assessment. I am trying it in my lab environment which is running 6.2.1. It worked fine for vCenter, but for View I get an error when attempting to connect - Unable to connect to target server.
Could this be related to the SSL changes in View? I tried re-enabling SSLv3 on a whim, but it didn't solve the issue.
vha.log
2016-01-25 15:04:39,738 INFO [RunViewCollectorHandler] Initiated View collection for URL=https://192.168.200.17/admin/messagebroker/amfsecure; User=domain\user; dsId=169caa0e-f9f9-4526-b577-278be22c7ba1
2016-01-25 15:05:17,920 ERROR [AbstractConnection] Connection Exception.
com.vmware.gts.collector.exception.ConnectionRefusedException: ClientStatusException
message: java.net.ConnectException: Connection timed out: connect
code: AMFConnection.Call.Failed
at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:148)
at com.vmware.gts.collector.connection.AbstractConnection.connect(AbstractConnection.java:27)
at com.vmware.gts.collector.connection.AbstractConnectionPool$ConnectionRequest.run(AbstractConnectionPool.java:250)
Caused by: ClientStatusException
message: java.net.ConnectException: Connection timed out: connect
code: AMFConnection.Call.Failed
at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:526)
at com.vmware.gts.collector.view.ViewConnection.retrieveDsId(ViewConnection.java:208)
at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:140)
... 2 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at flex.messaging.io.amf.client.AMFConnection.send(AMFConnection.java:789)
at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:516)
... 4 more
2016-01-25 15:05:17,923 INFO [AbstractCollector] c48d794b-64b6-4087-bb5a-c93042a732e2: message: Unable to connect to target server.
2016-01-25 15:05:17,941 INFO [Util] Collection failed with message=Unable to connect to target server.. Updated DatasetStatus=FAILURE. CollectorStatus=FAILURE DsId=169caa0e-f9f9-4526-b577-278be22c7ba1
2016-01-25 15:08:00,959 INFO [Util] Saved dataset info for view01. Project name=View, id=c13737f6-431e-4fc0-8f12-6d65468144a0
2016-01-25 15:08:00,959 WARN [ViewConnection] Trust Manager trusts ALL certificates
2016-01-25 15:08:00,975 ERROR [AbstractConnection] Connection Exception.
com.vmware.gts.collector.exception.ConnectionNetworkException: ClientStatusException
message: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
code: AMFConnection.Call.Failed
at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:154)
at com.vmware.gts.collector.connection.AbstractConnection.connect(AbstractConnection.java:27)
at com.vmware.gts.collector.connection.AbstractConnectionPool$ConnectionRequest.run(AbstractConnectionPool.java:250)
Caused by: ClientStatusException
message: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
code: AMFConnection.Call.Failed
at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:526)
at com.vmware.gts.collector.view.ViewConnection.retrieveDsId(ViewConnection.java:208)
at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:140)
... 2 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at flex.messaging.io.amf.client.AMFConnection.send(AMFConnection.java:789)
at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:516)
... 4 more
Clik here to view.