hassio-addons/addon-node-red

502 Bad Gateway #335

ivelin posted onGitHub

Problem/Motivation

  • Fresh Hass.io install from official image on flash SDRAM card.
  • Raspberry Pi 4, 4GB RAM
  • No other Add-ons

Install and Start steps looked fine. Clicking on Open Web UI resulted in 502 Bad Gateway.

(Why the issue was filed)

Expected behavior

A meaningful first web page for the Node Red add-on.

(What you expected to happen)

Actual behavior

  1. See attached screenshots.

(What actually happened)

Steps to reproduce

Brand new RPI4, flash from official HASSIO image. https://www.home-assistant.io/hassio/installation/

(How can someone else make/see it happen)

Proposed changes

Replace with a more meaningful first web page for Node-red. If there is expected configuration prior or during install, please make that more obvious.

(If you have a proposed change, workaround or fix, describe the rationale behind it) Screen Shot 2019-10-11 at 4 59 30 PM Screen Shot 2019-10-11 at 4 59 02 PM Screen Shot 2019-10-11 at 4 59 26 PM

<blockquote><img src="https://www.home-assistant.io/images/default-social.png" width="48" align="right"><div><img src="/images/favicon-192x192.png" height="14"> Home Assistant</div><div><strong><a href="https://www.home-assistant.io/hassio/installation/">Installing Hass.io</a></strong></div><div>Instructions on how to install Hass.io.</div></blockquote>


:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

posted by addons-assistant[bot] over 5 years ago

Can you post the addon logs please?

posted by sinclairpaul over 5 years ago

Will do.

May I suggest a Feedback button on the add-on page somewhere near Install and Start? Would probably increase the number of detailed reports if its on-click to gather logs, screenshots and send over to a github issue for review. Sorry if this is already on the roadmap and I'm not suggesting anything new.

On Fri, Oct 11, 2019 at 5:07 PM Paul Sinclair notifications@github.com wrote:

Can you post the addon logs please?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hassio-addons/addon-node-red/issues/335?email_source=notifications&email_token=AARBUFIONZ777K3JNGY4DATQOD2LHA5CNFSM4I77X3RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBBKYKY#issuecomment-541240363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARBUFNFLQ47VOA4LBQEZWTQOD2LHANCNFSM4I77X3RA .

posted by ivelin over 5 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...


Hass.io Add-on: Node-RED Flow-based programming for the Internet of Things


Add-on version: 4.2.1 You are running the latest version of this add-on. System: HassOS 3.5 (armv7 / raspberrypi4) Home Assistant version: 0.100.1 Supervisor version: 189


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... [17:32:32] FATAL: [17:32:32] FATAL: SSL has been enabled using the 'ssl' option, [17:32:32] FATAL: this requires a SSL certificate file which is [17:32:32] FATAL: configured using the 'certfile' option in the [17:32:32] FATAL: add-on configuration. [17:32:32] FATAL: [17:32:32] FATAL: Unfortunately, the file specified in the [17:32:32] FATAL: 'certfile' option does not exists. [17:32:32] FATAL: [17:32:32] FATAL: Please ensure the certificate file exists and [17:32:32] FATAL: is placed in the Hass.io '/ssl/' directory. [17:32:32] FATAL: [17:32:32] FATAL: In case you don't have SSL yet, consider getting [17:32:32] FATAL: a SSL certificate or setting the 'ssl' option [17:32:32] FATAL: to 'false' in case you are not planning on using [17:32:32] FATAL: SSL with this add-on. [17:32:32] FATAL: [17:32:32] FATAL: Check the add-on manual for more information. [17:32:32] 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.

posted by ivelin over 5 years ago

Thanks, as per the logs you have SSL enabled without a certificate, I believe this should be covered in the readme, but you need to set "ssl": false.

posted by sinclairpaul over 5 years ago

After you asked me about the logs and I looked around for other similar Issues, I now understand that SSL has to be configured or turned off and credentials have to be configured. With that, I got Node-Red to show up. If I may suggest, please consider defaults settings that provide an immediate "as-advertised" user experience which is different than Bad Gateway. I am not sure how many folks try, fail and gave up without taking the time to report the issue.

Here is the new log for completeness. Feel free to close the issue and maybe open a separate one that's default UX related. Thank you for the great work!

