Intermittently SDDC GUI displays error "You are not authorized to view this page. Login" while trying to login
search cancel

Intermittently SDDC GUI displays error "You are not authorized to view this page. Login" while trying to login

book

Article ID: 371625

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Symptoms:

 

  • Login to SDDC manager fails with error  " You are not authorized to view this page. Login".

  • SDDC manager contains errors similar to the excerpt below:

    /var/log/vmware/vcf/sddc-manager-ui-app/sddcManagerServer.log

    2024-07-04T09:24:12.028+0000 ERROR [6f0300f252524152] [services/authorization.js, http-post-callback, isAuthorizedUser:68]
    500.144: VError: User Authorization failed: 500 - "{\"errorCode\":\"IDENTITY_INTERNAL_SERVER_ERROR\",\"arguments\":[],\"message\":\"Identity Internal Server Error\",\"referenceToken\":\"L1H58B\"}"
        at Object.authorizationFailedError (/opt/vmware/vcf/sddc-manager-ui-app/server/src/errors/VCFError.js:100:5)
        at isAuthorizedUser (/opt/vmware/vcf/sddc-manager-ui-app/server/src/services/authorization.js:67:41)
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
        at async authorizeUser (/opt/vmware/vcf/sddc-manager-ui-app/server/src/services/authorization.js:30:9)
    Error Info: {"errorModule":500,"errorCode":144}
    caused by:
    StatusCodeError: 500 - "{\"errorCode\":\"IDENTITY_INTERNAL_SERVER_ERROR\",\"arguments\":[],\"message\":\"Identity Internal Server Error\",\"referenceToken\":\"L1H58B\"}"
     
    /var/log/vmware/vcf/commonsvcs/vcf-commonsvcs.log

    2024-07-04T09:24:12.026+0000 ERROR [common,6f0300f252524152,7cf1] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7100-exec-9880] [L1H58B] IDENTITY_INTERNAL_SERVER_ERROR Identity Internal Server Error
    com.vmware.evo.sddc.identity.rest.api.error.PermissionException: Identity Internal Server Error
            at com.vmware.evo.sddc.identity.rest.api.controller.PermissionController.doAuthorization(PermissionController.java:89)
            at jdk.internal.reflect.GeneratedMethodAccessor736.invoke(Unknown Source)
            at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.base/java.lang.reflect.Method.invoke(Method.java:566)

 

 

Environment

VMware SDDC Manager 4.5.x

Cause

  • In version 4.5.x, there have been occurrences of this problem due to excessive thread overhead leading to a deadlock, which results in a timeout in the SDDC GUI and display of this error.

  • This problem can occur at approximately 60-day intervals.

Resolution

  • The issue has been fixed in VCF version 5.x and later.

  • Currently, there is no resolution for version 4.5.x

    Workaround:
    Restart the 'commonsvcs' service using the following command: 
    systemctl restart commonsvc
    or reboot the SDDC Manager appliance.