hassio-addons/addon-node-red

Won't start Node Red. When started and Open webui it says: 502: Bad Gateway #736

aquatic7 posted onGitHub

Problem/Motivation

Node Red won't start. 502: Bad Gateway error.

Expected behavior

That I can start and use it.

Actual behavior

Nothing other than 502: Bad Gateway error

Steps to reproduce

(Install it, start it, run webui.

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)


Please post the addon logs:

image

posted by sinclairpaul over 4 years ago
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 7.2.6
 You are running the latest version of this add-on.
 System: HassOS 4.15  (amd64 / qemux86-64)
 Home Assistant Core: 0.117.0
 Home Assistant Supervisor: 2020.10.0
-----------------------------------------------------------
 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... 
[20:30:44] FATAL: 
[20:30:44] FATAL: SSL has been enabled using the 'ssl' option,
[20:30:44] FATAL: this requires a SSL certificate file which is
[20:30:44] FATAL: configured using the 'certfile' option in the
[20:30:44] FATAL: add-on configuration.
[20:30:44] FATAL: 
[20:30:44] FATAL: Unfortunately, the file specified in the
[20:30:44] FATAL: 'certfile' option does not exists.
[20:30:44] FATAL: 
[20:30:44] FATAL: Please ensure the certificate file exists and
[20:30:44] FATAL: is placed in the '/ssl/' directory.
[20:30:44] FATAL: 
[20:30:44] FATAL: In case you don't have SSL yet, consider getting
[20:30:44] FATAL: a SSL certificate or setting the 'ssl' option
[20:30:44] FATAL: to 'false' in case you are not planning on using
[20:30:44] FATAL: SSL with this add-on.
[20:30:44] FATAL: 
[20:30:44] FATAL: Check the add-on manual for more information.
[20:30:44] 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.
[s6-finish] sending all processes the KILL signal and exiting.
posted by aquatic7 over 4 years ago

As per the message you have SSL set to enabled, yet no certificate exists.

[20:30:44] FATAL: In case you don't have SSL yet, consider getting [20:30:44] FATAL: a SSL certificate or setting the 'ssl' option [20:30:44] FATAL: to 'false' in case you are not planning on using [20:30:44] FATAL: SSL with this add-on.

posted by sinclairpaul over 4 years ago

When I try to install Let's Encrypt it says:

Failed to install addon
404 Client Error: Not Found ("no such image: homeassistant/amd64-addon-letsencrypt:4.11.0: No such image: homeassistant/amd64-addon-letsencrypt:4.11.0")

But that's not a Node Red issue. Thank you for your help.

posted by aquatic7 over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests