For a similar issue, see "cannot authenticate SSL certificate for proxy" in Content Library for vCenter HTTPs Proxy Support
A general system error occurred:Transfer failed:Invalid response code: 503, note that HTTP/s proxy is configured for the transfer.Unrecognized SSL message, plaintext connection?, note that HTTP/s proxy is configured for the transfer[YYYY-MM-DDTHH:MM:SS] info vpxd[#####] [Originator@#### sub=Default opID=#######-##] [VpxLRO] -- ERROR task-###### -- <VMNAME> -- ResourcePool.ImportVAppLRO: vim.fault.OvfImportFailed:
--> Result:
--> (vim.fault.OvfImportFailed) {
--> faultCause = (vmodl.fault.SystemError) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = (vmodl.LocalizableMessage) [
--> (vmodl.LocalizableMessage) {
--> key = "com.vmware.ovfs.ovfs-main.ovfs.transfer_failed",
--> arg = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "0",
--> value = "Invalid response code: 403, note that HTTP/s proxy is configured for the transfer"
--> message = "Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer."
--> reason = ""
--> msg = "Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer."
--> faultMessage = <unset>/var/log/vmware/content-library/cls.log ovf.transfer_failed
Server not trusted: certificate_unknown(46), note that HTTP/S proxy is configured for the transfer
Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer.
Transfer failed: Server not trusted, certificate unknownInvalid response code: 403 is a response from the PROXY server indicating that the resource you are attempting to reach is not allowed access.Broadcom is aware of this issue and is working on a fix.
To workaround the issue, follow the below steps:
Disable to the Proxy in the vCenter VAMI 5480 as a test and try it again. Use one of the below methods (Note that the following is case sensitive):
HTTPS_PROXY="https://proxy.example.com:3128/"
to
HTTPS_PROXY="http://proxy.example.com:3128/" service-control --stop --all && service-control --start --allNO_PROXY="localhost, 127.0.0.1, <esxi_hostname>.example.com"
Note:
Content library in vCenter 7.0U1c and newer versions include support to specify a CIDR notation (1.2.3.4/24)/netmask notation (1.2.3.4/255.255.255.0) or a wildcard with a leading full stop (".") as in .*.vmware.com.
Please note that wildcard entries must start with a full stop.
For File based Backup and Restore you need to explicitly mention FQDN/IP of backup server. For more information, see No_Proxy requirement for vCenter File based Backup and Restore
For example:
NO_PROXY="localhost, 127.0.0.1, .*.example.com, 10.0.0.1/24"
Using a wildcard proxy has its limitations:
This issue is being checked by Diagnostics for VMware Cloud Foundation.
The check is as follows: