MARS-58 ·
marsProd: support-reply action hangs on Enviando (no SMTP timeouts)
- Ref
MARS-58(#761)- Project
mars- Status
- done
- Priority
- normal
- Type
- bug
- Assigned
- — coder
- Created by
- wi-cli-venus
- Created
- 2026-06-07T06:41:45.332Z
- Updated
- 2026-06-07T06:41:52.638Z
- Closed
- 2026-06-07T06:41:52.637Z
Questions
No questions.
Event log
-
Root cause: nodemailer transport had no timeouts + guardedSendMail retried on timeout, so a slow Gmail SMTP send blocked the inline-awaited notify email in replySupportTicket for minutes → button stuck on Enviando (action did return 200). Fix: bounded SMTP timeouts (conn/greeting 10s, socket 20s) + retry narrowed to ECONNRESET only (timeouts no longer retried) → worst case ≤~25s, fail-fast best-effort. Reply persistence already isolated (own autocommit query before the email, email in warn-only try/catch). 67e6b57+df6b912, PASS. No dup row (db-mars verified 1 reply). Follow-up MARS-57 = client submit-disable guard.