WhatsApp Trigger n8n still in listening mode

Hi guys, I need your help.
my workflow is running through ngrok and docker.
the sending node of WhatsApp is working. but the trigger one is still not receiving my messages. do you have a guess ? how I can solve this problem ? thx a lot for the help.

Hey the WhatsApp trigger stays in listening mode because ngrok might be causing issues with the webhook registration. Check if your ngrok URL is correctly set in both n8n webhook settings and Meta app configuration. Also make sure the workflow is active not just listening. Try deactivating and reactivating the workflow after confirming ngrok is stable. If sending works but receiving doesn’t that usually means the webhook URL in Meta doesn’t match your actual ngrok URL or the verification token is wrong. Go to Meta Developer Console and verify the webhook URL matches exactly what n8n shows you

code: ‘ERR_ERL_UNEXPECTED_X_FORWARDED_FOR’,
2025-12-23 14:51:53 help: ‘ Page Redirection
2025-12-23 14:51:53 }
2025-12-23 14:51:58 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.
2025-12-23 14:51:58 at Object.xForwardedForHeader (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:187:13)
2025-12-23 14:51:58 at Object.wrappedValidations. [as xForwardedForHeader] (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:398:22)
2025-12-23 14:51:58 at Object.keyGenerator (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:671:20)
2025-12-23 14:51:58 at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:724:32
2025-12-23 14:51:58 at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:704:5 {
2025-12-23 14:51:58 code: ‘ERR_ERL_UNEXPECTED_X_FORWARDED_FOR’,
2025-12-23 14:51:58 help: ‘ Page Redirection
2025-12-23 14:51:58 }
2025-12-23 14:52:01 timeout of 3000ms exceeded
2025-12-23 14:52:01 Error while fetching community nodes: timeout of 3000ms exceeded
2025-12-23 14:52:36 The WhatsApp App ID 2283284825505132 already has a webhook subscription. Delete it or use another App before executing the trigger. Due to WhatsApp API limitations, you can have just one trigger per App.
2025-12-23 14:54:31 Authorization failed - please check your credentials

this is my Docker Logs. ngrok URL is correct because im opening my n8n workflow there. where I set the n8n webhook settings? by running the image on Docker right ? my envoirment var are:
N8N_COMMUNITY_PACKAGES_ENABLED=true
N8N_EDITOR_BASE_URL= “HERE_URL_FROM_NGROK”
WEBHOOK_URL= “HERE_URL_FROM_NGROK”
N8N_DEFAULT_BINARY_DATA_MODE=filesystem

Port is 5678:5678

Meta Developer Webhook Callback URL is the webhook URL Production of the WhatsApp Trigger (copy and paste it in meta developer callback URL) Verification Token I set 12345.
but not everytime is accepting it. I don’t really know any more what to do ? thank you very much for the help.