I have been trying to invite users for hours now i...
# infisical-help
t
I have been trying to invite users for hours now i am not getting any email , i keep getting this every time { "status": "error", "code": 502, "message": "Application failed to respond", "request_id": "mmB07hHPRp-io-qvlt7tkg" } @Matheus Nogueira @Infisical @Vlad (Infisical) @Daniel Hougaard @Max (Infisical)
✅ 1
p
Hey @Toluwani Thanks for flagging this. Curious has SMTP worked for you previously? The 502 isn't coming from infisical, but rather your hosting platform saying the container didn't answer in time. Are your container logs showing anything at startup? There should be a line starting with "SMTP - " that either confirms the connection or gives you the exact error Also could you let me know what SMTP_HOST, SMTP_PORT and SMTP_FROM_ADDRESS are set to? Thanks!
t
On startup the stmp shows this
👀 1
p
Thanks for the logs! @Toluwani It appears your host is silently dropping outbound traffic on port 587. That error (
"Application failed to respond"
+
request_id
) comes from your hosting platform's proxy. A couple of things we can try: 1. Switch to port 465 and restart. Resend supports this and 587 is the most commonly blocked port by hosting providers. If 465 is also blocked, we can try 2587. 2. From inside the container:
nc -zv <http://smtp.resend.com|smtp.resend.com> 587
(then try 465 and 2587) -- if all of these hang it means that your provider / VPC is blocking outbound SMTP and you'll need to open it (or use a NAT gateway) Let me know!
t
OK would try that now thank you
👍 1
@Jake (Infisical) i fixed the issue you were right about the outbound blocking it was because railway was blocking it so i fixed that issue railway.com/deploy/infisical-open-source-secrets-management?referralCode=b-F5PC
✅ 1
j
Nicely done. Let me know if anything else comes up!