Action run failed with the following error: Action did not complete within 900 seconds timeout.Invoke-VMScript. Reviewing the script execution logs reveals the following error:Invoke-VMScript The proxy tunnel request to proxy 'http://proxy-service.prelude.svc.cluster.local:3128/' failed with status code '503'."503 error is logged in the Aria Automation proxy service at /services-logs/prelude/proxy-service/console-logs/squid-proxy.log:TCP_TUNNEL/503 0 CONNECT <ESXi ip address>:443 - HIER_DIRECT/<ESXi ip address> -Aria Automation 8.18.x
While standard Aria Automation deployment tasks do not always require a direct connection to the underlying ESXi hosts, the Invoke-VMScript PowerCLI command functions by communicating directly with the ESXi host management IP via TCP port 443.
In this scenario, the internal proxy service (Squid) is unable to establish a tunnel to the ESXi host, leading to the 503 Service Unavailable error and the subsequent ABX timeout.
To resolve this issue, ensure that the network firewall allows traffic between the Aria Automation appliance(s) and the ESXi host management interface.
Once the network path is unblocked, the proxy will be able to establish the necessary tunnel for the Invoke-VMScript command to execute successfully.
The connection from Aria Automation to ESXi host can be checked with below commands:
curl -v --noproxy \* https://<ESXi-host-ip>kubectl exec -n prelude -it proxy-service-<press TAB to pick any pod> -- /bin/bashcurl --proxy localhost:3128 -v https://<ESXi-host-ip> curl -v --noproxy \* https://<ESXi-host-ip>