I am trying to install new Edge UI for OPDK, after complete installation when i try to access the UI at localhost:3001, I get a Pop-up asking username and password and error is generated in management server log file
2021-04-30 11:34:25,396 org: env: target: contextId: action: qtp1878992188-52 ERROR SERVICES.SECURITY - JwtAccessController.verifyWithAppropriateJwtVerifier() : ApigeeSsoJwtVerifier is not initialized, verification not possible 2021-04-30 11:34:25,397 org: env: target: contextId: action: qtp1878992188-52 ERROR REST - Authorizer.beforeInvocation() : Authorizer.beforeInvocation: Detected an authentication failure. 2021-04-30 11:34:25,398 org: env: target: contextId: action: qtp1878992188-52 ERROR REST - CustomJAXRSInvoker.performInvocation() : CustomJAXRSInvoker.performInvocation : Method com.apigee.security.usermanagement.UserManager.getRolesForUser threw an exception. 2021-04-30 11:34:25,398 org: env: target: contextId: action: qtp1878992188-52 ERROR REST - ExceptionMapper.toResponse() : Error occurred : Authentication failed for user : {0} com.apigee.security.providers.JwtAccessController.verifyWithAppropriateJwtVerifier(JwtAccessController.java:197) com.apigee.security.providers.JwtAccessController.handleOAuthRequest(JwtAccessController.java:135) com.apigee.security.providers.JwtAccessController.authenticate(JwtAccessController.java:118) com.apigee.rest.framework.security.authentication.ApigeeLoginModule.login(ApigeeLoginModule.java:50)
while setting up sso again got below error in sso-logs:
localhost-startStop-1 ERROR o.c.i.u.i.c.YamlConfigurationValidator - YamlConfigurationValidator.afterPropertiesSet() : Failed to load YAML validation bean. Your YAML file may be invalid. org.yaml.snakeyaml.constructor.ConstructorException: null; Can't construct a java object for tag:yaml.org,2002:org.cloudfoundry.identity.uaa.impl.config.UaaConfiguration; exception=Cannot create property=headers for JavaBean=org.cloudfoundry.identity.uaa.impl.config.UaaConfiguration@7c3217ec; Unable to find property 'headers' on class: org.cloudfoundry.identity.uaa.impl.config.UaaConfiguration; in 'string', line 1, column 1: spring_profiles: postgresql,apig ... Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create property=headers for JavaBean=org.cloudfoundry.identity.uaa.impl.config.UaaConfiguration@7c3217ec; Unable to find property 'headers' on class: org.cloudfoundry.identity.uaa.impl.config.UaaConfiguration
Solved! Go to Solution.
According to Apigee support, this error message can be ignored.
With their help I was able to detect that apigee-sso setup script running endless was caused by TLS issue with Tomcat configuration, which is shown in another log beside. The certificate JKS did not have the alias as defined in the cfg file. After enriching JKS with "keytool -changealias ...", setup succeeded.
However, the setup should run into an error and abort in such a case.