You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When sending email notifications, if the "Auth User" and "Auth Password" fields are left blank, Overseerr still tries to authenticate against the SMTP server with empty fields, causing it to fail.
What version of Overseerr are you running?
1.5.0
You can find it under: Settings -> About -> Version
To Reproduce
Steps to reproduce the behavior:
Configure SMTP Notifications and do NOT set user/password for auth
Generate a notification event (make request, approve request etc)
An error will be thrown that credentials are missing and the SMTP session fails
Expected behavior
SMTP Relays that do not require auth (e.g. internal notification email servers) should be able to accept SMTP sessions without any authentication, leaving the fields blank in Overseerr should indicate that authentication is not required, instead it tries to anyway with empty fields.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 10 2009
Browser Firefox
Version 83
Additional context
Log snippet of failure:
2020-12-15T15:40:51.388Z [info][Notifications]: Sending notification for MEDIA_PENDING
(node:28) UnhandledPromiseRejectionWarning: Error: Missing credentials for "PLAIN"
at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:774:19)
at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:438:38)
at /app/node_modules/nodemailer/lib/smtp-transport/index.js:271:32
at SMTPConnection. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:209:17)
at Object.onceWrapper (events.js:421:28)
at SMTPConnection.emit (events.js:315:20)
at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1303:14)
at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:932:20)
at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:739:14)
at TLSSocket.SMTPConnection._onSocketData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)
at TLSSocket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at TLSSocket.Readable.push (_stream_readable.js:212:10)
at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)
(node:28) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)
(node:28) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
Describe the bug
When sending email notifications, if the "Auth User" and "Auth Password" fields are left blank, Overseerr still tries to authenticate against the SMTP server with empty fields, causing it to fail.
What version of Overseerr are you running?
1.5.0
You can find it under: Settings -> About -> Version
To Reproduce
Steps to reproduce the behavior:
Expected behavior
SMTP Relays that do not require auth (e.g. internal notification email servers) should be able to accept SMTP sessions without any authentication, leaving the fields blank in Overseerr should indicate that authentication is not required, instead it tries to anyway with empty fields.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Log snippet of failure:
2020-12-15T15:40:51.388Z [info][Notifications]: Sending notification for MEDIA_PENDING
(node:28) UnhandledPromiseRejectionWarning: Error: Missing credentials for "PLAIN"
at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:774:19)
at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:438:38)
at /app/node_modules/nodemailer/lib/smtp-transport/index.js:271:32
at SMTPConnection. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:209:17)
at Object.onceWrapper (events.js:421:28)
at SMTPConnection.emit (events.js:315:20)
at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1303:14)
at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:932:20)
at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:739:14)
at TLSSocket.SMTPConnection._onSocketData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)
at TLSSocket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at TLSSocket.Readable.push (_stream_readable.js:212:10)
at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)
(node:28) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)(node:28) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered: