Node Red Bad Gateway after plugin restart

Hi,
I am running HASS.IO on a raspberry pi and it was working fine for weeks, until today I restarted the plugin from the GUI (i restart host and ha almost daily and never had any issues). No changes made apart from the restart (restart was done because I created a new sensor in the config which is working fine but was not being shown in Node-Red)

Any issue what the problem might be?

my config:

{
  "credential_secret": "password123",
  "dark_mode": false,
  "http_node": {
    "username": "",
    "password": ""
  },
  "http_static": {
    "username": "",
    "password": ""
  },
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "require_ssl": false,
  "system_packages": [],
  "npm_packages": [],
  "init_commands": []
}

and the below is the log I am getting:

[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] node-red.sh: executing... 
patching file nodes/ui_base.html
Hunk #1 succeeded at 1243 (offset 712 lines).
audited 1 package in 8.417s
found 0 vulnerabilities
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] user.sh: executing... 
[cont-init.d] user.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[21:19:58] INFO: Starting Node-RED...
[services.d] done.
> hassio-addon-node-red@ start /opt
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
4 Oct 21:23:12 - [info] 
Welcome to Node-RED
===================
4 Oct 21:23:16 - [info] Node-RED version: v0.20.8
4 Oct 21:23:16 - [info] Node.js  version: v10.16.3
4 Oct 21:23:16 - [info] Linux 4.14.98-v7 arm LE
4 Oct 21:23:22 - [info] Loading palette nodes
Terminated
s6-

update:

after around 10mins NodeRed started … if someone will let me know the location of the logfile, I will be happy to paste the contents here.

I have EXACTLY the same problem and the same resolution, including a restart after 10 minutes that fixes it.