Node.js Could not spawn process for application
Hello,
I create a node.js script in version 11.3.0 on my cpanel, however the call of the application via the https protocol, does not work.
In the logs the following error is present:
[E 2019-02-22 09: 56: 27.4327 452046 / T2o age / Cor / App / Implementation.cpp: 221]: Could not spawn process for application / home / USER / App: A timeout error occurred while spawning an application process .
the called code contains:
var https = require ('https');
var fs = require ('fs')
var options = {
key: fs.readFileSync ('/home/USER/ssl/keys/cle.key'),
cert: fs.readFileSync ('/home/USER/ssl/certs/certif.crt')
};
https.createServer (options, function (req, res) {
res.write ('Hello World');
res.end ();
}) Listen ().
do you know where this error came from? and how to correct it?
Please sign in to leave a comment.
Comments
0 comments