Hello, i’m using n8n in a hostinger site since a couple of weeks. Everything was working fine until today; i’ve tried to use a SendAndWaitForResponse email block (that worked fine ‘til now), but the flow hangs because email is not sent to the user who should approve.
Credentials are correct because if i use a normal email block, the message is sent.
Is anyone encountering a similar problem? I’ve updated n8n to 1.111.0 version and cannot find anything strange in the logs.
Hello, thank you for your answer; the workflow keeps waiting for a long time, but the email never arrives. The recipient is correct, if i use the plain SendEmail block, it works.
I use SendAndWait for Response. It never sends email to anyone; if i use SendEmail (without the approvals flow), it works. Seems that email are not delivered in case of SendAndWait.
I’ve tried to activate a n8n cloud account and the same flow works; seems to be an issue related to my domain in Docker, but don’t know how to check for further infos.
Oh, I understand now,
Are your webhook settings configured correctly?
I mean, are the webhooks working properly? If not, that’s probably the issue here.
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/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:187:13)
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)
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)
at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:724:32
at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected][email protected]/node_modules/express-rate-limit/dist/index.cjs:704:5 {
code: ‘ERR_ERL_UNEXPECTED_X_FORWARDED_FOR’,
help: ‘https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/’
}
[license SDK] license successfully renewed