Error: "HTTP failure response for <API Call>: 0 Unknown Error" when interacting with Virtual Machines / vApps or NAT rules in Edge gateways.
search cancel

Error: "HTTP failure response for <API Call>: 0 Unknown Error" when interacting with Virtual Machines / vApps or NAT rules in Edge gateways.

book

Article ID: 367865

calendar_today

Updated On:

Products

VMware Cloud Director VMware Cloud Director Availability - Disaster Recovery 4.x

Issue/Introduction

  • When listing Virtual Machines (VM) or vApps, the UI fails to load and you see an error in Cloud Director (VCD) similar to:

HTTP failure response for <API Call>: 0 Unknown Error

  • When filtering Virtual Machines or vApps, the UI fails to load and you see an error similar to:

HTTP failure response for <API Call>: 0 Unknown Error

  • When we try to add or view NAT rules under Edge gateways, you see an error similar to:

HTTP failure response for <API Call>: 0 Unknown Error

  • A large number of API calls (data-engine) are sent to Cloud Director Availability (VCDA) prior to the UI failing to load objects.

Environment

VMware Cloud Director 10.4.x

Cause

This issue is a browser specific issue which can occur when the Client Browser has issues sending and receiving API calls to/from Cloud Director.

Factors known to contribute to this would be

  1. Client Memory Resources
  2. Network Connectivity Issues

Resolution

There is a known issue in Cloud Director 10.4.x which leverages the 0.0.3 version of the NgHyperPlugin.

  • This plugin is responsible for the functionality of all other subsequently installed plugins.
  • An issue with subscriptions to the Cloud Director Availability (VCDA) plugins causes an incremental increase in overall API calls being sent which can result in Client Memory Resource issues being observed.

To verify the version of the NgHyperPlugin you are running, you can navigate to the Provider UI > More  > Customize Portal.

 

Note: The steps below are assuming the NgHyperPlugin has a version of 0.0.3 or lower.

  1. Download the attached file 'hyper_plugin.zip'.
  2. Upload the Plugin to Cloud Director
  3. Scope needs to be Service Providers and Tenants
  4. Disable the 0.0.3 Version of the NgHyperPlugin
  5. Reproduce the issue.
  6. If there are issues with the new HyperPlugin, you can follow the rollback section below.

 

Rollback

  1. Enable the 0.0.3 Version of the NgHyperPlugin.
  2. Disable the 0.0.4 Version of the NgHyperPlugin.
  3. Delete the 0.0.4 Version of the NgHyperPlugin.

Additional Information

If you are using the 0.0.4 version of the NgHyperPlugin and still observing issues, you are most likely encountering environmental factors which can lead to the observation of the 'Unknown Error'.

  • Opening the Dev Tools of that browser and navigating to the Network tab will help with isolation.
    • Locate the Status column and note the error observed at the time of issue.


Client machine has sufficient memory resources.

  • This may be more prevalent on client machines with low memory resources and are also running a number of applications and/or a large number of browser tabs.
  • The Status column would denote a ERR_INSUFFICIENT_RESOURCES error if the browser is running out of memory.

Network Connectivity Issues

  • Any connectivity issue which would result in the Client machine losing connectivity to the Cloud Director Cells/Load Balancer would result in the error.
  • Instances which have been observed to cause the issue would be
    1. VPN Disconnection or Re-authentication
    2. Machine NIC disconnection
    3. Issues with local routing to internet

Attachments

hyper_plugin.zip get_app