Hello, I have an element that reports an http error 503: service unavailable, whenever a service is down in the JSON file. This seems to be a quarkus standard. Currently, my connector queries all values normally. However, the element is timing out, presumably due to the http error. Is it possible to mask the http error in the dataminer?
Hi Sofia,
According to DataMiner Docs, the element will go into timeout for the status codes 4XX and 5XX. If you would like to avoid having the element in timeout, you could modify this option in the element setting (see Include timeout).
A possible workaround could be using the attribute 'statusCode' in the response tag. This attribute can be used to store the status code of the response in a parameter. You could enable monitoring on this parameter to raise different alarm severities based on the code.
Hope it helps.
ignoreTimeout attribute | DataMiner Docs
You can disable timeout for that specific session or connection.
https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.NoTimeouts.html
Maybe try this? You could set the type of error you are trying to ignore as NoTimeout in the XML.
Thanks for you reply. In this case http error 404 would be mask as well? Because this is something I need.