SMTP and Emoji issue after 1.19.2 upgrade
-
@kurulumu-Net Same issue for me sadly.
-
https://ghoozt.com/topic/69/how-to-fix-failed-to-load-emoji-error-2
hahaha let's get some traffic -
@fffddd-dfeeedd This worked
The problem still persists in sending mail. I am using Mailgun and trying to send mail with SMTP in ACP.
-
@fffddd-dfeeedd Thanks for this. Whilst it fixes the emoji applet itself, it doesn't resolve the auto conversion in posts when using ASCII symbols. The below is still shown in the logs
2022-02-10T12:53:50.558Z [4567/287038] - error: [plugins] Error executing 'static:app.load' in plugin 'nodebb-plugin-emoji'
-
@kurulumu-Net sorry i don't know that
-
@phenomlab I replied quickly but the problem is not solved. I'm having the same problem.
-
did you do the same with the active options in the picture
-
@phenomlab Having trouble sending mail? does not send test mail.
-
@fffddd-dfeeedd Yeah. Tapping the emoji icon in the text editor opens the emoji box but there are no emojis
-
@kurulumu-Net i am using 1.19.2 and it worked for me sorry
-
@fffddd-dfeeedd Yes, it works for me also (in the sense of the emojis appearing in the applet) but it still fails with ASCII conversions.
-
Have you tried rebuilding emoji assets in the emoji ACP page?
-
I have the same problem but rebuild assets seems good for me :
-
Am I the only one not sending account confirmation mail to users in 1.19.2?
-
@kurulumu-Net no. I'm also sending a variety of emails to users with no issues and am running 1.19.2
-
@phenomlab After upgrading to 1.19.2, I see the following in the logs. I wonder why?
The SMTP information is correct.2022-02-12T21:10:25.290Z [4567/131042] - [31merror[39m: admin.email.test Error: Connection timeout at SMTPConnection._formatError (/home/nodes/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:784:19) at SMTPConnection._onError (/home/nodes/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:770:20) at Timeout.<anonymous> (/home/nodes/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:229:22) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)
In 1.19.1, I was sending mail (via Mailgun) with 465 ports and encryption. It was working. In 1.19.2 this did not work. Now I can send mail via port 587 and StarTLS. But I don't understand why it doesn't work on port 465.
-
@kurulumu-Net can you access the port itself via a telnet command such as
telnet server.com 465
? -
@phenomlab I host multiple sites on the same server. Other sites have no issues with using SMTP on port 465. I recently migrated from NodeJS 14 to 16. I think it's caused by this. Is there any extra action required by NodeBB after NodeJS upgrade?
-
@kurulumu-Net I'm pretty sure that nodeJS version 16 isn't supported by NodeBB. You may have to downgrade this to resolve the smtp issues.