Atlassian Crowd sync is failing


The user sync in confluence is failing and I can't create new users in confluence.

Can anyone provide a hint on how to solve the problem?

1 answer

0 votes
Ann Worley Atlassian Team Aug 21, 2017

To get started troubleshooting, please check your atlassian-confluence.log for the failed synchronization. There should be a descriptive error message there. If it isn't obvious what the error means, please post it here so I can help research it.

The log is located at <confluence_home>/logs/atlassian-confluence.log. Note: The <confluence_home> directory is the path defined in the following file: <confluence_install>/confluence/WEB-INF/classes/

Here is some more information on how user management works in Confluence when synchronizing with Crowd: Connecting to Crowd or JIRA for User Management

Here it is:

2017-08-21 13:19:36,032 INFO [http-nio-2087-exec-12] [embedded.admin.list.DirectoriesController] sync User directory synchronisation requested: [ Remote JIRA Directory ], type: [ CROWD ]
2017-08-21 13:19:36,057 INFO [Caesium-1-1] [] synchroniseCache FULL synchronisation for directory [ 98305 ] starting
2017-08-21 13:19:36,222 INFO [Caesium-1-1] [] synchroniseCache failed synchronisation complete for directory [ 98305 ] in [ 165ms ]
2017-08-21 13:19:36,226 ERROR [Caesium-1-1] [] pollChanges Error occurred while refreshing the cache for directory [ 98305 ].
com.atlassian.crowd.exception.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: ?^H^@^@^@^@^@^@^@?UYo?0^P~?W?tWZ?+?>????tU?^G^BU?^@^H ?$55v??p???? ^Pzo^?????73???>?[?P??^WAt^ZM???t ;g??^P??_~~??uT???"??????:^X?^V2?0?i?(?2uM?I? 8\??9,??^F?%?fdtn?m???Gsi??uT?? :???????$
        at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(
        at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(
        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(
        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(
        at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(
        at com.atlassian.scheduler.core.JobLauncher.runJob(
        at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(
        at com.atlassian.scheduler.core.JobLauncher.launch(
        at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(
        at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(
        at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(
        at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(
        at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(
        at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(
        at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(
Caused by: com.atlassian.crowd.exception.ApplicationPermissionException: ?^H^@^@^@^@^@^@^@?UYo?0^P~?W?tWZ?+?>????tU?^G^BU?^@^H ?$55v??p???? ^Pzo^?????73???>?[?P??^WAt^ZM???t ;g??^P??_~~??uT???"??????:^X?^V2?0?i?(?2uM?I? 8\??9,??^F?%?fdtn?m???Gsi??uT?? :???????e?~}||x:??|??^T,???{?w?Bk??7?JW??x^E8 "???^T^$
        ... 25 more

Ann Worley Atlassian Team Aug 21, 2017

From the log, it looks like you are using JIRA to manage your Confluence users. It also seems like the application does not have permission to sync from JIRA:

Caused by: com.atlassian.crowd.exception.ApplicationPermissionException

Please go to the JIRA User Server on your JIRA instance and make sure the application name and password there match what you are using in Confluence. Also, please check that the IP address of the Confluence server is in the configuration.

There are details for JIRA User Server on this page: Connecting Confluence to JIRA applications for User Management

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

458 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you