• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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