I recently updated my n8n to version 1.44.1, Since then, I have been having issues with some credentials and workflows
Eg, The airtable credentials below were working correctly on the previou sversions but currently do not work. I have tried recreating that using both an access token and auth but its not working. Same for WordPress
@Ludwig I was using v 1.42, and updated to 1.44.1 on docker sqlite db. Once Ipdated I started getting the errors and had to set it up wit a postgres db
Set 18.17.0 as the default NVM version
Sometimes NVM will use a different version of Node,js as the default, so it will revert back to it if your computer/container/VM restarts. You can set the default with this command
nvm alias default 18.17.0
Update pm2 env variable
If you are using PM2 to run n8n, you will need to also run this command
pm2 restart n8n --update-env
Now if you run
pm2 describe n8n
You should be able to see that node.js version for n8n is set to 18.17.0
I suspect that this issue might be related to n8n not having keepAlive enabled by default for external requests, and some networking defaults in the nodejs changing recently, changing the traffic volume levels at which this error occurs.
If your application is making a lot of calls to one specific API (like Telegram), then you’d see this issue on almost all versions of n8n, depending on the volume of API calls.
If this is the case, then the upgrade to nodejs 20 might have worsened the situation, but it wasn’t what introduced the issue.
This could also explain why downgrading did not fix the issue for @tridi
To validate if this really is an issue of high volumes of API calls causing the system to run out of sockets, or the upstream rejecting new connections, I’ve created a branch based off 1.44.2, with keepAlive force enabled for all http calls.
Also created a docker image from this branch, available at n8nio/n8n:enable-keepAlive.
If any of you can please switch to this docker image, and let us know if this resolves the issue for you, I can create a proper PR.
Thanks for checking. That looks like something is blocking the network calls.
Maybe it’s only blocking IPv6, and you could try forcing IPv4 by adding this env variable to the docker stack: NODEJS_PREFER_IPV4=true
If that does not work, I’d recommend investigating what’s blocking the traffic to those IP addresses from your host.
You can also check if IPv6 calls to telegram are getting blocked by running curl -v6 https://api.telegram.org/ on the host machine.
already add NODEJS_PREFER_IPV4=true to my env and still not fix this problem.
for your another suggestion i guess i dont know how to investigate it but if i force delete all this n8n docker config include the volume etc and config with new config on version 1.42.1 its solve this problem.
is it still because my server ban those IP address?
ive tried your curl command on my stable n8n with version 1.42.1 its show block telegram API but actually its no problem at all if i hit telegram API on n8n also on when filling new bot credential