VxRail: OVF kann nicht bereitgestellt werden, wenn ein HTTPS-Proxy konfiguriert ist

Summary: OVF kann nicht bereitgestellt werden, wenn ein HTTPS-Proxy konfiguriert ist.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Fehler ähnlich der folgenden werden in /var/log/vmware/vpxd.log angezeigt:
Unrecognized SSL message, plaintext connection?, note that HTTP/s proxy is configured for the transfer
2020-09-16T14:41:59.004+02:00 info vpxd[14866] [Originator@6876 sub=Default opID=2b691553-01] [VpxLRO] -- ERROR task-1978410 -- UPSA913s-x64-VM01-noV
APP -- 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 = 

Cause

Der OVF-Bereitstellungsprozess ist nicht in der Lage, eine Verbindung zum Proxyserver mit dem folgenden Fehler herzustellen: 
Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer.
Dieser "Ungültige Antwortcode: 403" ist eine Antwort des PROXY-Servers, die darauf hinweist, dass die Zielressource keinen Zugriff hat. 

Die OVF-Übertragung erfordert einen HTTPS-fähigen Proxy, wenn ein Proxy verwendet wird. Stellen Sie sicher, dass der Proxy HTTPS-fähig ist, oder verwenden Sie die folgenden Workarounds, um den Proxy zu umgehen.

Resolution

  1. Umgehen Sie dieses Problem mit einer der beiden folgenden Methoden. Im Folgenden wird zwischen Groß- und Kleinschreibung unterschieden:
  • Ändern Sie die HTTPS-PROXY-Konfiguration so, dass HTTP verwendet wird:
  1. Ändern Sie die Datei /etc/sysconfig/proxy . Ändern Sie die HTTPS_PROXY Zeile, um den Wert von https auf http zu aktualisieren:
From:
HTTPS_PROXY="https://proxy.domain.tld:3128/"

To:
HTTPS_PROXY="http://proxy.domain.tld:3128/"
  1. Wenn der FQDN des Proxyservers nicht funktioniert, verwenden Sie alternativ seine IP-Adresse.
  2. Starten Sie die VCSA neu, wenn Sie eine Version vor 7.0 U1 verwenden. Andernfalls starten Sie services mit dem Folgenden neu:
# service-control --stop --all && service-control --start --all
  • Fügen Sie die Hosts zur NO_PROXY-Konfiguration hinzu, um den Proxy zu umgehen:
  1. Verwenden Sie eine SSH-Sitzung , um eine Verbindung zum vCenter Server herzustellen.
  2. Ändern Sie die Datei /etc/sysconfig/proxy . Fügen Sie die FQDNs oder IPs des ESXi-Hosts zur folgenden Zeile hinzu, getrennt durch ein Komma gefolgt von einem Leerzeichen. Zum Beispiel:
NO_PROXY="localhost, 127.0.0.1, ESXi-01.test.com"
  1. Versuchen Sie die OVF-Bereitstellung aus der Inhaltsbibliothek und dem vSphere Client.

Affected Products

VMWare Cloud on Dell EMC VxRail E560F, VMWare Cloud on Dell EMC VxRail E560N, VxRail Appliance Family, VxRail Appliance Series, VxRail G Series Nodes, VxRail D Series Nodes, VxRail E Series Nodes, VxRail P Series Nodes, VxRail S Series Nodes , VxRail Software ...

Products

XC Core Systems, XC Series Appliances, VxRail V Series Nodes, VxRail VD Series Nodes
Article Properties
Article Number: 000216499
Article Type: Solution
Last Modified: 19 Aug 2023
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.