The error opening the Skill in Vantage Advanced Designer: " Can't get project data from server: System.AggregateException: One or more errors occurred. (Wait for editable copy (StartEditableCopyAsync) failed)"

Symptoms

When trying to open the Skill containing large number of documents in it in Vantage Advanced Designer, the procedure fails on the timeout with the error as follows:

---------------------------
ABBYY Vantage Advanced Designer (connected to <Vantage server URL>)
---------------------------
Can't get project data from server: System.AggregateException: One or more errors occurred. (Wait for editable copy (StartEditableCopyAsync) failed)
---> System.Exception: Wait for editable copy (StartEditableCopyAsync) failed
   at Abbyy.Vantage.ML.AdvancedDesignerBackend.Core.DocumentSkillService.<>c__DisplayClass24_1.<<GetAsync>b__2>d.MoveNext() in /opt/myagent/_work/412/s/Services/AdvancedDesignerBackend/AdvancedDesignerBackend.Core/DocumentSkillService.cs:line 351
--- End of stack trace from previous location where exception was thrown ---
   at Abbyy.Vantage.ML.AdvancedDesignerBackend.Core.Helpers.WaitHelpers.InnerWaitAsync(Func`1 exitCondition, TimeSpan retryInterval) in /opt/myagent/_work/412/s/Services/AdvancedDesignerBackend/AdvancedDesignerBackend.Core/Helpers/WaitHelpers.cs:line 68
   --- End of inner exception stack trace ---
   at Abbyy.Vantage.ML.AdvancedDesignerBackend.Core.Helpers.WaitHelpers.WaitAsync(Func`1 exitCondition, TimeSpan waitTimeout, TimeSpan retryInterval) in /opt/myagent/_work/412/s/Services/AdvancedDesignerBackend/AdvancedDesignerBackend.Core/Helpers/WaitHelpers.cs:line 40
   at Abbyy.Vantage.ML.AdvancedDesignerBackend.Core.DocumentSkillService.<>c__DisplayClass24_0.<<GetAsync>b__0>d.MoveNext() in /opt/myagent/_work/412/s/Services/AdvancedDesignerBackend/AdvancedDesignerBackend.Core/DocumentSkillService.cs:line 388
--- End of stack trace from previous location where exception was thrown ---
   at Abbyy.Vantage.ML.AdvancedDesignerBackend.Core.Helpers.LongOperationProcessor.<>c__DisplayClass5_0`2.<<CreateLongOperationAsync>b__0>d.MoveNext() in /opt/myagent/_work/412/s/Services/AdvancedDesignerBackend/AdvancedDesignerBackend.Core/Helpers/LongOperationProcessor.cs:line 60
---------------------------
OK
---------------------------
 

Cause

In Vantage 2.2 and earlier versions the timeout limitations for creating the Skill  editable copy is 15 minutes. For large Skills with large amounts of documents or in case of low resources in the server instance the operation may fail with the timeout.

Resolution

Resolution estimated in Vantage 2.2.1 with increasing the operation timeout.

As a workaround, to continue working wit the Skill, try to restore the Skill from the previous version in case if the previous Skill versions are not affected by the issue.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.