Bug Description
In the settings dialog of an HTTP Request Node, there are options for:
- Retry on Fail (switch on or off)
- if switched on, settings for Max. Tries and Wait Between Tries (ms) appear
- On Error - select one of: Stop Workflow or Continue or Continue (using error output)
If Retry on Fail is switched on AND On Error is set to one of the Continue options, Max. Tries and Wait Between Tries (ms) settings are ignored. i.e. Unless **On error" is set to "Stop Workflow," a single failure from the target HTTP service does NOT cause n8n to retry the request, and the workflow continues immediately to the "regular" or "error" output path/node.
To Reproduce
- Create a workflow with an HTTP Request Node
- Click the settings / gear icon
- Enable Retry on Fail and fill in settings for 2+ Max tries and enough Wait Between Tries (ms) time that it is obvious whether the retry is happening (e.g. 3000 ms)
- Choose either Continue or Continue (using error output) option for On Error
- Configure the node to call a service that will simulate one or more failed requests and succeed upon retry.
- Execute the workflow
Expected behavior
If Retry on Fail is enabled, the node should retry the HTTP request the configured number of times, with the configured wait time between tries, BEFORE continuing.
Alternatively (less preferred)...
The settings on the HTTP Request Node should NOT ALLOW both Retry on Fail and a Continue option for On Error
Operating System
Official Docker Container - Base Image (Alpine?) linux/arm64
n8n Version
1.35.0
Node.js Version
18.19.1
Database
PostgreSQL
Execution mode
main (default)
Bug Description
In the settings dialog of an HTTP Request Node, there are options for:
If Retry on Fail is switched on AND On Error is set to one of the Continue options, Max. Tries and Wait Between Tries (ms) settings are ignored. i.e. Unless **On error" is set to "Stop Workflow," a single failure from the target HTTP service does NOT cause n8n to retry the request, and the workflow continues immediately to the "regular" or "error" output path/node.
To Reproduce
Expected behavior
If Retry on Fail is enabled, the node should retry the HTTP request the configured number of times, with the configured wait time between tries, BEFORE continuing.
Alternatively (less preferred)...
The settings on the HTTP Request Node should NOT ALLOW both Retry on Fail and a Continue option for On Error
Operating System
Official Docker Container - Base Image (Alpine?) linux/arm64
n8n Version
1.35.0
Node.js Version
18.19.1
Database
PostgreSQL
Execution mode
main (default)