Offline bundle utility fails with the error: "Unable to create token after 8 retries"
search cancel

Offline bundle utility fails with the error: "Unable to create token after 8 retries"

book

Article ID: 392946

calendar_today

Updated On:

Products

VMware Cloud Foundation 5.x VMware Cloud Foundation VMware Cloud Foundation 4.x

Issue/Introduction

When attempting to update the compatibility data and manifest using the OBTU it fails with the following error:

Failed to generate token
java.lang.Exception: Unable to create token after 8 retries.
        at com.vmware.evo.sddc.lcm.tools.common.adapter.TokenDependent.createToken(TokenDependent.java:114)
        at com.vmware.evo.sddc.lcm.tools.common.adapter.TokenDependent.getToken(TokenDependent.java:81)
        at com.vmware.evo.sddc.lcm.tools.common.adapter.impl.CompatibilityUploadApiAdapterImpl.setAuthToken(CompatibilityUploadApiAdapterImpl.java:207)

Environment

VCF 5.x

Cause

Missing SAN(Subject Alternative Name) is the certificate of the SDDC manager. 

Resolution

Check if the certificate has the details by running the below:

*** Get sddc-manager certificate ***
openssl s_client -showcerts -servername server -connect <sddc-manager fqdn> > sddc.pem

*** Check SAN ***
openssl x509 -in ./sddc.pem -noout -text | grep -A1 "Subject Alternative Name"

 

If the SAN is missing replace the certificate to include the SDDC Subject Alternative Name.

Additional Information

In case the issue persists please contact Broadcom Technical Support.