canarytrace / documentation

Plug’n'Play stack for testing and monitoring web applications from user perspective.
http://canarytrace.com
6 stars 0 forks source link

SSL routines - wrong version number, upgrade nodemailer and add options for tls version #192

Closed rdpanek closed 1 year ago

rdpanek commented 1 year ago

Discussed in https://github.com/canarytrace/documentation/discussions/188

Originally posted by **Mato816** April 5, 2023 Hi, i have problem with configuration for listener. In YAML CronJob we set: - SMTP_SERVER - SMTP_PORT - SMTP_USER - SMTP_PASS After running CronJob we got following error message: Error: {"library":"SSL routines","reason":"wrong version number","code":"ESOCKET","command":"CONN"} at /opt/canary-listener/reporters/email.js:116:13 at /opt/canary-listener/node_modules/nodemailer/lib/mailer/index.js:226:21 at SMTPConnection. (/opt/canary-listener/node_modules/nodemailer/lib/smtp-transport/index.js:175:24) at Object.onceWrapper (node:events:628:26) at SMTPConnection.emit (node:events:513:28) at SMTPConnection._onError (/opt/canary-listener/node_modules/nodemailer/lib/smtp-connection/index.js:764:14) at SMTPConnection._onSocketError (/opt/canary-listener/node_modules/nodemailer/lib/smtp-connection/index.js:190:45) at TLSSocket.emit (node:events:513:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) Node.js v18.7.0 Listener agent: end of analysis Can you help me please with this issue? Thank you.
rdpanek commented 1 year ago