Vsphere-clone POST "/sdk": 502 Proxy Error when waiting for IP

Packer seems to error on POST “/sdk”: 502 Proxy Error when trying to clone from template.
I attempted to increase ip_wait_timeout and ip_settle_timeoutbut its fails almost immediately after Waiting for IP... stage.

2025/09/29 08:40:38 On error: abort

2025/09/29 08:40:38 Waiting on builds to complete…

2025/09/29 08:40:38 Starting build run: vsphere-clone.on-prem-connector-patch

2025/09/29 08:40:38 Running builder: vsphere-clone

2025/09/29 08:40:38 [INFO] (telemetry) Starting builder vsphere-clone.on-prem-connector-patch

vsphere-clone.on-prem-connector-patch: output will be in this color.

2025/09/29 08:40:39 packer-plugin-vsphere_v2.0.0_x5.0_linux_amd64 plugin: 2025/09/29 08:40:39 No CD files specified. CD disk will not be made.

==> vsphere-clone.on-prem-connector-patch: Finding virtual machine to clone…

==> vsphere-clone.on-prem-connector-patch: Cloning virtual machine…

==> vsphere-clone.on-prem-connector-patch: Customizing hardware…

==> vsphere-clone.on-prem-connector-patch: Mounting ISO images…

2025/09/29 08:42:13 packer-plugin-vsphere_v2.0.0_x5.0_linux_amd64 plugin: 2025/09/29 08:42:13 No floppy files specified. Floppy disk will not be made.

==> vsphere-clone.on-prem-connector-patch: Adding configuration parameters…

==> vsphere-clone.on-prem-connector-patch: Powering on virtual machine…

2025/09/29 08:42:14 packer-plugin-vsphere_v2.0.0_x5.0_linux_amd64 plugin: 2025/09/29 08:42:14 [INFO] Waiting for IP, up to total timeout: 20m0s, settle timeout: 3m0s

==> vsphere-clone.on-prem-connector-patch: Waiting for IP…

==> vsphere-clone.on-prem-connector-patch: POST “/sdk”: 502 Proxy Error

==> vsphere-clone.on-prem-connector-patch: Step “StepWaitForIp” failed, aborting…

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepBootCommand”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepRun”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepSshKeyPair”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepHTTPServer”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepHTTPIPDiscover”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepAddFloppy”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepCreateFloppy”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepConfigParams”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepAddCDRom”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepAddFlag”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepConfigureHardware”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepCloneVM”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepRemoteUpload”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepCreateCD”

==> vsphere-clone.on-prem-connector-patch: aborted: skipping cleanup of step “StepConnect”

2025/09/29 08:42:45 [INFO] (telemetry) ending vsphere-clone.on-prem-connector-patch

==> Wait completed after 2 minutes 6 seconds

2025/09/29 08:42:45 machine readable: error-count string{“1”}

==> Some builds didn’t complete successfully and had errors:

2025/09/29 08:42:45 machine readable: vsphere-clone.on-prem-connector-patch,error string{“POST \”/sdk\“: 502 Proxy Error”}

==> Builds finished but no artifacts were created.

2025/09/29 08:42:45 [INFO] (telemetry) Finalizing.

Build ‘vsphere-clone.on-prem-connector-patch’ errored after 2 minutes 6 seconds: POST “/sdk”: 502 Proxy Error

==> Wait completed after 2 minutes 6 seconds

==> Some builds didn’t complete successfully and had errors:

- → vsphere-clone.on-prem-connector-patch: POST “/sdk”: 502 Proxy Error

==> Builds finished but no artifacts were created.

2025/09/29 08:42:45 waiting for all plugin processes to complete…

2025/09/29 08:42:45 /home/ubuntu/actions-runner/hostedtoolcache/packer_linux/1.14.2/x64/packer: plugin process exited

2025/09/29 08:42:45 /home/ubuntu/actions-runner/hostedtoolcache/packer_linux/1.14.2/x64/packer: plugin process exited

2025/09/29 08:42:45 /home/ubuntu/actions-runner/hostedtoolcache/packer_linux/1.14.2/x64/packer: plugin process exited

2025/09/29 08:42:45 /home/ubuntu/actions-runner/hostedtoolcache/packer_linux/1.14.2/x64/packer: plugin process exited

2025/09/29 08:42:45 /home/ubuntu/.config/packer/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v2.0.0_x5.0_linux_amd64: plugin process exited

2025/09/29 08:42:45 /home/ubuntu/actions-runner/hostedtoolcache/packer_linux/1.14.2/x64/packer: plugin process exited

Hi, i have the same issue did you find a solution ?

Below was the the last comment on the related GitHub issue.