HCX Site pairing creation fails with error: JSONObject["result"] not found.
search cancel

HCX Site pairing creation fails with error: JSONObject["result"] not found.

book

Article ID: 431845

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • Creating the Site pairing  fails with the error:

  • The following error is observed in common/logs/admin/web.log:
<Timestamp>  [https-jsse-nio-127.x.x.x-8443-exec-9, Ent: HybridityAdmin, , TxId: TxId:  ########-####-####-####-############] ERROR c.v.v.h.api.registration.CloudConfig- Unable to addCloud: JSONObject["result"] not found.
org.codehaus.jettison.json.JSONException: JSONObject["result"] not found.

Environment

VMware HCX

Cause

This issue is typically caused by an underlay network issue resulting in a communication failure between the HCX source and HCX target on port 443. 

 

Resolution

Investigate the network by reviewing the end-to-end connectivity between sites:

  1. Firewall Verification: Ensure bidirectional traffic is allowed on port 443 between the HCX Connector and HCX Cloud Manager.
  2. Underlay Network Review: Check for any intermediate network devices (proxies, load balancers, or IDS/IPS) that may be dropping or terminating the connection.
  3. MTU Check: Confirm that the end-to-end network path supports required packet sizes without fragmentation.

If the issue persists after verifying network stability, open a support case with Broadcom Support and provide the packet captures and support bundles from both sites for further analysis.

For more information, see Creating and managing Broadcom support request (SR) cases

Additional Information

If you are contacting Broadcom support about this issue, please provide the following:

  • HCX Connector (source) and HCX Cloud (target) - please include the database dump.
  • Perform a packet capture on source and target HCX managers while initiating the site pairing:
    • From the HCX Connector: tcpdump -n -i eth0 host <target-hcx-ip> and host <source-hcx-ip> -w /tmp/HCX_connector_pkt_capture.pcap
    • From the HCX Cloud: tcpdump -n -i eth0 host <source-hcx-ip> and host <target-hcx-ip> -w /tmp/HCX_cloud_pkt_capture.pcap

Handling Log Bundles for offline review with Broadcom support: