STDOUTweb101:39:44[2020-08-18T17:39:44.795792000Z][instance:web1] at SMTPConnection._formatError (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:605:19)
STDOUTweb101:39:44[2020-08-18T17:39:44.795804200Z][instance:web1] at SMTPConnection._actionAUTHComplete (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:1340:34)
STDOUTweb101:39:44[2020-08-18T17:39:44.795812900Z][instance:web1] at SMTPConnection. (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:1298:18)
STDOUTweb101:39:44[2020-08-18T17:39:44.795822300Z][instance:web1] at SMTPConnection._processResponse (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:764:20)
STDOUTweb101:39:44[2020-08-18T17:39:44.795830500Z][instance:web1] at SMTPConnection._onData (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:570:14)
STDOUTweb101:39:44[2020-08-18T17:39:44.795838500Z][instance:web1] at TLSSocket. (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:710:55)
STDOUTweb101:39:44[2020-08-18T17:39:44.795846700Z][instance:web1] at TLSSocket.emit (events.js:315:20)
STDOUTweb101:39:44[2020-08-18T17:39:44.795853800Z][instance:web1] at addChunk (_stream_readable.js:295:12)
STDOUTweb101:39:44[2020-08-18T17:39:44.795861200Z][instance:web1] at readableAddChunk (_stream_readable.js:271:9)
STDOUTweb101:39:44[2020-08-18T17:39:44.795868400Z][instance:web1] at TLSSocket.Readable.push (_stream_readable.js:212:10)
STDOUTweb101:39:44[2020-08-18T17:39:44.795875800Z][instance:web1] at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23) {
我准备在我的博客上使用valine-admin评论系统,但是在部署的时候遇到了一些问题。我已经购买了自己的域名(国外)。 1. 邮件系统有问题,我使用的是outlook,outlook支持别名,所以SENDER_EMAIL和SMTP_USER不一样,并且我开启了双重因素验证。 日志如下:
[2020-08-18T17:39:34.738932000Z][instance:web1] Node app is running on port: 3000
STDOUTsystem01:39:34[2020-08-18T17:39:34.857000000Z][system] 实例启动成功:{"runtime":"nodejs-v12.18.3","version":"3.3.2"}
STDOUTsystem01:39:34[2020-08-18T17:39:34.873000000Z][system] 正在更新云函数信息 ...
STDOUTsystem01:39:34[2020-08-18T17:39:34.952000000Z][system] 部署完成:1 个实例部署成功
STDOUTweb101:39:44[2020-08-18T17:39:44.795719000Z][instance:web1] SMTP邮箱配置异常: Error: Invalid login: 535 5.7.3 Authentication unsuccessful [BYAPR02CA0045.namprd02.prod.outlook.com]
STDOUTweb101:39:44[2020-08-18T17:39:44.795792000Z][instance:web1] at SMTPConnection._formatError (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:605:19)
STDOUTweb101:39:44[2020-08-18T17:39:44.795804200Z][instance:web1] at SMTPConnection._actionAUTHComplete (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:1340:34)
STDOUTweb101:39:44[2020-08-18T17:39:44.795812900Z][instance:web1] at SMTPConnection. (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:1298:18)
STDOUTweb101:39:44[2020-08-18T17:39:44.795822300Z][instance:web1] at SMTPConnection._processResponse (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:764:20)
STDOUTweb101:39:44[2020-08-18T17:39:44.795830500Z][instance:web1] at SMTPConnection._onData (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:570:14)
STDOUTweb101:39:44[2020-08-18T17:39:44.795838500Z][instance:web1] at TLSSocket. (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:710:55)
STDOUTweb101:39:44[2020-08-18T17:39:44.795846700Z][instance:web1] at TLSSocket.emit (events.js:315:20)
STDOUTweb101:39:44[2020-08-18T17:39:44.795853800Z][instance:web1] at addChunk (_stream_readable.js:295:12)
STDOUTweb101:39:44[2020-08-18T17:39:44.795861200Z][instance:web1] at readableAddChunk (_stream_readable.js:271:9)
STDOUTweb101:39:44[2020-08-18T17:39:44.795868400Z][instance:web1] at TLSSocket.Readable.push (_stream_readable.js:212:10)
STDOUTweb101:39:44[2020-08-18T17:39:44.795875800Z][instance:web1] at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23) {
STDOUTweb101:39:44[2020-08-18T17:39:44.795883300Z][instance:web1] code: 'EAUTH',
STDOUTweb101:39:44[2020-08-18T17:39:44.795890400Z][instance:web1] response: '535 5.7.3 Authentication unsuccessful [BYAPR02CA0045.namprd02.prod.outlook.com]',
STDOUTweb101:39:44[2020-08-18T17:39:44.795898600Z][instance:web1] responseCode: 535,
STDOUTweb101:39:44[2020-08-18T17:39:44.795906300Z][instance:web1] command: 'AUTH LOGIN'
STDOUTweb101:39:44[2020-08-18T17:39:44.795913700Z][instance:web1] }
2. 评论管理系统 sign-up界面注册后,自动跳转后无法登录,且还可以进入sign-up界面注册 3. 因为我有自己的域名,所以我想将这个二级域名绑定到我自己的二级域名,请问我需要怎么设置DNS解析?(leancloud也有相关设置)