VMware HCX

 View Only
Expand all | Collapse all

HCX VAMI page on 9443 does not load on new deployment

  • 1.  HCX VAMI page on 9443 does not load on new deployment

    Posted Jul 20, 2023 02:16 PM

    I downloaded HCX Connector OVA from the cloud console and have deployed it at the OnPrem vCenter.


    The HCX Connector VM boots up, responds to IP on ping. I am able to access the HCX IP page on port 443 however I cannot login at this is a new deployment.

    9443 VAMI page for the HCX Connector does not load. No matter how many times I reboot the VM and end wait for end number of minutes. Web engine and the app engine services are running and active.


    I have attached web.log and app.log files. This is happening on the new deployment. I have redeployed HCX Connector but same issue is seen.

    Any suggestions here .. thanks

    Attachment(s)

    log
    web.log   7.93 MB 1 version
    log
    app.log   1.49 MB 1 version


  • 2.  RE: HCX VAMI page on 9443 does not load on new deployment

    Broadcom Employee
    Posted Jul 20, 2023 02:19 PM

    Hi, what version of HCX have you deployed? 



  • 3.  RE: HCX VAMI page on 9443 does not load on new deployment

    Posted Jul 20, 2023 02:20 PM

    4.6.0 and 4.6.3

    both see the same issue



  • 4.  RE: HCX VAMI page on 9443 does not load on new deployment

    Broadcom Employee
    Posted Jul 20, 2023 02:24 PM

    Are you using a complex password? Have you tried with something simpler?

    Are there any firewalls which may be blocking port 9443 between you and the deployed VM?

    Are the network/gateway, NTP and DNS configs correct during the deployment process?



  • 5.  RE: HCX VAMI page on 9443 does not load on new deployment

    Posted Jul 20, 2023 02:26 PM

    I have tried with complex password and with simple password

    this is on my home lab -- local lan -- so no firewall or anything in between

    yes the configurations are right, I have double checked



  • 6.  RE: HCX VAMI page on 9443 does not load on new deployment

    Broadcom Employee
    Posted Jul 20, 2023 02:29 PM

    Have you tried an alternate browser/incognito mode? Are you putting in https://<HCX IP>:9443

    There was a bug to do with NTP/DNS space/comma separation which stopped some services coming up, but that PR was fixed in 4.6

    Also ssh in and check the date is correct.



  • 7.  RE: HCX VAMI page on 9443 does not load on new deployment

    Posted Jul 20, 2023 02:39 PM

    I checked web.log and found below error repeating

    Line 66634: ERROR in ch.qos.logback.classic.pattern.SyslogStartConverter@612fc6eb - Could not determine local host name java.net.UnknownHostException: home-hcx-01.home.local: home-hcx-01.home.local: Temporary failure in name resolution

     

    I found that in /etc/resolv.conf the nameserver entry was missing

    I added the name server and restarted web and app engine service and then the port 9443 came up

     

    but I then rebooted my appliance to verify if it retains the setting and it did not

    DNS setting is lost now -- post reboot and now the port 9443 is not responding again

     

    I have assigned static IP to this setting and then rebooted the server but then too /etc/resolv.conf does not retain the nameserver setting

    lvaibhavt_0-1689863871027.pnglvaibhavt_1-1689863889636.png

     

    any suggestion how can /etc/resolv.conf retain the nameserver on reboot?



  • 8.  RE: HCX VAMI page on 9443 does not load on new deployment

    Broadcom Employee
    Posted Jul 20, 2023 02:44 PM

    Nameserver information is in /etc/systemd/resolved.conf

    If it is not correct then there might be an error during the ova deployment process.



  • 9.  RE: HCX VAMI page on 9443 does not load on new deployment

    Posted Jul 20, 2023 02:48 PM

    dns entry is correct there

    there should be some way to fix this?

    lvaibhavt_0-1689864405032.png

     



  • 10.  RE: HCX VAMI page on 9443 does not load on new deployment
    Best Answer

    Broadcom Employee
    Posted Jul 20, 2023 02:53 PM

    I've just deployed the same build in my lab and port 9443 comes up as expected.

    How exactly are you deploying it? Via the vSphere UI?

    Have you tried to include search domain/DNS suffix?

    The behaviour you are seeing is in line with what I have seen in the past when there are errors/mistakes made during the deployment process.



  • 11.  RE: HCX VAMI page on 9443 does not load on new deployment

    Posted Jul 21, 2023 09:25 AM

    During deployment I was keeping this field blank because of which it was giving the issue

    if this field is important then they should put an asterisk next to it

    Thanks Chris for your help!

    lvaibhavt_0-1689931447450.png

     



  • 12.  RE: HCX VAMI page on 9443 does not load on new deployment

    Broadcom Employee
    Posted Jul 21, 2023 09:47 AM

    Thanks for updating, and great to hear that the issue is resolved.

    Did you try leaving this field blank with 4.6.3? I believe the log you attached was for 4.6.0

    If you see the same error with 4.6.3, please let me know and I will raise this internally.