License renewal failed. Too many requests, slow down!

image
I inserted a registered community edition license and everything works fine, but log is now this way.

ValidationError: The ‘X-Forwarded-For’ header is set but the Express ‘trust proxy’ setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See Page Redirection for more information.
at Object.xForwardedForHeader (/usr/local/lib/node_modules/n8n/node_modules/express-rate-limit/dist/index.cjs:166:13)
at Object.wrappedValidations. [as xForwardedForHeader] (/usr/local/lib/node_modules/n8n/node_modules/express-rate-limit/dist/index.cjs:338:22)
at Object.keyGenerator (/usr/local/lib/node_modules/n8n/node_modules/express-rate-limit/dist/index.cjs:593:20)
at /usr/local/lib/node_modules/n8n/node_modules/express-rate-limit/dist/index.cjs:644:32
at /usr/local/lib/node_modules/n8n/node_modules/express-rate-limit/dist/index.cjs:625:5 {
code: ‘ERR_ERL_UNEXPECTED_X_FORWARDED_FOR’,
help: ‘Page Redirection
}
Failed to renew license: renewal failed because current cert is not initialized
[license] license activation failed: allowed activations exceeded
Execution 14660359 (job 14669352) finished successfully
[license] license successfully activated
[license] license renewal failed: Too many requests. Slow down!
[license] license renewal failed: Too many requests. Slow down!
[license] license renewal failed: Too many requests. Slow down!
[license] license renewal failed: Too many requests. Slow down!
[license] license renewal failed: Too many requests. Slow down!

Any news on whats causing this

1 Like

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
  • **n8n version: 1.66.0
  • **Database (default: SQLite): postgres
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): queue mode?
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: ubuntu 22.04 arm

Hi @Matheus_Carneiro

Are you using a proxy? Could be that you need to specify the number of reverse-proxies n8n is running behind.

See our docs on N8N_PROXY_HOPS here:

I’m having the same issue.

  • n8n version: 1.66.0
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue mode
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Ubuntu 22.04.5 LTS

When I try to reactivate the n8n community edition key show the message:

Activation failed

Activation key has expired
Activation key has expired

For now I added a environment variable
- N8N_LICENSE_AUTO_RENEW_ENABLED=false