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
I have self-hosted affine, and trying to just get the smtp to work for invite mails,
The sending of the mail fails in frontend with
Failed to load resource: the server responded with a status of 500 (Internal Server Error)Understand this errorAI
vendor.77296a2a.js:sourcemap:985 BackendError: Server error: An internal error occurred.
at UserFriendlyError.fromAnyError (app.8de0d112.js:sourcemap:37002:4490)
at FetchService.fetch (app.8de0d112.js:sourcemap:11909:3595)
at async AuthService.sendEmailMagicLink (app.8de0d112.js:sourcemap:37712:5811)
at async app.8de0d112.js:sourcemap:32768:13579
The affine server logs show following error -
[Nest] 1 - 03/14/2025, 8:36:15 AM VERBOSE [Locker] <allinone:http:7286ab05-ba4e-4804-8c43-2a3661fb154e> Client cluster:d8uOsQoD2cpDDs2si6zk6:sUNvU3v_ik9BGFagN14un is trying to lock resource doc:update:18f6386a-2025-4007-887f-db6f583af0a1:18f6386a-2025-4007-887f-db6f583af0a1
[Nest] 1 - 03/14/2025, 8:37:32 AM ERROR [HTTP] <allinone:http:3d1583f6-183a-4af2-a468-5036b24100b3> internal_server_error ({"requestId":"allinone:http:3d1583f6-183a-4af2-a468-5036b24100b3"})
internal_server_error: An internal error occurred.
at mapAnyError (file:///app/dist/base/nestjs/exception.js:46:19)
at GlobalExceptionFilter.catch (file:///app/dist/base/nestjs/exception.js:57:23)
at ExceptionsHandler.invokeCustomFilters (/app/node_modules/@nestjs/core/exceptions/exceptions-handler.js:30:26)
at ExceptionsHandler.next (/app/node_modules/@nestjs/core/exceptions/exceptions-handler.js:14:18)
at /app/node_modules/@nestjs/core/router/router-proxy.js:13:35
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Caused by:
Error: Missing credentials for "PLAIN"
at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)
at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:454:38)
at /app/node_modules/nodemailer/lib/smtp-transport/index.js:272:32
at SMTPConnection.<anonymous> (/app/node_modules/nodemailer/lib/smtp-connection/index.js:215:17)
at Object.onceWrapper (node:events:632:28)
at SMTPConnection.emit (node:events:518:28)
at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1371:14)
at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:993:20)
at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:774:14)
at SMTPConnection._onSocketData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)
The text was updated successfully, but these errors were encountered:
I have self-hosted affine, and trying to just get the smtp to work for invite mails,
The sending of the mail fails in frontend with
The affine server logs show following error -
The text was updated successfully, but these errors were encountered: