Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthenticatorWebAuthnService debug log grows extremely #221

Open
tsujiguchitky opened this issue Jul 13, 2020 · 0 comments
Open

AuthenticatorWebAuthnService debug log grows extremely #221

tsujiguchitky opened this issue Jul 13, 2020 · 0 comments
Assignees

Comments

@tsujiguchitky
Copy link
Contributor

Description

In an environment that does not use WebAuthn, the stack trace is output to AuthenticatorWebAuthnService debug log every time the user views the dashboard.

Steps to reproduce

  1. Set up OpenAM without WebAuthn Authenticator Service
  2. Log in as a demo user.
  3. Then view the dashboard.

Expected Results

No error log is output.

Actual Results

The error log described below is output.

Debug Log

AuthenticatorWebAuthnService:07/13/2020 12:38:30:191 PM JST: Thread[http-bio-8080-exec-7,5,main]: TransactionId[28e39fc5-5c26-4754-bbd0-dc938cf614e5-104]
ERROR: Unable to search authenticator entries with 94a0e3b3-a4c3-4343-9642-e7063aef4001
org.forgerock.opendj.ldap.ConnectionException: Connect Error: No operational connection factories available
        at org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:163)
        at org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:124)
        at org.forgerock.opendj.ldap.AbstractLoadBalancingAlgorithm.getMonitoredConnectionFactory(AbstractLoadBalancingAlgorithm.java:343)
        at org.forgerock.opendj.ldap.AbstractLoadBalancingAlgorithm.access$100(AbstractLoadBalancingAlgorithm.java:59)
        at org.forgerock.opendj.ldap.AbstractLoadBalancingAlgorithm$MonitoredConnectionFactory.getConnection(AbstractLoadBalancingAlgorithm.java:89)
        at org.forgerock.opendj.ldap.LoadBalancer.getConnection(LoadBalancer.java:55)
        at jp.co.osstech.openam.core.rest.devices.services.webauthn.AuthenticatorWebAuthnService.getConnection(AuthenticatorWebAuthnService.java:277)
        at jp.co.osstech.openam.core.rest.devices.services.webauthn.AuthenticatorWebAuthnService.getAuthenticators(AuthenticatorWebAuthnService.java:334)
        at jp.co.osstech.openam.core.rest.devices.services.webauthn.WebAuthnDevicesResource.queryCollection(WebAuthnDevicesResource.java:161)
        at org.forgerock.json.resource.InterfaceCollectionHandler.handleQuery(InterfaceCollectionHandler.java:62)
        at org.forgerock.json.resource.Router.handleQuery(Router.java:310)
        at org.forgerock.json.resource.Router.handleQuery(Router.java:310)
        at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:99)
        at org.forgerock.authz.filter.crest.AuthorizationFilters$AuthorizationFilter$5.apply(AuthorizationFilters.java:350)
        at org.forgerock.authz.filter.crest.AuthorizationFilters$AuthorizationFilter$5.apply(AuthorizationFilters.java:346)
        at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:255)
        at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:244)
        at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:223)
        at org.forgerock.authz.filter.crest.AuthorizationFilters$AuthorizationFilter.filterQuery(AuthorizationFilters.java:346)
        ...
Caused by: org.forgerock.opendj.ldap.ConnectionException: Server Connection Closed: Heartbeat failed
        at org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:163)
        at org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:124)
        at org.forgerock.opendj.ldap.LDAPConnectionFactory$4.handleException(LDAPConnectionFactory.java:510)
        at org.forgerock.opendj.ldap.LDAPConnectionFactory$4.handleException(LDAPConnectionFactory.java:498)
        at org.forgerock.util.promise.PromiseImpl$1.handleStateChange(PromiseImpl.java:287)
        ...
Caused by: org.forgerock.opendj.ldap.LdapException: Unwilling to Perform: Unable to process the simple bind request because it contained a bind DN but no password, which is forbidden by the server configuration
        at org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:188)
        ... 20 more
@tsujiguchitky tsujiguchitky self-assigned this Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant