0
Fixed

UNIFYBroker Entity Search Throwing an error

Hayden Gray 5 years ago updated by Beau Harrison (Senior Product Software Engineer) 5 years ago 4

Hi Guys,

When clicking on the entity count to do an entity search (Both Connector and Adapter). I can't seem to perform an entity search. I get the following error: 

Error

System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Unify.Connect.Web.IdentityBrokerEntitySearchController.CurrentEntities(EntityRetrievalInformation`1 information)
at Unify.Connect.Web.IdentityBrokerEntitySearchController.<EntityData>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at lambda_method(Closure , Task )
at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass34.<BeginInvokeAsynchronousActionMethod>b__33(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3c()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass45.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3e()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass30.<BeginInvokeActionMethodWithFilters>b__2f(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass1e.<>c__DisplayClass28.<BeginInvokeAction>b__19()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass1e.<BeginInvokeAction>b__1b(IAsyncResult asyncResult)
---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

 DataTables Error

This error hasn't always occurred, however recently the error is appearing for connectors/adapters with high entity counts (lower entity count connectors/adapters seem to be fine).

Current IDB version: v5.3.1

Troubleshooting so far:

* Restart the UNIFYBroker Service

* Rebuilt all indexes on the UNIFYBroker Database

Let me know if you need more information.

Thank

Under review

Hey Hayden,

How many entities are there for the ones you're seeing errors on?

Fixed

Thanks Guys, that's fixed it.

This bug has be resolve with the release of v5.3.1 RTM. The UI API timeout is now a default of 10 minutes and can be configured. See Configuring API Access for the Web Component for more information.

Hi Hayden

Have you upgraded to an RTM version of v5.3.1? If not, do so. Once on an appropriate version, you need to configure the timeout to accommodate length of time operations are taking in your solution. The link I provided in my last comment describes this process.