• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Incomplete response received from application NodeJS running on Plesk

niloufarpdk

New Pleskian
Server operating system version
centos
Plesk version and microupdate number
18.0.48
i have a controller that sends email with nodemailer. my app is running o plesk. when i run it in my localhost every thing is ok. but when i run it on host with plesk i get this error : Incomplete response received from application

my function :

```
submitInvoice = async (req, res, next) => {
try {
var transporter = mailer.createTransport({
host: process.env.mailhost,
port: 587,
auth: {
user: process.env.mailuser,
pass: process.env.mailPass,
},
tls: { rejectUnauthorized: false },
});

var mailOptions = {
from: process.env.mailuser,
to: process.env.reciever,
subject: "", // Subject line
// attachments: [{ filename: "new-form.xlsx", content: data }],
html:
"<!DOCTYPE html>" +
"<html><head><title>title </title>" +
"<style>" +
"body {background-color:#ffdd00;background-repeat:no-repeat;background-position:top left;background-attachment:fixed;}" +
"h2{font-family:Arial, sans-serif;color:#000000;background-color:#ffdd00;text-align:center;}" +
"p {text-align:center;font-family:Georgia, serif;font-size:19px;font-style:normal;font-weight:bold;color:#000000}" +
"</style>" +
"</head><body><div>" +
" <h2>فایل اکسل پیوست شد</h2>" +
"</div></body></html>",
};

await transporter.sendMail(mailOptions);

return res.render("client/Counseling");
} catch (err) {
next(err);
}
};
```
the out put of nodemailer is :

250 2.0.0 Ok: queued as 9A795414F662E

do you have any idea what the problem is ?
 
Hi, did you find the solution to the problem?

I've been trying for several days to deploy an express application on plesk but without success,

I always get this error :Incomplete response received from application with http code 502

I think the error comes from the database, but as the error doesn't give me any indication it's hard to know...

Does anyone have any ideas?


View attachment 26122View attachment 26121
View attachment 26123
 
Back
Top