# Build 1.0.0.1773 - Agent synchronization failed

**URL:** https://www.finalbuilder.com/forums/t/build-1-0-0-1773-agent-synchronization-failed/5804
**Category:** Bugs
**Created:** [April 8, 2013, 12:39pm UTC](https://www.finalbuilder.com/forums/t/build-1-0-0-1773-agent-synchronization-failed/5804 "2013-04-08T12:39:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ollis](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@ollis](https://www.finalbuilder.com/forums/u/ollis)
#### Post date: [April 8, 2013, 12:39pm UTC](https://www.finalbuilder.com/forums/t/build-1-0-0-1773-agent-synchronization-failed/5804/1 "2013-04-08T12:39:32Z")

</div>

Hello,

&nbsp;

We are now getting following error on one of our projects:  
  
  
Importance: Error  
  
Date: Monday, April 08, 2013  
Time: 1:32:40 PM  
  
Message:  
  
Stage Controller  
  
Error Initialising Workspace   
Exception: Exception  
Message: Running C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe failed with return code 255 and error output abort: unknown revision '22550824843f361319bedc0faf6e420a45d1866c'!  
&nbsp;(Args were : archive -r 22550824843f361319bedc0faf6e420a45d1866c -I "re:^((Source.\*))$" -X re:^((\^(\\|/)\.hgignore))$ --subrepos -R C:\ContinuaAgent\Repos\2cdc6a4a C:\ContinuaAgent\Ws\12482 --config ui.username=Continua)  
Stack Trace:&nbsp;&nbsp;&nbsp; at Continua.Shared.Utils.Mercurial.Run(ProcessArguments args, String workingDir, Func`2 checkResult)  
&nbsp;&nbsp; at Continua.Shared.Utils.Mercurial.Archive(String repository, String destination, String revision, String includes, IEnumerable`1 excludes)  
&nbsp;&nbsp; at Continua.Modules.Builds.Agent.FileSync.AgentRepositoryCache.\<\>c\_\_DisplayClassd.b\_\_c()  
&nbsp;&nbsp; at Continua.Shared.Utils.ReadWriteLockList`1.WithReadLock(TId id, CancellationTokenSource cancelTokenSource, Action action)  
&nbsp;&nbsp; at Continua.Modules.Builds.Agent.FileSync.AgentRepositoryCache.Export(String dest, String revision, String includes, IEnumerable`1 excludes, Boolean listFiles)  
&nbsp;&nbsp; at Continua.Modules.Builds.Agent.AgentRepositoryHelper.CopySourceToWorkspace(String filePattern, IEnumerable`1 excludes, String relativeDestination, AgentWorkspaceSyncContext wsCtx, Boolean logRepoFiles)  
&nbsp;&nbsp; at Continua.Modules.Builds.Agent.AgentBuildHelper.SyncSourceFromServer(IEnumerable`1 rules, AgentWorkspaceSyncContext workspaceCtx)  
&nbsp;&nbsp; at Continua.Modules.Builds.Agent.AgentBuildHelper.InitialiseWorkspaceOnAgent(AgentCallbackProxy proxy, TransportContextDTO source, Guid callId)  
&nbsp;&nbsp; at Continua.Modules.Builds.Agent.AgentBuildRunner.OnInitialisingWorkspace(Transition`1 inState)  
  
  
This occurs on every build attempt. Resetting the repository didn't affect this.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 8, 2013, 12:52pm UTC](https://www.finalbuilder.com/forums/t/build-1-0-0-1773-agent-synchronization-failed/5804/2 "2013-04-08T12:52:27Z")

</div>

Hi Olli   
  
 One of our guys saw this issue on his dev machine today, of course when we tried to debug it, it worked fine and we were not able to reproduce it. Try restarting the agent. We’ll take another look at this.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 9, 2013, 10:44am UTC](https://www.finalbuilder.com/forums/t/build-1-0-0-1773-agent-synchronization-failed/5804/3 "2013-04-09T10:44:28Z")

</div>

Hi Olli   
  
 We spent some time on this today, and think we may have fixed this issue, unfortunately we were not able to reproduce the problem, so I’m not 100% certain it’s resolved. I just uploaded a new build with the fix we put in today.
