The following error is observed in the VCF Installer or VCF Operations UI. The offline depot URL https://example-offline-depot.lab specified is invalid. Reason: The offline depot URL should be a valid URL without query parameters or fragments.Please provide a valid URL without query parameters and fragments.
VMware Cloud Foundation 9.1.1
VCF 9.1.1 does not accept non-IANA recognized Top Level Domains (TLD).
List of IANA recognized domains can be found here.
Example of some non-IANA recognized TLDs, ".lab", ".local", ".internal"
Method 1: Use an FQDN with an IANA-registered TLD If your environment allows, rename the offline depot FQDN to use an IANA-registered TLD (e.g., .com, .net, .org). This is the recommended configuration.
Method 2: Use the IP Address If renaming the FQDN is not feasible, configure the offline depot using the IP address of the offline depot server.
Method 3: Use API
curl 'https://<sddc-manager-ip>/v1/system/settings/depot' -i -X PUT \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <get bearer token>' \ -d '{ "offlineAccount" :
{ "username" : "offline-user", "password" : "offline-password" }
, "depotConfiguration" : { "isOfflineDepot" : true, "hostname" : "<hostname>, "port" : <port> } }'
Note: The url should not be used, but the "hostname" and "port" fields need to be used in the "depotConfiguration".