Hi,
I have loaded the related node-red addon in hass.io. when I check the log I have these errors and node-ren does not start.
Add-on version: 3.1.4
You are running the latest version of this add-on.
System: HassOS 2.12 (armv7 / raspberrypi3)
Home Assistant version: 0.94.4
Supervisor version: 166
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[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âŚ
[13:49:36] FATAL:
[13:49:36] FATAL: SSL has been enabled using the âsslâ option,
[13:49:36] FATAL: this requires a SSL certificate file which is
[13:49:36] FATAL: configured using the âcertfileâ option in the
[13:49:36] FATAL: add-on configuration.
[13:49:36] FATAL:
[13:49:36] FATAL: Unfortunately, the file specified in the
[13:49:36] FATAL: âcertfileâ option does not exists.
[13:49:36] FATAL:
[13:49:36] FATAL: Please ensure the certificate file exists and
[13:49:36] FATAL: is placed in the Hass.io â/ssl/â directory.
[13:49:36] FATAL:
[13:49:36] FATAL: In case you donât have SSL yet, consider getting
[13:49:36] FATAL: a SSL certificate or setting the âsslâ option
[13:49:37] FATAL: to âfalseâ in case you are not planning on using
[13:49:37] FATAL: SSL with this add-on.
[13:49:37] FATAL:
[13:49:37] FATAL: Check the add-on manual for more information.
[13:49:37] FATAL:
[cont-init.d] nginx.sh: exited 1.
[cont-finish.d] executing container finish scriptsâŚ
[cont-finish.d] 99-message.sh: executingâŚ
Oops! Something went wrong.
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Not sure if you solved this yet since there were no replies. I just had the same error. What I had to do is go into my hassio/ssl installation folder, for me was /usr/share/hassio/ssl, and use openssl to create a key. It asked for info for the key to be created and it created 2 files. certificate.pem and privkey.pem
Hi everyone, sry for opening back this topic. Iâm a beginner with hass.io and i have the same issue, you told to gbroca that he could setup his ssl configuration (keys or simpley disable the ssl option), in thejson file, but i donât find this file, i installed hass.io by following the readme on the github.
Can you tell me, where i can find this json file ?
Thanks
Hi,
I have the same issue as others here. I too am on MacOS in Chrome and I am able to save the Node-Red config file but a restart does not make the â500: bad gatewayâ error disappear.
What did you do differently on the neighborâs PC?
Thank you
I created an account for the whole purpose of describing the steps on how to properly set the Node-RED using SSL on your Home Assistant, after wasting a couple of hours researching for the right documentation. Like other post was mentioning already, the steps make sense for an experienced user who knows where to look, however, for a person who has just started playing with Linux, Home Assistant, Docker etc itâs been quite challenging to figure it out.
Using Home Assistant Supervised on a stand-alone Debian 11 linux machine:
In Home Assistant âSettingsâ click on âAddonsâ
Search for the âNode-REDâ addon
Install the âNode-REDâ addon. - Do not start it yet!
SSH into your Linux machine
Navigate to location (in my case was) /usr/share/hassio/homeassistant ( run cli command ls -lrt to display a list of files and folders in the homeassistant directory). There should be a folder named node-red . cd to the node-red directory
Within the node-red directory, create the SSL cert and key: Run the below command:
Once the command has run, and followed the on-screen prompts, you should have the certificate.pem and privkey.pem in the Node-RED directory
Return to Home Assistant WebUI, go to Configuration tab and fill in the blanks (certfile with certificate.pem, credential_secret, keyfile with privkey.pem
Enable the ssl option
Click Save
Go to Info tab and click Start followed by Open Web UI