How to extend Designer GW timeout? (com.inductiveautomation.ignition.client.gateway_interface.GatewayException: Read timed out)

Ignoring the "why" - that's a fix currently in progress - but how can I change the Designer's GW timeout setting for running functions like system.tag.queryTagHistory? It's currently 60s

(tag history data tables have no indexes for older data so these can take minutes to return results instead of seconds - currently sitting with end user IT to add indexes, but in the meantime... I'm also generally curious)

I have tried editing the Project's Vision Read Timeout setting, but it hasn't had any effect. Is there a Java option I can pass in? Or a script I can run to alter the timeout value from the script console?

You cannot. It is hardcoded.

Have you tried adding the indices with the designer query browser?

If you absolutely have to run something long, use sendRequest() to kick off a gateway async task, and return a token, and then watch for results with that token in a client message handler. (The gateway task would use sendMessage() targeting client scope and including the token in the payload.)

3 Likes

I tried on one table in ssms (ms sql server database) and it timed out... I'm going to leave it to ITs dbas to manage!

I'll give send request a go, it'll just be more of a pain to get some status for how it's going.

Cheers

2 Likes