Describe the problem/error/question
Getting ‘ERR_ERL_UNEXPECTED_X_FORWARDED_FOR’ when starting docker. The N8N instance started okay and runs from the UI but the console is seems to just hang after starting workflow correctly.
I found in the forum where it was recommended to set N8N_PROXY_HOPS to 1, but that didn’t seem to fix it. Anyone else seeing something similar?
What is the error message (if any)?
This the error I got. Only getting error after a recent upgrade to 1.54.4
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 https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
Information on your n8n setup
- n8n version: 1.54.4
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu