Scheduling posts doesn't work

Issue Summary

  • Scheduling posts doesn’t work
  • Scheduled a post for 18:30 CET but it did not published

Setup information

Ghost Version

Node.js Version

Operating system
Ubuntu 20.04

Database type

Relevant log / error output

{"name":"Log","hostname":"website","pid":----,"level":50,"err":{"id":"---------","domain":"","code":"UNABLE_TO_VERIFY_LEAF_SIGNATURE","name":"InternalServerError","statusCode":500,"level":"critical","message":"The server has encountered an error.","stack":"RequestError: unable to verify the first certificate\n    at /var/www/\n    at ClientRequest.<anonymous> (/var/www/\n    at Object.onceWrapper (events.js:520:26)\n    at ClientRequest.emit (events.js:412:35)\n    at ClientRequest.origin.emit (/var/www/\n    at TLSSocket.socketErrorListener (_http_client.js:475:9)\n    at TLSSocket.emit (events.js:400:28)\n    at emitErrorNT (internal/streams/destroy.js:106:8)\n    at emitErrorCloseNT (internal/streams/destroy.js:74:3)\n    at processTicksAndRejections (internal/process/task_queues.js:82:21)"},"msg":"The server has encountered an error.","time":"2022-03-04T17:29:59.964Z","v":0}

Does it have something to do with node.js not having Cloudflare’s root certificate since my website uses Cloudflare’s SSL certificate?

If so, should I switch off the validation process with
[process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";] (Is that safe to do?)

or should I add the root certificate to node.js?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.