In SDDC Manager, IDENTITY_INTERNAL_SERVER_ERROR occurs when attempting to retrieve an API token.
search cancel

In SDDC Manager, IDENTITY_INTERNAL_SERVER_ERROR occurs when attempting to retrieve an API token.

book

Article ID: 425575

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware Cloud Foundation

Issue/Introduction

  • When retrieving a token via curl in SDDC Manager, the following error is returned:

    curl -d '{"username" : "[SSO username]", "password" : "[SSO password]"}' -H "Content-Type: application/json" -X POST http://127.0.0.1/v1/tokens

    {"errorCode":"IDENTITY_INTERNAL_SERVER_ERROR","arguments":[],"message":"Identity Internal Server Error","referenceToken":"[tokenID]"}
  • Error in /var/log/vmware/vcf/commonsvcs/vcf-commonsvcs.log
    ERROR [common,[id],9645] [c.v.e.s.c.c.v.vsphere.VsphereClient,cs-exec-6] Failed to connect to https://<vCenter.example.com>:443/sdk
    com.vmware.vim.vmomi.client.exception.ConnectionException: https://<vCenter.example.com>:443/sdk invocation failed with "java.net.UnknownHostException: <vCenter.example.com>: Temporary failure in name resolution"

Environment

VMware SDDC Manager

Cause

The issue is caused by an incorrect DNS server IP address configured on the SDDC Manager appliance, which prevents it from resolving the vCenter Server's hostname 

Resolution

To resolve this, update the DNS server configuration to the correct IP address using the SDDC Manager command line:

  1. SSH to the SDDC Manager appliance as the vcf user.
  2. Follow the detailed procedures in Configure/Update DNS Server IP Address in SDDC Manager or the VCF Installer through Command Line