HTTP Request (v2) via private proxy returns “Maximum number of redirects exceeded”

I’m trying to send a GET request through my private HTTP proxy by pointing the HTTP Request (v2) node at a Railway‑hosted proxy service. Every time I run it, I get a “Maximum number of redirects exceeded” error. It seems to be looping between my n8n → Railway proxy → Railway proxy → …

I need to know the correct way to configure the node so that it calls my Railway proxy exactly once, then forwards to the final target (https://httpbin.org/ip) without redirection loops.


What is the error message (if any)?

typescript

NodeApiError: Maximum number of redirects exceeded
    at ExecuteContext.execute …
Error code: rejected

Please share your workflow

(Select both nodes on your canvas and paste via CTRL+C / CMD+C → CTRL+V / CMD+V)

json


Share the output returned by the last node

typescript

Error code: rejected
NodeApiError: Maximum number of redirects exceeded

Information on your n8n setup

  • n8n version: 1.86.0 (Self Hosted)
  • Database: SQLite (default)
  • n8n EXECUTIONS_PROCESS: main
  • Running n8n via: npm on Railway server
  • Operating system: Ubuntu (Railway container)

I’ve tried all combinations of ignoreSslIssues, followAllRedirects, maxRedirects, both with and without http:// prefix, but still end up in a redirect loop. Has anyone solved this in HTTP Request (v2) on a self‑hosted instance? Any pointers would be greatly appreciated! :+1:

Hi @Nadejda_Petrova

I’m curious, why are you using an outdated Node version instead of the latest one?

Is there a specific reason for that?