Skip to content

unhandled 'error' event crashes maildev shortly after viewing email in gui #287

@heldchen

Description

@heldchen

there's an unhandled ETIMEDOUT error that seems to crash maildev shortly (about a minute?) after received emails are read in the webgui.:

MailDev outgoing SMTP Server my-real-server.com:25 (user:undefined, pass:undefined, secure:no)
Auto-Relay mode on, Relay rules: [{"deny":"*"},{"allow":"my@mail.com"}]
MailDev webapp running at http://:::1080
MailDev SMTP Server running at :::1025
events.js:288
      throw er; // Unhandled 'error' event
      ^

Error: Connection timeout
    at SMTPConnection._formatError (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:557:19)
    at SMTPConnection._onError (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:530:20)
    at Timeout.<anonymous> (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:248:18)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
Emitted 'error' event on SMTPConnection instance at:
    at SMTPConnection._onError (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:547:14)
    at Timeout.<anonymous> (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:248:18)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7) {
  code: 'ETIMEDOUT',
  command: 'CONN'
}
MailDev outgoing SMTP Server my-real-server.com:25 (user:undefined, pass:undefined, secure:no)
Auto-Relay mode on, Relay rules: [{"deny":"*"},{"allow":"my@mail.com"}]
MailDev webapp running at http://:::1080
MailDev SMTP Server running at :::1025
events.js:288
      throw er; // Unhandled 'error' event
      ^

Error: Connection timeout
    at SMTPConnection._formatError (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:557:19)
    at SMTPConnection._onError (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:530:20)
    at Timeout.<anonymous> (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:248:18)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
Emitted 'error' event on SMTPConnection instance at:
    at SMTPConnection._onError (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:547:14)
    at Timeout.<anonymous> (/usr/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:248:18)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7) {
  code: 'ETIMEDOUT',
  command: 'CONN'
}
MailDev outgoing SMTP Server my-real-server.com:25 (user:undefined, pass:undefined, secure:no)
Auto-Relay mode on, Relay rules: [{"deny":"*"},{"allow":"my@mail.com"}]
MailDev webapp running at http://:::1080
MailDev SMTP Server running at :::1025

the crash seems to happen around 60s after viewing an email in the gui.

version 1.1.0 installed through npm on a ubuntu 19.10 system.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions