OHDSI Home | Forums | Wiki | Github

Random logout and new feature creating errors

Hi @Ajit_Londhe

We are using Broadsea 3.0 with version 2.13.0 and having two issues which mentioned below. Whenever we do docker compose down and up everything settle back to normal.

1.We have an issue with ATLAS logging out users every 2 mins or so and have to log back in each time for this we have attached the webapi logs for that particular user alone

root@ppd3-euc1:~# docker logs b0b0a49033f9 | grep lawrancm2023-08-28 15:00:38.598 INFO http-nio-8080-exec-1 com.odysseusinc.logging.LoggingService - [] - User login = lawrancm was logged in
2023-08-28 15:00:38.607 INFO http-nio-8080-exec-1 org.ohdsi.webapi.audittrail.AuditTrailServiceImpl - [] - <110>1 2023-08-28T15:00:38.606Z b0b0a49033f9 Atlas - - - User successfully logged in: lawrancm, sessionId = 380e75ea-a7e7-4dd0-ba88-5479df9d0607, remote-host = 172.25.0.22023-08-28 15:06:44.224 INFO taskExecutor-1 org.springframework.batch.core.launch.support.SimpleJobLauncher$1 - [] - Job: [SimpleJob: [name=generateCohortCharacterization]] launched with the following parameters: [{jobName=Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1), cohort_characterization_id=3, source_id=11, jobAuthor=lawrancm, sessionId=co6iegdx, target_table=temp_cohort_co6iegdx, time=1693235204128}]2023-08-28 15:06:44.251 INFO taskExecutor-1 org.ohdsi.webapi.audittrail.AuditTrailServiceImpl - [] - <110>1 2023-08-28T15:06:44.250Z b0b0a49033f9 Atlas - - - lawrancm - Job 1308 execution started: Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1)2023-08-28 15:07:28.195 INFO taskExecutor-1 org.ohdsi.webapi.audittrail.AuditTrailServiceImpl - [] - <110>1 2023-08-28T15:07:28.195Z b0b0a49033f9 Atlas - - - lawrancm - Job 1308 execution failed: Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1)2023-08-28 15:07:28.215 INFO taskExecutor-1 org.springframework.batch.core.launch.support.SimpleJobLauncher$1 - [] - Job: [SimpleJob: [name=generateCohortCharacterization]] completed with the following parameters: [{jobName=Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1), cohort_characterization_id=3, source_id=11, jobAuthor=lawrancm, sessionId=co6iegdx, target_table=temp_cohort_co6iegdx, time=1693235204128}] and the following status: [FAILED]2023-08-28 15:12:06.130 INFO taskExecutor-2 org.springframework.batch.core.launch.support.SimpleJobLauncher$1 - [] - Job: [SimpleJob: [name=generateCohortCharacterization]] launched with the following parameters: [{jobName=Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1), cohort_characterization_id=3, source_id=11, jobAuthor=lawrancm, sessionId=hj9ndoef, target_table=temp_cohort_hj9ndoef, time=1693235526077}]2023-08-28 15:12:06.149 INFO taskExecutor-2 org.ohdsi.webapi.audittrail.AuditTrailServiceImpl - [] - <110>1 2023-08-28T15:12:06.148Z b0b0a49033f9 Atlas - - - lawrancm - Job 1309 execution started: Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1)2023-08-28 15:12:37.781 INFO taskExecutor-2 org.ohdsi.webapi.audittrail.AuditTrailServiceImpl - [] - <110>1 2023-08-28T15:12:37.781Z b0b0a49033f9 Atlas - - - lawrancm - Job 1309 execution completed successfully: Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1)2023-08-28 15:12:37.805 INFO taskExecutor-2 org.springframework.batch.core.launch.support.SimpleJobLauncher$1 - [] - Job: [SimpleJob: [name=generateCohortCharacterization]] completed with the following parameters: [{jobName=Generating cohort characterization 3 : IBM MarketScan Commercial Claims And Encounters (CCAE) and Medicare (MDCR) (ibm_marketscan_ccaemdcr_85_omop_sdm_2017_2022q1), cohort_characterization_id=3, source_id=11, jobAuthor=lawrancm, sessionId=hj9ndoef, target_table=temp_cohort_hj9ndoef, time=1693235526077}] and the following status: [COMPLETED]

  1. Also several small random errors occurring, for example when we try to save a new feature I get this error(screenshot attached), but then if I refresh and try again it works

So can you please let us do we have to cleanup any cache inside the ohdsi since it is working fine after doing docker down and up

@pradeepvuduthala you may be hitting the bug mentioned here:

I’ve now made a pull request in the OHDSI Broadsea (3.0) repo to fix this, but you can go ahead now and update your https://github.com/OHDSI/Broadsea/blob/main/atlas/config-local-template.js#L5 file to remove the two statements causing the problem:

// clearing local storage otherwise source cache will obscure the override settings|
localStorage.clear();|

If you previously fixed the issue, then maybe the user(s) having problems still have an older version of the config file cached in their browser and you can ask them to clear their browser cache.

Right, we fixed this in the develop branch but didn’t in main. Thanks @admin !

t