Bundle Transfer Utility Tool failed with error : username or password is invalid for userCaused by: com.vmware.evo.sddc.lcm.tools.bundletransfer.exception.BundleTransferUtilityException: Error occurred connecting to depot. Please try again.
Remedy: Please enter right username or password for user
curl -kv https://depot.vmware.com:443/PROD2/evo/vmw/index.v3 -u depotusername
2025-02-11T13:26:11.311-0700 [main] DEBUG [com.vmware.evo.sddc.lcm.tools.common.WarningsDisplayUtil] Customer acknowledged to proceed.2025-02-11T13:26:12.741-0700 [main] DEBUG [com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader] Getting file size for [/evo/vmw/index.v3] from URL[https://depot.vmware.com:443/PROD2/evo/vmw/index.v3]2025-02-11T13:26:12.749-0700 [main] DEBUG [com.vmware.evo.sddc.lcm.bundle.download.depot.utils.CookieUtils] VCF_DEPOT Depot Http Cookies: []2025-02-11T13:26:12.937-0700 [main] DEBUG [com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader] Executing HEAD /PROD2/evo/vmw/index.v32025-02-11T13:26:14.064-0700 [main] ERROR [com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader] Got exception while downloading manifest index [/evo/vmw/index.v3]: Network is unreachable2025-02-11T13:26:14.110-0700 [main] DEBUG [com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility] com.vmware.evo.sddc.lcm.tools.bundletransfer.exception.BundleTransferUtilityException: Error occurred connecting to depot. Please try again. at com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtilityDownloader.validateUser(BundleTransferUtilityDownloader.java:195) at com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility.validateDepotUser(BundleTransferUtility.java:2416) at com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility.process(BundleTransferUtility.java:1157) at com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility.parse(BundleTransferUtility.java:219) at com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility.main(BundleTransferUtility.java:2361) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:95)at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)Caused by: com.vmware.evo.sddc.lcm.model.depot.exception.DepotConnectionFailureException: Internal error while validating credentials at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader.validateUser(DepotDownloader.java:410) at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotBundleDownloadServiceImpl.validateUser(DepotBundleDownloadServiceImpl.java:262) at com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtilityDownloader.validateUser(BundleTransferUtilityDownloader.java:186) ... 12 moreCaused by: java.net.SocketException: Network is unreachable at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source) at java.base/java.net.SocksSocketImpl.connect(Unknown Source) at java.base/java.net.Socket.connect(Unknown Source) at org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory$1.run(SSLConnectionSocketFactory.java:219) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:216) at org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:148) at org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:396) at org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:158) at org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:168) at org.apache.hc.client5.http.impl.classic.ConnectExec.execute(ConnectExec.java:136) at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) at org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57) at org.apache.hc.client5.http.impl.classic.ProtocolExec.execute(ProtocolExec.java:190) at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) at org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57) at org.apache.hc.client5.http.impl.classic.HttpRequestRetryExec.execute(HttpRequestRetryExec.java:96) at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) at org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57) at org.apache.hc.client5.http.impl.classic.ContentCompressionExec.execute(ContentCompressionExec.java:133) at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) at org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57) at org.apache.hc.client5.http.impl.classic.RedirectExec.execute(RedirectExec.java:115) at org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) at org.apache.hc.client5.http.impl.classic.InternalHttpClient.doExecute(InternalHttpClient.java:170) at org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:75) at org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:89) at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader.getFileSize(DepotDownloader.java:132) at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader.getFileSize(DepotDownloader.java:117) at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader.getFileSize(DepotDownloader.java:334) at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader.validateUser(DepotDownloader.java:346) ... 14 more
2025-02-11T13:26:14.111-0700 [main] ERROR [com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility]
openssl s_client -showcerts -connect depot.vmware.com:443
Expected output
CONNECTED(00000003)depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root CAverify return:1depth=1 C = US, O = DigiCert Inc, CN = DigiCert TLS RSA SHA256 2020 CA1verify return:1depth=0 C = US, ST = California, L = Palo Alto, O = Broadcom Inc., CN = hostupdate.vmware.comverify return:1
VMware Cloud Foundation 5.1
VMware Cloud Foundation 5.2
This issue occurs due to SSL interception / a proxy server in use for HTTPS within the environment
In order to successfully use the LCM Bundle Transfer Utility you will need to add the environment proxy certificates to the Bundle Transfer Utility JRE default trust store that is returned from the openssl command above.
That can be accomplished using the steps below.
1. Identify the environment proxy certificates in use with the following command
openssl s_client -showcerts -connect depot.vmware.com:443
2. Download the certificates to the machine where the LCM Bundle Transfer Utility is being run
3. Add each certificate to the Bundle Transfer Utility JRE default trust store with the following command. Modify the certificate file name to the certificate which you downloaded.
/opt/obtu/jre/lin64/bin/keytool -importcert -file ca-bundle.crt -keystore /opt/obtu/jre/lin64/lib/security/cacerts
NOTE - If prompted for a password use the default password of 'changeit'
4. Run the LCM Bundle Transfer Utility once again