After completing my giant pdf downloader workflow, which includes n8n + python + selenium grid to get PDFs from a range of sites. I have run into a problem where it seems like I have been blocked or falsely accused of ddos attacking?
The workflow uses selenium to navigate to the website and input the search parameters and return the download url,then i pass this url to n8n http request to pick up the file, rename and file it away in the appropriate network folder. i do it this way because Im lazy to convert the file into a binary and send it back in the json file. The selenium browser seems to have no problem with getting blocked however it is the n8n node that is rejected after a number of runs
It happens when the http request is made too often. (about 35 consecutive runs)
Is there anyway I can circumvent this from happening?
Will swapping user agents be sufficient or will i require a new IP address by vpn? In the past I have swapped to google bot user agent, which has helped a temporary block, but i think even that is not enough because it did get blocked after a big number of runs.
Describe the issue/error/question
What is the error message (if any)?
{“status”:“rejected”,“reason”:{“message”:“connect ECONNREFUSED 127.0.0.1:80”,“name”:“Error”,“stack”:“Error: connect ECONNREFUSED 127.0.0.1:80\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16)”,“code”:“ECONNREFUSED”}}
Please share the workflow
Share the output returned by the last node
Information on your n8n setup
- runnning latest version on Ubuntu linux 22.04 in a docker container
- Default database sqlite