Unable to access SDDC manager through UI, with an error "Failed to fetch inventory details"
search cancel

Unable to access SDDC manager through UI, with an error "Failed to fetch inventory details"

book

Article ID: 391076

calendar_today

Updated On: 05-13-2025

Products

VMware SDDC Manager

Issue/Introduction

"Failed to fetch inventory details" error message upon launching SDDC UI.

Below log entries are seen in SDDC Logs.

commonsvc.log

yyyy-mm-ddThh:mm:ss.423+0000 WARN  [common,67cf86aeffe4917808606c40ec39d878,9515] [o.h.e.jdbc.spi.SqlExceptionHelper,http-nio-127.0.0.1-7100-exec-12950] SQL Error: 0, SQLState: null
yyyy-mm-ddThh:mm:ss.423+0000 ERROR [common,67cf86aeffe4917808606c40ec39d878,9515] [o.h.e.jdbc.spi.SqlExceptionHelper,http-nio-127.0.0.1-7100-exec-12950] HikariPool-1 - Connection is not available, request timed out after 40000ms.
yyyy-mm-ddThh:mm:ss.424+0000 ERROR [common,67cf86aeffe4917808606c40ec39d878,9515] [c.v.e.s.c.r.a.c.v.SecureCredentialController,http-nio-127.0.0.1-7100-exec-12950] Credential Service Error
com.vmware.evo.sddc.css.model.error.CredentialException: Credential Internal Server Error
        at com.vmware.evo.sddc.css.dal.sql.client.CredentialClientImpl.getCredentialsByEntityIdAndEntityTypeAndCredentialType(CredentialClientImpl.java:179)
        at com.vmware.evo.sddc.css.services.CredentialServiceImpl.getCredentialsByEntityIdAndEntityTypeAndCredentialType(CredentialServiceImpl.java:161)
        at com.vmware.evo.sddc.css.services.CredentialServiceEmbeddedPscImpl.getCredentialsByEntityIdAndEntityTypeAndCredentialType(CredentialServiceEmbeddedPscImpl.java:150)
        at com.vmware.evo.sddc.css.rest.api.controller.v1.SecureCredentialController.getSystemCredentials(SecureCredentialController.java:77)
        at jdk.internal.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)

sddcManager.log
yyyy-mm-ddThh:mm:ss.088+0000 ERROR [a67c0ba5f09b4898] [services/errorHandling.js, http-get-networkpoolslist, productionErrorRoute:109]
600.158: VError: Sending error response: Unable to retrieve aggregated Network Pools info: Encountered error requesting api: Encountered error requesting "http://127.0.0.1/v1/network-pools/f0739b5a-eb0f-45fa-a519-48a04096182f/networks" api: Encountered error requesting http://127.0.0.1/v1/network-pools/f0739b5a-eb0f-45fa-a519-48a04096182f/networks api: 404 - "{\"errorCode\":\"NETWORKPOOL_NOT_FOUND\",\"arguments\":[null],\"message\":\"The network pool with ID null does not exist\",\"causes\":[{\"type\":\"com.vmware.evo.sddc.networkpool.common.NetworkPoolApiException\",\"message\":\"The network pool with ID {0} does not exist\"},{\"type\":\"com.vmware.evo.sddc.inventory.model.InventoryManagerException\",\"message\":\"Inventory Internal Server Error\"},{\"type\":\"org.springframework.transaction.CannotCreateTransactionException\",\"message\":\"Could not open JPA EntityManager for transaction\"},{\"type\":\"org.hibernate.exception.JDBCConnectionException\",\"message\":\"Unable to acquire JDBC Connection [HikariPool-1 - Connection is not available, request timed out after 40000ms.] [n/a]\"},{\"type\":\"java.sql.SQLTransientConnectionException\",\"message\":\"HikariPool-1 - Connection is not available, request timed out after 40000ms.\"}],\"referenceToken\":\"QHCIPI\"}"
    at Object.errorHandlerSend (/opt/vmware/vcf/sddc-manager-ui-app/server/src/errors/VCFError.js:100:5)
    at productionErrorRoute (/opt/vmware/vcf/sddc-manager-ui-app/server/src/services/errorHandling.js:98:34)
    at Layer.handle_error (/opt/vmware/vcf/sddc-manager-ui-app/server/node_modules/express/lib/router/layer.js:71:5)

Environment

VCF 4.5.x

Cause

One or more SDDC Services are not running or responding properly.

Resolution

  • Perform start/restart of all SDDC services using below command,
    /opt/vmware/vcf/operationsmanager/scripts/cli/sddc_manager_services.sh

  • Confirm all SDDC services are running and in ACTIVE state now, by running the below command.
    curl -X GET http://localhost/inventory/vcfservices | json_pp