2 Replies Latest reply on Jun 22, 2020 9:38 AM by ymagalif

    HealthAnalyzer 5.5.1 - Unable to connect to target server with Horizon 7.11

    paradise1967 Novice

      Anyne come across this issue and have a workaWhen using HealthAnalyzer 5.5.1 to connect to Horizon 7.11 I get the error 'Unable to connect to target server '

      Tried this with the Java app and the OVA. Alos tried 5.5.0 and 5.3.1 version of the VHA and have similar issue.

       

      VHA.log shows:

       

      2020-06-10 11:19:14,776  INFO [Util] Saved dataset info for https://connection-server-fqdn. Project name=10-06-20, id=bb8cc9a9-a2ff-4b07-9cb7-3ffc4f84d281

      2020-06-10 11:19:14,778  WARN [ViewConnection] Trust Manager trusts ALL certificates

      2020-06-10 11:19:14,782  INFO [Util] DsId=<string> updated with CollectorStatus=READY, DatasetStatus=INPROGRESS; CollectorMessage=null

      2020-06-10 11:19:14,782  INFO [RunViewCollectorHandler] Initiated View collection for URL=https://connection-server-fqdn/admin/messagebroker/amfsecure; User=domain\username; dsId=<string>

      2020-06-10 11:19:14,936 ERROR [AbstractConnection] Connection Exception.

      com.vmware.gts.collector.exception.ConnectionNetworkException: ClientStatusException

          message: java.io.IOException: Server returned HTTP response code: 415 for URL: https://connection-server-fqdn/admin/messagebroker/amfsecure

          code: AMFConnection.Call.Failed

          at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:259)

          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.io.IOException: Server returned HTTP response code: 415 for URL: https://connection-server-fqdn/admin/messagebroker/amfsecure

          code: AMFConnection.Call.Failed

          at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:524)

          at com.vmware.gts.collector.view.ViewConnection.retrieveDsId(ViewConnection.java:313)

          at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:245)

          ... 2 more

      Caused by: java.io.IOException: Server returned HTTP response code: 415 for URL: https://connection-server-fqdn/admin/messagebroker/amfsecure

          at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)

          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

          at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)

          at flex.messaging.io.amf.client.AMFConnection.send(AMFConnection.java:792)

          at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:514)

          ... 4 more

      2020-06-10 11:19:14,938  INFO [AbstractCollector] 54c19e5e-2c11-48a3-b755-4bb3ad66db49: message: Unable to connect to target server.

      2020-06-10 11:19:14,959  INFO [Util] Collection failed with message=Unable to connect to target server.. Updated DatasetStatus=FAILURE. CollectorStatus=FAILURE DsId=<string>

        • 1. Re: HealthAnalyzer 5.5.1 - Unable to connect to target server with Horizon 7.11
          ymagalif Novice
          vExpert

          Paradise1967,

           

          We have this issue as well, using OVA HealthAnalyzer 5.5.1 and Horizon 7.12 we get the error 'Unable to connect to target server'. Tried HealthAnalyzer 5.5.0 -- same problem. We saw HealthAnalyzer connecting to Horizon REST API, but then nothing happens.

           

          Also, seems that the messagebroker/amfsecure works if you go to /flexadmin which is the old flash admin console, and the HTML5 was changed to standard after 7.11. Perhaps HealthAnalyzer code has not been updated to reflect 7.12 change?

           

          VHA log:

           

          2020-06-12 18:48:16,249  INFO [RunViewCollectorHandler] Initiated View collection for URL=https://connserv1.company.com/admin/messagebroker/amfsecure; User=company\svc-view; dsId=<string>

          2020-06-12 18:48:16,262  WARN [ViewConnection] Trust Manager trusts ALL certificates

          2020-06-12 18:48:16,367 ERROR [AbstractConnection] Connection Exception.

          com.vmware.gts.collector.exception.ConnectionNetworkException: ClientStatusException

              message: java.io.IOException: Server returned HTTP response code: 415 for URL: https://connserv1.company.com/admin/messagebroker/amfsecure

              code: AMFConnection.Call.Failed

              at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:259)

              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.io.IOException: Server returned HTTP response code: 415 for URL: https://connserv1.company.com/admin/messagebroker/amfsecure

              code: AMFConnection.Call.Failed

              at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:524)

              at com.vmware.gts.collector.view.ViewConnection.retrieveDsId(ViewConnection.java:313)

              at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:245)

              ... 2 more

          Caused by: java.io.IOException: Server returned HTTP response code: 415 for URL:

              at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)

              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)

              at flex.messaging.io.amf.client.AMFConnection.send(AMFConnection.java:792)

              at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:514)

              ... 4 more

          2020-06-12 18:48:16,368  INFO [AbstractCollector] d3162cb9-ec81-44af-a719-30cbc9999db5: message: Unable to connect to target server.

          2020-06-12 18:48:16,373  INFO [Util] Collection failed with message=Unable to connect to target server.. Updated DatasetStatus=FAILURE. CollectorStatus=FAILURE DsId=<string>

          2020-06-12 18:48:41,028  INFO [Util] Saved dataset info for connserv1.company.com Project name=Company EUC Assessment 6-12-20, id=59d690ce-5ebc-4b05-be12-7a5c1a00894d

          2020-06-12 18:48:41,034  INFO [Util] DsId=<string> updated with CollectorStatus=RUNNING, DatasetStatus=INPROGRESS; CollectorMessage=null

           

           

          2020-06-12 18:54:15,427  INFO [RunViewCollectorHandler] Initiated View collection for URL=https://192.168.55.56/admin/messagebroker/amfsecure; User=company\svc-view; dsId=<string>

          2020-06-12 18:54:15,428  WARN [ViewConnection] Trust Manager trusts ALL certificates

          2020-06-12 18:54:15,527 ERROR [AbstractConnection] Connection Exception.

          com.vmware.gts.collector.exception.ConnectionNetworkException: ClientStatusException

              message: java.io.IOException: Server returned HTTP response code: 415 for URL: https://192.168.55.56/admin/messagebroker/amfsecure

              code: AMFConnection.Call.Failed

              at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:259)

              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.io.IOException: Server returned HTTP response code: 415 for URL: https://192.168.55.56/admin/messagebroker/amfsecure

              code: AMFConnection.Call.Failed

              at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:524)

              at com.vmware.gts.collector.view.ViewConnection.retrieveDsId(ViewConnection.java:313)

              at com.vmware.gts.collector.view.ViewConnection.doConnect(ViewConnection.java:245)

              ... 2 more

          Caused by: java.io.IOException: Server returned HTTP response code: 415 for URL: https://192.168.55.56/admin/messagebroker/amfsecure

              at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)

              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)

              at flex.messaging.io.amf.client.AMFConnection.send(AMFConnection.java:792)

              at flex.messaging.io.amf.client.AMFConnection.call(AMFConnection.java:514)

              ... 4 more

          2020-06-12 18:54:15,528  INFO [AbstractCollector] c7b1b178-595a-4271-903e-1a5a7270d32e: message: Unable to connect to target server.

          2020-06-12 18:54:15,531  INFO [Util] Collection failed with message=Unable to connect to target server.. Updated DatasetStatus=FAILURE. CollectorStatus=FAILURE DsId=<string>

          2020-06-12 18:56:40,087  INFO [Util] Saved dataset info for 192.168.55.56. Project name=Company EUC Assessment 6-12-20, id=59d690ce-5ebc-4b05-be12-7a5c1a00894d

          2020-06-12 18:56:40,089  INFO [Util] DsId=753eb3d4-ce5c-4a20-bb80-0b7c1429540a updated with CollectorStatus=READY, DatasetStatus=INPROGRESS; CollectorMessage=null

          • 2. Re: HealthAnalyzer 5.5.1 - Unable to connect to target server with Horizon 7.11
            ymagalif Novice
            vExpert

            Paradise1967,

             

            Through VMware support at services-software-support@vmware.com I reached the Product Manager for HealthAnalyzer, and she stated:

             

            "Hello Yury,

             

            Thank you for your email.

             

            Next week we will be doing a vHA release where you will be able to connect to any version of Horizon using old Flash API."

             

            Hope this helps.

             

            Sincerely,

            Yury Magalif