R
Railway•6mo ago
barnabynagy

Formbricks deploy fails

I tried to install and deploy formbrickls like 3x and every time it fails
No description
Solution:
--- we moved to dms for the sake of privacy and security --- Solution: The issue ended up being that the SMTP_USER wasn't a valid email, and since MAIL_FROM automatically uses SMTP_USER it used the invalid email as the email address, causing a malformed MAIL_FROM, causing the error ...
Jump to solution
14 Replies
Percy
Percy•6mo ago
Project ID: N/A
barnabynagy
barnabynagyOP•6mo ago
N/A
Brody
Brody•6mo ago
that's not ideal, unfortunately I'm away from the computer for the weekend, maybe if it's something simple I could do it on the phone, but I'd need my buddy @Fragly to figure out the root issue for me if he's got the time.
Fragly
Fragly•6mo ago
I have a formbricks deployment running myself from the error it seems your service variables are invalid would you mind sending me your service variables? IMPORTANT: censor the sensitive ones like ENCRYPTION_KEY, NEXTAUTH_SECRET and SMTP_PASSWORD
Brody
Brody•6mo ago
did you just deploy a new one? I was assuming that formbricks changed something and my template is no longer compatible
Fragly
Fragly•6mo ago
oh no, I deployed this one a month ago, but good point I'll deploy a new one rq and see if i get the same issues Deployed a new one, it's working completely fine for me so far
Brody
Brody•6mo ago
that's odd, @barnabynagy what did you do to have it crash with these errors?
barnabynagy
barnabynagyOP•6mo ago
I installed and deployed it completely new after deleting it some days ago Nothing else Which variable do you need exactly? There are a lot
Fragly
Fragly•6mo ago
Just copy and paste all of them because I don't know which would be malformed (Only send those from your Formbricks service) just make sure the censor the ones I mentioned, those are the only sensitive ones that I know of
Solution
Fragly
Fragly•6mo ago
--- we moved to dms for the sake of privacy and security --- Solution: The issue ended up being that the SMTP_USER wasn't a valid email, and since MAIL_FROM automatically uses SMTP_USER it used the invalid email as the email address, causing a malformed MAIL_FROM, causing the error To solve the issue, we specified MAIL_FROM seperately from SMTP_USER
Brody
Brody•6mo ago
that just leaves me with more questions, why would you have set an invalid email on SMTP_USER
Fragly
Fragly•6mo ago
yeaa, that's what I said That's apperantly what the SMTP server he's using gave him
Brody
Brody•6mo ago
I have never not seen an SMTP username not be a valid email, fun edge cases thanks for solving this one!
Fragly
Fragly•6mo ago
No problemo 🫡
Want results from more Discord servers?
Add your server