Unexpected error: unable to verify the first certificate

Hello,
I have some issues configuring forest admin:
after a while:

[forest] :deciduous_tree::deciduous_tree::deciduous_tree: Unexpected error: unable to verify the first certificate
{
“name”: “RequestError”,
“code”: “UNABLE_TO_VERIFY_LEAF_SIGNATURE”,
“timings”: {
“start”: 1631804491425,
“socket”: 1631804491428,
“lookup”: 1631804491429,
“connect”: 1631804491430,
“upload”: 1631804491429,
“error”: 1631804491436,
“phases”: {
“wait”: 3,
“dns”: 1,
“tcp”: 1,
“request”: null,
“total”: 11
}
},

Thanks.

Additional information that may be useful:

I use Nginx web-server with SSL configurations that proxy_pass to https://127.0.0.1:8010.

and in app.js :

var fs = require(‘fs’);
var http = require(‘http’);
var https = require(‘https’);

var ssl_options = {
key: fs.readFileSync(’./keys/private.key’),
cert: fs.readFileSync(’./keys/cert.crt’),
};

var app = express();

var server = http.createServer(app);
var secureServer = https.createServer(ssl_options, app).listen(8010);


another error:

[forest] :deciduous_tree::deciduous_tree::deciduous_tree: Unexpected error: Timeout awaiting ‘request’ for 3500ms
{
“name”: “TimeoutError”,
“code”: “ETIMEDOUT”,
“timings”: {
“start”: 1631809528385,
“socket”: 1631809528386,
“error”: 1631809531888,
“phases”: {
“wait”: 1,
“total”: 3503
}
},
“event”: “request”,

Hello @alih,

Do you experience both errors, or did you fix the first one and now encounter the second one?

Could you also please fill in all the sections in the template (we need to know more about your environment), and share with us what you did and what you’re trying to achieve.

Thanks

Expected behavior

Please describe here the behavior you are expecting.

Actual behavior

What is the current behavior?

Failure Logs

Please include any relevant log snippets, if necessary.

Context

Please provide any relevant information about your setup.

  • Package Version:
  • Express Version:
  • Sequelize Version:
  • Database Dialect:
  • Database Version:
  • Project Name: