Skip to main content
Michael_Roitburd
New Member
December 7, 2022
Question

fortiguard-threat-intelligence timeout issue

  • December 7, 2022
  • 1 reply
  • 1106 views

 

Hello All,

i have a playbook that use fortiguard-threat-intelligence connector.
when playbook connect to fortiguard few time ( like 100) all working OK without any problem, but when the playbook running a lot of request like 500, the playbook received from connector timeout.
the version of connector in 3.1

what can be the issue?

here the error that i received in playbook:

upstream request timeout Connector :: fortinet-fortiguard-threat-intelligenceV3.1.0

and log from connectors.log:

2022-11-30 15:10:40 PM UTC ERROR connectors.fortinet-fortiguard-threat-intelligence base make_rest_call():
2022-11-30 15:10:40 PM UTC ERROR connectors.fortinet-fortiguard-threat-intelligence operations threat_intel_search(): upstream request timeout
Traceback (most recent call last):
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/base.py", line 30, in make_rest_call
raise ConnectorError("{0}".format(response.text))
connectors.core.base_connector.ConnectorError: upstream request timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/operations.py", line 34, in threat_intel_search
response = etp.make_rest_call(endpoint, 'GET', params=payload)
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/base.py", line 41, in make_rest_call
raise ConnectorError(str(err))
connectors.core.base_connector.ConnectorError: upstream request timeout
2022-11-30 15:10:40 PM UTC ERROR connectors.fortinet-fortiguard-threat-intelligence connector execute(): upstream request timeout
2022-11-30 15:10:40 PM UTC ERROR connectors views dispatch(): Connector execution error stack trace
Traceback (most recent call last):
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/base.py", line 30, in make_rest_call
raise ConnectorError("{0}".format(response.text))
connectors.core.base_connector.ConnectorError: upstream request timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/operations.py", line 34, in threat_intel_search
response = etp.make_rest_call(endpoint, 'GET', params=payload)
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/base.py", line 41, in make_rest_call
raise ConnectorError(str(err))
connectors.core.base_connector.ConnectorError: upstream request timeout

During handling of the above exception, another exception occurred:



Traceback (most recent call last):
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/connector.py", line 21, in execute
return operation(config, operation_params, *args, **kwargs)
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/operations.py", line 38, in threat_intel_search
raise ConnectorError("{0}".format(str(err)))
connectors.core.base_connector.ConnectorError: upstream request timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "integrations/connectors/views.py", line 834, in connectors.views.ConnectorExecute.execute_connector_action
File "integrations/connectors/views.py", line 672, in connectors.views.ConnectorExecute.execute_connector_operation
File "integrations/connectors/core/base_connector.py", line 129, in connectors.core.base_connector.Connector._handle_operation
File "./connectors/fortinet-fortiguard-threat-intelligence_3_1_0/connector.py", line 24, in execute
raise ConnectorError('{0}'.format(err))
connectors.core.base_connector.ConnectorError: upstream request timeout
2022-11-30 15:10:40 PM UTC ERROR connectors views dispatch(): upstream request timeout Connector :: fortinet-fortiguard-threat-intelligenceV3.1.0

1 reply

Contributor III
December 8, 2022

The FortiGuard API endpoint sometimes timeout due to network glitches or a large number of requests. We are looking at incorporating retries in the connector in case of a failure. In the meatim, please run the step with an "Ignore Error" flag and a "do until" option to retry 5 times unless a success response is returned. 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!