1. Modify the URL for the HTTPS proxy from https://<PROXY_URL> to http://<PROXY_URL>
2. Retry the prechecks on the UI. If it fails again then proceed to 'Step 3'
3. SSH into the gateway appliance and run the following commands:
3.1 cd /home/
3.2 mkdir gps
3.3 chown gps:aap gps/
3.4 echo "proxy=http://<PROXY_URL>:<PROXY_PORT>" > /home/gps/.curlrc
4. Retry the prechecks. If it fails again then raise a support request
Troubleshooting Pre-check failures while registering Cloud Gateway:
curl -o /dev/null -s -w "%{http_code}" https://console.cloud.vmware.com/csp/gateway/portal/ -x <<PROXY:port>>
curl -o /dev/null -s -w "%{http_code}" https://console.cloud.vmware.com/csp/gateway/portal/ -------------→ If using not Proxy.
3. Run this command from the cloud gateway console to verify the timeout:
curl -k -o /dev/null -s --write-out "%{time_total}" https://vcgw-updates.vmware.com
0.061518 -------> Time taken to connect to the update repo.
4. Run this command from the cloud gateway console to verify if the connection to the vmc ui is established:
curl -o /dev/null -s -w "%{http_code}" https://vmc.vmware.com/api/fabric/gateway/health -x <<PROXY:port>>
000
curl -o /dev/null -s -w "%{http_code}" https://vmc.vmware.com/api/fabric/gateway/health
000
5. Run tracetoute vcgw-updates.vmware.comto confirm if the proxy route is indeed taken. --------------→ If using Proxy.
6. Ensure that the latency is lower than 100 ms at all times.