Log [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /homeassistant/static/common.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /homeassistant/static/common.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /homeassistant/static/common.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /homeassistant/static/common.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /homeassistant/static/common.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/css/gridstack.min.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/css/gridstack-extra.min.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/tinycolor-min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/lodash.min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:41 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /uisettings HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /flows?_=1570833340324 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/arrow-right-bold.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/arrow-right-bold-hexagon-outline.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/trigger.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/timer.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/router-wireless.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/radiotower.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/code.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/white-globe.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/history.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/parser-json.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/plane.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/wait-until.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/alert.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/bridge.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/pagesearch.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/link-out.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/inject.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /context/flow/b2804081.ed9c6 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/bridge-dash.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-sunevents/white_golden_sun.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/serial.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/debug.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/function.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/template.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/timer.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/gridstack.min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/trigger.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/comment.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/switch.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/swap.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/range.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/split.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/gridstack.jQueryUI.min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/join.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/sort.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/batch.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/parser-csv.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/parser-html.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/parser-json.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/parser-xml.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/parser-yaml.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-cast/default.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-counter/counter.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-interval-length/length.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-looptimer/looptimer.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-stoptimer/stoptimer.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-time-range-switch/switch.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/light.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-node-base64/parser-base64.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-node-msgpack/parser-msgpack.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-node-rbe/rbe.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-node-smooth/smooth.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/envelope.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-node-twitter/twitter.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/file-in.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-influxdb/influxdb.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/file.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/file-out.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/arrow-in.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/watch.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-bigtimer/timer.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/feed.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-node-suncalc/sun.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-actionflows/actionflows.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red/rpi.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-modbus/modbus.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-alexa-home-skill/alexa.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_button.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_dropdown.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_switch.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_slider.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_numeric.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_text.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_date_picker.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_colour_picker.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_form.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_gauge.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_chart.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_toast.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-dashboard/ui_template.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/tinycolor-min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/lodash.min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/gridstack.min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:42 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /ui_base/js/gridstack.jQueryUI.min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:46 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/arrow-right-bold.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:46 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /red/images/icons/node-error.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:46 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /red/images/icons/node-changed.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:46 -0500] 200 192.168.86.246, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/arrow-right-bold.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36) [11/Oct/2019:17:35:53 -0500] 101 192.168.86.246, 172.30.32.1(172.30.32.2) GET /comms HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36)

posted by ivelin over 5 years ago

Thanks, as per the logs you have SSL enabled without a certificate, I believe this should be covered in the readme, but you need to set "ssl": false.

Our messages crossed in the air. The SSL point doesn't seem to be covered in the add-on page in Hass.io. See screenshot.

I now read the github page and it does mention the SSL config parameters, but its not clear that they are required.

https://github.com/hassio-addons/addon-node-red/blob/v4.2.1/README.md

Option: ssl Enables/Disables SSL (HTTPS) on the web interface. Set it true to enable it, false otherwise.

Note: The SSL settings only apply to direct access and has no effect on the Hass.io Ingress service.

Option: certfile The certificate file to use for SSL.

Note: The file MUST be stored in /ssl/, which is the default for Hass.io

Option: keyfile The private key file to use for SSL.

Note: The file MUST be stored in /ssl/, which is the default for Hass.io

Option: require_ssl This option can be used to cause insecure HTTP connections to be redirected to HTTPS. This is recommended when you have SSL enabled.

Option: credential_secret

The only point here is about frictionless UX for newbies. The big goal for 1.0 :)

<blockquote><img src="https://avatars1.githubusercontent.com/u/30772201?s=400&v=4" width="48" align="right"><div><img src="https://github.githubassets.com/favicon.ico" height="14"> GitHub</div><div><strong><a href="https://github.com/hassio-addons/addon-node-red">hassio-addons/addon-node-red</a></strong></div><div>Node-RED - Community Hass.io Add-on for Home Assistant - hassio-addons/addon-node-red</div></blockquote>

Screen Shot 2019-10-11 at 5 39 47 PM

posted by ivelin over 5 years ago

Thanks for the comments, the error you see is actually surfaced by nginx itself, which unfortunately we cannot influence. Glad you got it working, will close the issue.

On the 1.0 comments, please do consider the addons are not a part of HA itself, they provide added functionality for those that need it.

posted by sinclairpaul over 5 years ago

Just to add on this, any doc updates/changes are more than welcome.

posted by sinclairpaul over 5 years ago

We had before, ending up the user using an insecure setup by default.

I rather advertise a secure default, with an extensive error message, that actually contained instructions.

Feel free to join our Discord server of you have additional support questions. Thanks.

posted by frenck over 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

posted by addons-assistant[bot] over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests