Confluence connect Jria Active Directory - Synchronisation failed "See Server Logs for detail".
Asked by Louis He:

Hello,

Does anyone know this error?

2019-06-02 12:59:28,030 WARN \[Caesium-1-1\] \[impl.schedule.caesium.JobRunnerWrapper\] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse\[runOutcome=ABORTED,message='LaaS performance logging is turned off'\]  
-- referer: <https://my.works922.com/confluence/setup/connecttojirasyncdirectory-start.action> \| url: /confluence/setup/finishsetup.action \| traceId: 18c7c0d3017a5571 \| userName: anonymous \| action: finishsetup  
2019-06-02 13:02:07,612 INFO \[Caesium-1-4\] \[atlassian.crowd.directory.DbCachingRemoteDirectory\] synchroniseCache FULL synchronisation for directory \[ 98305 \] starting  
2019-06-02 13:02:07,671 INFO \[Caesium-1-4\] \[atlassian.crowd.directory.DbCachingRemoteDirectory\] synchroniseCache failed synchronisation complete for directory \[ 98305 \] in \[ 59ms \]  
2019-06-02 13:02:07,679 ERROR \[Caesium-1-4\] \[atlassian.crowd.directory.DbCachingDirectoryPoller\] pollChanges Error occurred while refreshing the cache for directory \[ 98305 \].  
-- referer: <https://my.works922.com/confluence/setup/connecttojirasyncdirectory-start.action> \| url: /confluence/setup/finishsetup.action \| traceId: 18c7c0d3017a5571 \| userName: anonymous \| action: finishsetup  
com.atlassian.crowd.exception.OperationFailedException: javax.xml.bind.UnmarshalException  
- with linked exception:  
\[org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 274; An invalid XML character (Unicode: 0x8) was found in the element content of the document.\]  
at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:370)  
at com.atlassian.crowd.integration.rest.service.RestCrowdClient.searchUsers(RestCrowdClient.java:513)  
at com.atlassian.crowd.directory.RemoteCrowdDirectory.searchUsers(RemoteCrowdDirectory.java:327)  
at com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher.findAllRemoteUsers(RemoteDirectoryCacheRefresher.java:48)  
at com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher.synchroniseAllUsers(RemoteDirectoryCacheRefresher.java:73)  
at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:50)  
at com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher.synchroniseAll(EventTokenChangedCacheRefresher.java:58)  
at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:978)  
at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:67)  
at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:45)  
at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobRunner.runJob(DirectoryPollerJobRunner.java:85)  
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:120)  
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:91)  
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)  
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)  
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:91)  
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)  
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)  
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:410)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:388)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:285)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:282)


Answers:
author: Louis He
body: fixed not sure why Jira username adds some Special characters, I have renamed the full name of the user working fine.

<http://prntscr.com/nwveia>


Tags: jira