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

Atlassian JIRA | Federico Silva Armas [Atlassian] | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 6 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 | 6 years ago | Federico Silva Armas [Atlassian]
    com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate

    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