com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate

Atlassian JIRA | Federico Silva Armas [Atlassian] | 5 years ago
  1. 0

    Note: this also reproes for the server url. - Switch user base to use a remote crowd server - Type in incorrect password and click save - An error will show *Expected*: Sync to continue to work *Actual*: The wrong password was saved and all syncs start to fail. {code} [INFO] [talledLocalContainer] 2011-07-13 11:00:43,228 INFO [http-9099-1] [UserGroupCache] Cache flushed [INFO] [talledLocalContainer] 2011-07-13 11:00:45,794 INFO [http-9099-1] [AccessLogFilter] crowduser GET http://localhost:9099/bamboo/admin/userManagement!flush.action 163761kb [INFO] [talledLocalContainer] 2011-07-13 11:00:45,796 INFO [http-9099-1] [UserGroupCache] Cache flushed [INFO] [talledLocalContainer] 2011-07-13 11:01:03,535 INFO [QuartzScheduler_Worker-6] [UserGroupCache] Populating user/group membership cache due to refreshCache [INFO] [talledLocalContainer] 2011-07-13 11:01:03,601 http-4990-1 INFO [plugin.rest.filter.BasicApplicationAuthenticationFilter] Application 'bamboo' failed authentication [INFO] [talledLocalContainer] 2011-07-13 11:01:03,601 INFO [QuartzScheduler_Worker-6] [AuthChallengeProcessor] basic authentication scheme selected [INFO] [talledLocalContainer] 2011-07-13 11:01:03,602 INFO [QuartzScheduler_Worker-6] [HttpMethodDirector] Failure authenticating with BASIC 'Crowd REST Service'@localhost:4990 [INFO] [talledLocalContainer] 2011-07-13 11:01:03,602 WARN [QuartzScheduler_Worker-6] [HttpMethodBase] Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. [INFO] [talledLocalContainer] 2011-07-13 11:01:03,605 WARN [QuartzScheduler_Worker-6] [CrowdClientControl] Failed to refresh the user and group cache [INFO] [talledLocalContainer] com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:102) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCache(UserGroupCache.java:411) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCacheIfNecessary(UserGroupCache.java:432) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.CrowdClientControl.refreshCacheIfNecessary(CrowdClientControl.java:89) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.BambooUserRefreshJobScheduler$BambooUserRefreshJob.execute(BambooUserRefreshJobScheduler.java:73) [INFO] [talledLocalContainer] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [INFO] [talledLocalContainer] at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) [INFO] [talledLocalContainer] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) [INFO] [talledLocalContainer] Caused by: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor.throwError(RestExecutor.j {code}

    Atlassian JIRA | 5 years ago | Federico Silva Armas [Atlassian]
    com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
  2. 0

    Note: this also reproes for the server url. - Switch user base to use a remote crowd server - Type in incorrect password and click save - An error will show *Expected*: Sync to continue to work *Actual*: The wrong password was saved and all syncs start to fail. {code} [INFO] [talledLocalContainer] 2011-07-13 11:00:43,228 INFO [http-9099-1] [UserGroupCache] Cache flushed [INFO] [talledLocalContainer] 2011-07-13 11:00:45,794 INFO [http-9099-1] [AccessLogFilter] crowduser GET http://localhost:9099/bamboo/admin/userManagement!flush.action 163761kb [INFO] [talledLocalContainer] 2011-07-13 11:00:45,796 INFO [http-9099-1] [UserGroupCache] Cache flushed [INFO] [talledLocalContainer] 2011-07-13 11:01:03,535 INFO [QuartzScheduler_Worker-6] [UserGroupCache] Populating user/group membership cache due to refreshCache [INFO] [talledLocalContainer] 2011-07-13 11:01:03,601 http-4990-1 INFO [plugin.rest.filter.BasicApplicationAuthenticationFilter] Application 'bamboo' failed authentication [INFO] [talledLocalContainer] 2011-07-13 11:01:03,601 INFO [QuartzScheduler_Worker-6] [AuthChallengeProcessor] basic authentication scheme selected [INFO] [talledLocalContainer] 2011-07-13 11:01:03,602 INFO [QuartzScheduler_Worker-6] [HttpMethodDirector] Failure authenticating with BASIC 'Crowd REST Service'@localhost:4990 [INFO] [talledLocalContainer] 2011-07-13 11:01:03,602 WARN [QuartzScheduler_Worker-6] [HttpMethodBase] Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. [INFO] [talledLocalContainer] 2011-07-13 11:01:03,605 WARN [QuartzScheduler_Worker-6] [CrowdClientControl] Failed to refresh the user and group cache [INFO] [talledLocalContainer] com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:102) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCache(UserGroupCache.java:411) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCacheIfNecessary(UserGroupCache.java:432) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.CrowdClientControl.refreshCacheIfNecessary(CrowdClientControl.java:89) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.BambooUserRefreshJobScheduler$BambooUserRefreshJob.execute(BambooUserRefreshJobScheduler.java:73) [INFO] [talledLocalContainer] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [INFO] [talledLocalContainer] at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) [INFO] [talledLocalContainer] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) [INFO] [talledLocalContainer] Caused by: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor.throwError(RestExecutor.j {code}

    Atlassian JIRA | 5 years ago | Federico Silva Armas [Atlassian]
    com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    When an admin tries to delete or remove a group that still has members or users in it the following stack trace results: Cause: com.atlassian.user.EntityException: There are still members in this group. at com.atlassian.confluence.user.actions.RemoveGroupAction.execute(RemoveGroupAction.java:82) Stack Trace: [hide] com.atlassian.user.EntityException: There are still members in this group. at com.atlassian.confluence.user.actions.RemoveGroupAction.execute(RemoveGroupAction.java:82) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:38) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:94) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:82) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    com.atlassian.user.EntityException: There are still members in this group.
  5. 0

    When an admin tries to delete or remove a group that still has members or users in it the following stack trace results: Cause: com.atlassian.user.EntityException: There are still members in this group. at com.atlassian.confluence.user.actions.RemoveGroupAction.execute(RemoveGroupAction.java:82) Stack Trace: [hide] com.atlassian.user.EntityException: There are still members in this group. at com.atlassian.confluence.user.actions.RemoveGroupAction.execute(RemoveGroupAction.java:82) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:38) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:94) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:82) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    com.atlassian.user.EntityException: There are still members in this group.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.user.EntityException

      com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate

      at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot()
    2. com.atlassian.crowd
      CrowdClientControl.refreshCacheIfNecessary
      1. com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:102)
      2. com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCache(UserGroupCache.java:411)
      3. com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCacheIfNecessary(UserGroupCache.java:432)
      4. com.atlassian.crowd.integration.atlassianuser.CrowdClientControl.refreshCacheIfNecessary(CrowdClientControl.java:89)
      4 frames
    3. com.atlassian.bamboo
      BambooUserRefreshJobScheduler$BambooUserRefreshJob.execute
      1. com.atlassian.bamboo.user.BambooUserRefreshJobScheduler$BambooUserRefreshJob.execute(BambooUserRefreshJobScheduler.java:73)
      1 frame
    4. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      1 frame
    5. com.atlassian.bamboo
      SystemAuthorizedThreadPool$1.run
      1. com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38)
      1 frame
    6. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      1 frame