Error "Http failure response" when viewing NAT rules for Edge Gateway in VCD
search cancel

Error "Http failure response" when viewing NAT rules for Edge Gateway in VCD

book

Article ID: 424616

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

While NAT(Network Address Translation) rules fail to display for certain Edge Gateways, they appear correctly for others within VCD(VMware Cloud Director).

When this issue occurs, the following error message is displayed:

Error: Http failure response for https://<VCD_PUBLIC_FQDN>/cloudapi/2.0.0/edgeGateways/urn:vcloud:gateway:########-####-####-####-############/nat/rules?page=1&pageSize=128: 0 Unknown Error

The following command executes successfully on each VCD cell, displaying the NAT rules correctly:

curl -k -X GET "https://<LOCAL_CELL_FQDN>/cloudapi/1.0.0/edgeGateways/urn%3Avcloud%3Agateway%3A########-####-####-####-############/nat/rules?pageSize=128" -H "accept: application/json;version=39.1" -H "Authorization: Bearer <AUTH_CODE>" | json_pp

 

Environment

VMware Cloud Director 10.6.x

Cause

Network traffic between the VCD cells and the browser may be interrupted; for example, a load balancer might drop the response for specific requests.

Resolution

Coordinate with the network or security vendors (e.g., Load Balancer or Firewall support) to ensure that outbound responses are not being dropped or blocked.

Additional Information

How to establish an API connection VMware Cloud Director