[SOLVED] FetchError: network timeout for API calls
-
I've been running into an issue with a couple APIs wherein they return the error
FetchError: network timeout....A retry resolves but my ask here is around how I can monitor within MSR and trigger (at least) a notification if not a retry after a short delay.
-
I would try increasing the request timeout, which defaults to 15 seconds. Some APIs can be pretty sluggish.
Set
http_request_action_timeoutin theenginesection of yourreactor.yamlfile to something larger than 15000 (the units are milliseconds).engine: enabled: true http_request_action_timeout: 60000 # milliseconds -
I would try increasing the request timeout, which defaults to 15 seconds. Some APIs can be pretty sluggish.
Set
http_request_action_timeoutin theenginesection of yourreactor.yamlfile to something larger than 15000 (the units are milliseconds).engine: enabled: true http_request_action_timeout: 60000 # milliseconds@toggledbits I'm guessing the default is somewhere in the code and adding the
http_request_action_timeoutentry to the config overrides? I only ask because I had no entry like that in myreactor.yamlfile.In any case - I've added this line and bounced MSR. Will monitor. Thanks very much for this guidance!






