cancel
Showing results for 
Search instead for 
Did you mean: 

Web Client timeout adjustable?

thomas_duemesnil
Participant
2,333

I have to download each minute a small json file from a handful of IoT http servers. That works great when all devices response properly.

In case a device is not reachable I experience a long time out. After 20sec I get a Error Code "Unable to connect to remote host specified by 'http://10.1.1.1/' SQLCODE=-981..."

set option remote_idle_timeout = 1;

Setting the above option does not change the behavior. I would prefer that after few second the procedure fails gracefully and my script can continue with the next device.

Probably somebody has a idea Thomas

Accepted Solutions (0)

Answers (0)