SMTP by AWS issues

Hello Team,
I am having issues adding AWS SMTP to N8N to invite users.
Can you help?

- N8N_EMAIL_MODE=smtp
- N8N_SMTP_HOST=email-smtp.us-east-1.amazonaws.com
- N8N_SMTP_PORT=465
- N8N_SMTP_USER=XXXXXXXXXXXXXXXX
- N8N_SMTP_PASS=BAAAAAAAAAAAA
- [email protected]
- N8N_SMTP_SSL=false

Getting error 502, cannot send the invite.

Could not invite users

Request failed with status code 502

Hey @kgurinov,

I have not tried with AWS but it could be that the SMTP Sender is not allowed. Does the docker log file show anything extra?

where can i find the log file?

Editor is now accessible via:
http://localhost:5678/
ERROR RESPONSE
ResponseError: There is a problem with your SMTP setup! Connection timeout
at /usr/local/lib/node_modules/n8n/dist/src/UserManagement/routes/users.js:53:23
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /usr/local/lib/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
httpStatusCode: 500

Hey @kgurinov,

A connection timeout normally indicates some kind of network issue, Is there any firewall rule in the way maybe? It could also be wort trying the TLS option or the 2465 port that is offered to see if that changes anything.

Looks like it was a hardware firewall, fixed that for now :slight_smile:

1 Like