You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently RdmpDicom uses the default .Net timeout of 100 seconds on API calls to external servers such as SemEHR. This is too short for some queries, resulting in timeouts.
To Reproduce
Steps to reproduce the behavior:
Perform longer-running API query
Expected behavior
Longer, configurable or no timeout applied: call should complete.
Screenshots
N/A
RDMP.Dicom Plugin Version
RDMP Version
Stack Trace
A task was canceled
at System. Threading.Tasks. Task.GetExceptions(Boolean includeTaskCanceledExceptions) at System. Threading. Tasks.Task.ThrowlfExceptional(Boolean includeTaskCanceledExceptions) at System. Threading. Tasks. Task'1.GetResultCore(Boolean waitCompletionNotification)
at Rdmp.Dicom.ExternalApis.SemEHRApiCaller.Run(AggregateConfigurationac,CachedAggregateConfigurationResultsManagercache,CancellationTokentoken,SemEHRConfigurationconfig)
at Rdmp.Dicom.ExternalApis.SemEHRApiCaller.Run(AggregateConfigurationac,CachedAggregateConfigurationResultsManagercache,CancellationTokentoken)
at Rdmp.Core.QueryBuilding.CohortQueryBuilderDependency.GetCacheFetchSqll/Possible(CohortQueryBuilderResultparent,AggregateConfigurationaggregate,CohortQueryBuilderDependencySqlsql,BooleanisPatientIndexTable,|PluginCohortCompilerpluginCohortCompiler.
Cancellation Token cancellation Token) in Da\ RDMP\RDMP\Rdmp.Core\QueryBuilding\CohortQuervBuilderDependency.cs:line267
at Rdmp.Core.QueryBuilding.CohortQueryBuilderDependency.Build(CohortQueryBuilderResultparent,ISq|Parameterilglobals,CancellationTokencancellationToken)inD:\a\RDMPIRDMPIRdmp.Core\QueryBuilding\CohortOueryBuilderDependency.csiline145 at Rdmp.Core.QueryBuilding.CohortOuervBuil derResult.BuildDependenciesSql(ISqlParameter(iglobals)inD:\a\RDMP\RDMP\Rdmp.Core\QueryBuildinq\CohortQuerBuilderResult.cs:line362 at Rdmp.Core.QueryBuilding.
•(AggregateConfiguration configuration. ParameterManager parameterManager
MP\Rdmp. Corel QueryBuildinq\ CohortQueryBuilderResult.cs:line 148
at Rdmp.Core.QuervBuilding.
= 176
at Rdmp.Core.CohortCreation at Rdmp.Core.CohortCreation. at Rdmp.Core.CohortCreation
ectlulloMatanaceTablerunnable Enumerable'1
askOnlv(|MapsDirectlyToDatabaseTabl
rderActivity Operation operation
sation\ Execution\ CohortCompiler.cs:line 32
Corel Cohort Creation\ Cohortidentification ConfigurationUICommon.c:line 204
Corel CohortCreation\
phoridentiticationContaurationCommon cane 187
at Rdmp.Core.CohortCreation.Cohortl
reationCohoricentiticationtons iration||ICommon ceiline 27°
at System.Threadina. FyecutionContext.RunF
preadPoolDispatchloon(Thread threadPoo!Thread EyecutionConteyt eyecutionContey
at System. Threading. Tasks. Task. ExecuteWith ThreadLocal(Task currentTaskSlot, Thread threadPoolThread) at System. Threading.ThreadPoo/WorkQueue. Dispatch
at Svstem.Threading.PortableThreadPool.WorkerThread.WorkerThreadStartO```
**Additional context**
Issue previously logged by eDRIS in EPCC Gitlab database, now transferred here to resolve.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently RdmpDicom uses the default .Net timeout of 100 seconds on API calls to external servers such as SemEHR. This is too short for some queries, resulting in timeouts.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Longer, configurable or no timeout applied: call should complete.
Screenshots
N/A
RDMP.Dicom Plugin Version
RDMP Version
Stack Trace
The text was updated successfully, but these errors were encountered: