How to find the source for error : No historical tag information could be found

I am encountering the following error every minute and need assistance in identifying which page is causing it. Despite disabling all the projects that I suspect might be triggering this error, it continues to appear. I have also changed the logger configuration from INFO to TRACE for tags.history.query.dataloader.DB , but the additional information has not been very helpful. Can anyone guide me on how to find the source page of this issue? I am aware that the tag name is configured incorrectly, but I need to determine which page is responsible. Thank you.

psy_20t_1_sca No historical tag information could be found for any of the specified paths. Check that paths are correct. Paths: [archive/od_comp_01/_a]

INFO   | jvm 1    | 2024/07/26 11:42:53 | T [t.h.q.d.DB                    ] [11:42:53.812]: psy_20t_1_sca (id=384650f4) Loading driver ids: SELECT "id", "name", "provider" FROM sqlth_drv WHERE "name"=? ORDER BY "provider" ASC [ap_lab_test] route-group=perspective, route-path=/fetch/:project/:uuid, queryid=384650f4

INFO   | jvm 1    | 2024/07/26 11:42:53 | D [t.h.q.d.DB                    ] [11:42:53.850]: psy_20t_1_sca (id=384650f4) Initializing history loader. Data source: 'ETC_AP_Lab' System: 'ap_lab_test'  Read seed values: 'true' Read SCE: 'true' route-group=perspective, route-path=/fetch/:project/:uuid, queryid=384650f4

INFO   | jvm 1    | 2024/07/26 11:42:53 | T [t.h.q.d.DB                    ] [11:42:53.895]: psy_20t_1_sca (id=384650f4) Loading tag information: [SELECT a."id",a."tagpath",a."datatype",a."scid",a."querymode",a."created",a."retired" FROM sqlth_te a,sqlth_scinfo b WHERE (a."tagpath"=?) AND (a."scid"=0 OR a."scid"=b."id" AND (b."drvid"=? OR b."drvid"=?)) ORDER BY a."retired" DESC],[[archive/od_comp_01/_a],[3, 16]] route-group=perspective, route-path=/fetch/:project/:uuid, queryid=384650f4

INFO   | jvm 1    | 2024/07/26 11:42:53 | D [t.h.q.d.DB                    ] [11:42:53.936]: psy_20t_1_sca (id=384650f4) Tag information took 86 ms to load. Registered 0 ids for 1 tag paths. route-group=perspective, route-path=/fetch/:project/:uuid, queryid=384650f4

INFO   | jvm 1    | 2024/07/26 11:42:53 | E [t.h.q.d.DB                    ] [11:42:53.936]: psy_20t_1_sca (id=384650f4) No historical tag information could be found for any of the specified paths. Check that paths are correct. Paths: [archive/od_comp_01/_a] route-group=perspective, route-path=/fetch/:project/:uuid, queryid=384650f4

It's pretty difficult to trace this kind of thing down. If you've disabled all of the projects that you believe could produce this error, then it may be that you have leaked it and have an orphaned thread running on the gateway with incorrect code in it.

Have you tried restarting the Gateway? That will likely be the only way to kill an orphaned thread if that is what this is.

Otherwise, your best shot is doing a search with the Find & Replace tool for that string.

3 Likes