Updating the newly acquired token on the VCenter lifecycle manager patch setup fails using the manual and scripted method. Below is the sample failure error message.
Error message while updating the depot URL using the manual method:
The download source https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml is invalid or cannot be reached now.
INFO] vCenter "VCenter-FQDN" depot URL "https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/addon-main/vmw-depot-index.xml" is reachable from script execution machine < Name-fqdn > (it received a HTTP/200 message)
[ERROR] https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/addon-main/vmw-depot-index.xml is invalid. Please make sure your token is correct and re-try.
[INFO] vCenter "VCenter-FQDN" depot URL "https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml" is reachable from script execution machine < Name-fqdn > (it received a HTTP/200 message)
[ERROR] https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml is invalid. Please make sure your token is correct and re-try.
[INFO] vCenter "VCenter-FQDN" depot URL "https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/iovp-main/vmw-depot-index.xml" is reachable from script execution machine < Name-fqdn > (it received a HTTP/200 message)
[ERROR] https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/iovp-main/vmw-depot-index.xml is invalid. Please make sure your token is correct and re-try.
[INFO] vCenter "VCenter-FQDN" depot URL "https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/vmtools-main/vmw-depot-index.xml" is reachable from script execution machine < Name-fqdn > (it received a HTTP/200 message)
[ERROR] https://dl.broadcom.com/<Newly Generated Token ID>/PROD/COMP/ESX_HOST/vmtools-main/vmw-depot-index.xml is invalid. Please make sure your token is correct and re-try
The proxy settings are missing or incorrectly configured in the vCenter Appliance Management Interface (VAMI) page.
For example, the proxy might only be offering an HTTP interface to tunnel traffic to the outside, so only an HTTP proxy was configured.
However, because the download URLs in the Lifecycle Manager configuration will be set to HTTPS, VLCM is querying HTTPS_PROXY in /etc/sysconfig/proxy when trying to access the URLs. If the option is left empty, VLCM will assume that there is no proxy requirement for HTTPS URLs and instead tries to connect directly - which fails.
Meaning, even if the proxy server is only offering an HTTP interface to tunnel traffic to the outside, it is still necessary to configure that tunnel as HTTPS_PROXY.
Post generating the token as per the guidelines mentioned in the KB VCF Authenticated downloads Configuration Update Instructions.
If the depot URL update fails with the error message as mentioned in the issue description. Then follow the below steps to fix the issue.
1. Log into vSphere client
2. On the vSphere Client Home page, Navigate to Lifecycle Manager.
3. Click 'settings' tab. Under 'settings' tab,
4. Go to Administration → Patch Setup. Check Depot Connectivity: Ensure the Depot Status shows as Connected. If it is not connected, proceed with the following steps to troubleshoot the connection.
5. Check the Online Connection Status: Confirm the online connection status in vCenter is active and can reach external URLs, especially for the depot server that hosts the tokens and patches.
6. Validate Proxy Settings using Management Interface, refer Manage vCenter Server Using the Management Interface
7. Update Proxy Information (If Needed), refer to Configure the DNS, IP Address, and Proxy Settings and to How to configure Proxy Settings for vCenter Server
8. Test Connectivity:
9. Reattempt Token Update: