0
Fixed

A task was cancelled

Carol Wapshere 1 year ago • updated 1 year ago 6

When running connector imports in IdB 5.2 (PowerShell connector) I am seeing a message "A task was cancelled" though there doesn't actually seem to be any problem. MD says this is a known issue but I need to ask for a patch for 5.2.

This is the full error:



System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Unify.Connect.Web.Client.ConnectorClient.d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Unify.Connect.Web.Client.ProfiledConnectorClient.d__108.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Unify.Framework.Web.UnifyController.d__39.MoveNext()
Affected Versions:
Fixed by Version:

Answer

Answer
Under review

Hi Carol,

Could you please try applying the following patch, and let me know if the issue persists? Patch.zip

Answer
Under review

Hi Carol,

Could you please try applying the following patch, and let me know if the issue persists? Patch.zip

I dropped Unify.IdenityBroker.Connector.Api.dll in the Services folder, and the other two in the Web folder, and restarted IdB. I'm still seeing the message appear during an Import - looks to be exactly the same. Did I put the files in the right places? Should it have been Web\bin?

My apologies, yes please try in Web\bin. The two DLLs should be in that directory already.

Hi Carol,

Did you have any luck with this patch?

Back on site today and haven't noticed the error message so I think we're good.