hassio-addons/addon-node-red

502: Bad Gateway #741

pragmantic posted onGitHub

Problem/Motivation

fresh install, multiple installs no luck 502: Bad Gateway web UI

log:

[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.7 You are running the latest version of this add-on. System: Ubuntu 20.04.1 LTS (amd64 / qemux86-64) Home Assistant Core: 0.117.1 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... [06:58:47] FATAL: [06:58:47] FATAL: SSL has been enabled using the 'ssl' option, [06:58:47] FATAL: this requires a SSL certificate file which is [06:58:47] FATAL: configured using the 'certfile' option in the [06:58:47] FATAL: add-on configuration. [06:58:47] FATAL: [06:58:47] FATAL: Unfortunately, the file specified in the [06:58:47] FATAL: 'certfile' option does not exists. [06:58:47] FATAL: [06:58:47] FATAL: Please ensure the certificate file exists and [06:58:47] FATAL: is placed in the '/ssl/' directory. [06:58:47] FATAL: [06:58:47] FATAL: In case you don't have SSL yet, consider getting [06:58:47] FATAL: a SSL certificate or setting the 'ssl' option [06:58:47] FATAL: to 'false' in case you are not planning on using [06:58:47] FATAL: SSL with this add-on. [06:58:47] FATAL: [06:58:47] FATAL: Check the add-on manual for more information. [06:58:47] 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.


config....

credential_secret: password dark_mode: false http_node: username: '' password: '' http_static: username: '' password: '' ssl: true certfile: fullchain.pem keyfile: privkey.pem require_ssl: true system_packages: [] npm_packages: [] init_commands: []

posted by pragmantic over 4 years ago

The problem is described in the error message. Please read.

posted by frenck over 4 years ago

The problem is described in the error message but the solution is not. Duh.

posted by will2568 over 4 years ago

The solution is described there as well.

[06:58:47] FATAL: Please ensure the certificate file exists and
[06:58:47] FATAL: is placed in the '/ssl/' directory.
[06:58:47] FATAL:
[06:58:47] FATAL: In case you don't have SSL yet, consider getting
[06:58:47] FATAL: a SSL certificate or setting the 'ssl' option
[06:58:47] FATAL: to 'false' in case you are not planning on using
[06:58:47] FATAL: SSL with this add-on.

Reading helps.

posted by frenck over 4 years ago

That's not a solution. A solution would have step by step instructions for fixing the problem.

On Fri, Nov 20, 2020, 10:18 AM Franck Nijhof notifications@github.com wrote:

The solution is described there as well.

[06:58:47] FATAL: Please ensure the certificate file exists and [06:58:47] FATAL: is placed in the '/ssl/' directory. [06:58:47] FATAL: [06:58:47] FATAL: In case you don't have SSL yet, consider getting [06:58:47] FATAL: a SSL certificate or setting the 'ssl' option [06:58:47] FATAL: to 'false' in case you are not planning on using [06:58:47] FATAL: SSL with this add-on.

Reading helps.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hassio-addons/addon-node-red/issues/741#issuecomment-731229923, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYHYBS4ZQK7JD6JTAY6W43SQ2CDBANCNFSM4TGPKIRQ .

posted by will2568 over 4 years ago

That is a solution. If that doesn't speak to you, running this system, might not be for you.

posted by frenck over 4 years ago

It's not any solution that would work for me. Step by step instructions, just like you'd find in a manual for something off the shelf is what I call a solution. Just because this is an open source project that doesn't mean you get to be lazy when it comes to writing documentation.

On Sat, Nov 21, 2020, 4:16 AM Franck Nijhof notifications@github.com wrote:

That is a solution. If that doesn't speak to you, running this system, might not be for you.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hassio-addons/addon-node-red/issues/741#issuecomment-731552697, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYHYBUUL3YFVELULNHT4UDSQ6AORANCNFSM4TGPKIRQ .

posted by will2568 over 4 years ago

It literally says: If you do not have SSL yet, consider setting the ssl option to false. How on earth is that not a concrete instruction?

For the record, that message has been added based on feedback in the past.

Calling me straight out lazy I find rather offending. Please, don't come here again. Thanks.

posted by frenck over 4 years ago

Where do I find that option? How do I change it? There's a lot missing from those instructions.

On Sat, Nov 21, 2020, 10:27 AM Franck Nijhof notifications@github.com wrote:

It literally says: If you do not have SSL yet, consider setting the ssl option to false. How on earth is that not a concrete instruction?

For the record, that message has been added based on feedback in the past.

Calling me straight out lazy I find rather offending. Please, don't come here again. Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hassio-addons/addon-node-red/issues/741#issuecomment-731593950, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYHYBQBRYWSRIYNCNVGR5TSQ7L5RANCNFSM4TGPKIRQ .

posted by will2568 over 4 years ago

See add-on documentation.

posted by frenck over 4 years ago

What documentation? You don't know how to write. my neighbor's 3-year-old could do a better job of writing than you.

On Sat, Nov 21, 2020, 10:42 AM Franck Nijhof notifications@github.com wrote:

See add-on documentation.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hassio-addons/addon-node-red/issues/741#issuecomment-731595800, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYHYBRZLNTK7WWNW5LXIEDSQ7NYHANCNFSM4TGPKIRQ .

posted by will2568 over 4 years ago

Seriously? You cannot see the documentation link in this repository? The documentation tabs in side Home Assistant that are shipped with each add-on?

You bought yourself a ban because of that last comment.

posted by frenck over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests