-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP Request Node - Maximum number of redirects exceeded #8701
Comments
This seems to be two issues:
|
Thanks. then it started working again for me. I can deal with this workaround in my use case. Appreciate it. |
Oddly while the User-Agent does fix this on some of the chrome webstore URLs: This one still results in a Maximum number of redirects error when using the User-Agent: when i curl this in bash i get a location response for: But n8n header response shows Seems like there is some kind of translation issues with the three hyphens in a row? I recognize that this may be an issue not with n8n, but rather limitations of querying the chrome web store... I will have to figure out another, more reliable way, to lookup the names of Chrome extensions based on their IDs. This is the only method i could find. my workflow using this method was working fine for weeks running daily.. but since Feb 12th it broke. Assumability due to a change on Google's side i suppose. |
So from my list of 145 extension IDs i have to query there are 2 that have this issue: https://chromewebstore.google.com/detail/aeblfdkhhhdcdjpifhhbdiojplfjncoa These two both have the "triple-hyphen" in their name which is not being evaluated properly for redirection |
I've created a PR to ensure that the However, the encoding issues seem to be related to nodejs (and the relevant http spec) not supporting utf-8 encoding in headers, and since redirects use the |
The Since no one else has brought up the invalid encoding issue, and since nodejs and follow-redirect have both rejected this because of it violating the http spec, I'm closing the issue as well as the PR. |
Bug Description
The HTTP Request Node is erroring out with "Maximum number of redirects exceeded" despite the page only have 4 redirects and i have Max redirects set to any value (default of 21 or 999)
To Reproduce
Perform a GET to https://chromewebstore.google.com/detail/gmpngcadimnceonnddiajbdgiinelhgm via HTTP Request Node
... (In a chrome browser this results in a total of 4 redirects (302 response))
Output error:
ERROR: Maximum number of redirects exceeded
Expected behavior
HTTP Request node returns web response
Operating System
Docker
n8n Version
1.26.0
Node.js Version
Unknown
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: