Dashboard error

I’m running node-red in Home Assistant. I’ve installed the pallet: @ flowfuse/node-red-dashboard

when I go to my dashboard x.x.x.x:1880/endpoint/dashboard/page1

I get below message:

the dashboard v1 just works on x.x.x.x:1880/endpoint/ui/

the logfile of the add-on gives me this:

> start
> node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
22 Aug 13:44:27 - [info] 
Welcome to Node-RED
===================
22 Aug 13:44:27 - [info] Node-RED version: v4.0.9
22 Aug 13:44:27 - [info] Node.js  version: v22.16.0
22 Aug 13:44:27 - [info] Linux 6.12.34-haos-raspi arm64 LE
22 Aug 13:44:28 - [info] Loading palette nodes
22 Aug 13:44:28 - [info] Node-RED Contrib Theme Collection version: v4.0.11
22 Aug 13:44:29 - [info] Dashboard version 3.6.5 started at /endpoint/ui
22 Aug 13:44:30 - [info] node-red-contrib-home-assistant-websocket v0.77.1 nodes initialized
22 Aug 13:44:30 - [info] Settings file  : /etc/node-red/config.js
22 Aug 13:44:30 - [info] Context store  : 'default' [module=memory]
22 Aug 13:44:30 - [info] User directory : /config/
22 Aug 13:44:30 - [warn] Projects disabled : editorTheme.projects.enabled=false
22 Aug 13:44:30 - [info] Flows file     : /config/flows.json
22 Aug 13:44:30 - [warn] 
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
22 Aug 13:44:30 - [info] Server now running at http://127.0.0.1:46836/
22 Aug 13:44:30 - [warn] Encrypted credentials not found
22 Aug 13:44:30 - [info] Starting flows
22 Aug 13:44:30 - [info] Started flows
[13:44:30] INFO: Starting NGinx...
22 Aug 13:44:35 - [info] [server:Home Assistant] Connecting to http://supervisor/core
22 Aug 13:44:35 - [info] [server:Home Assistant] Connected to http://supervisor/core
22 Aug 13:46:11 - [info] Stopping flows
22 Aug 13:46:11 - [info] [server:Home Assistant] Closing connection to http://supervisor/core
22 Aug 13:46:11 - [info] Stopped flows
22 Aug 13:46:11 - [info] Updated flows
22 Aug 13:46:11 - [info] Starting flows
22 Aug 13:46:11 - [info] Started flows
22 Aug 13:46:16 - [info] [server:Home Assistant] Connecting to http://supervisor/core
22 Aug 13:46:16 - [info] [server:Home Assistant] Connected to http://supervisor/core
22 Aug 13:46:49 - [info] Installing module: @flowfuse/node-red-dashboard, version: 1.26.0
22 Aug 13:47:02 - [info] Installed module: @flowfuse/node-red-dashboard
22 Aug 13:47:02 - [info] Added node types:
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-base
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-page
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-link
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-group
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-theme
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-form
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-text-input
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-number-input
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-file-input
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-button
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-button-group
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-dropdown
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-radio-group
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-slider
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-spacer
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-switch
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-text
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-table
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-chart
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-gauge
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-notification
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-audio
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-markdown
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-template
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-event
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-control
22 Aug 13:47:02 - [info]  - @flowfuse/node-red-dashboard:ui-progress
22 Aug 13:47:25 - [info] Stopping flows
22 Aug 13:47:25 - [info] [server:Home Assistant] Closing connection to http://supervisor/core
22 Aug 13:47:25 - [info] Stopped flows
22 Aug 13:47:25 - [info] Updated flows
22 Aug 13:47:25 - [info] Starting flows
22 Aug 13:47:25 - [info] [ui-base:My Dashboard] Node-RED Dashboard 2.0 (v1.26.0) started at /dashboard
22 Aug 13:47:25 - [info] [ui-base:My Dashboard] Created socket.io server bound to Node-RED port at path /endpoint/dashboard/socket.io
22 Aug 13:47:25 - [info] Started flows
22 Aug 13:47:30 - [info] [server:Home Assistant] Connecting to http://supervisor/core
22 Aug 13:47:30 - [info] [server:Home Assistant] Connected to http://supervisor/core
22 Aug 13:47:42 - [info] [ui-base:My Dashboard] Disconnected nceU83b2T67kGk9gAAAB due to transport close
22 Aug 13:47:52 - [info] [ui-base:My Dashboard] Disconnected wmsEfkX27Bar8N-gAAAD due to transport close
22 Aug 14:39:36 - [info] [ui-base:My Dashboard] Disconnected EExujJjx3uwasxVWAAAF due to transport close
22 Aug 14:39:57 - [info] [ui-base:My Dashboard] Disconnected 9BhxqSaKlMblaab5AAAH due to transport close
22 Aug 14:40:18 - [info] [ui-base:My Dashboard] Disconnected WLWsJJUqXJQr-niVAAAJ due to transport close
22 Aug 14:40:39 - [info] [ui-base:My Dashboard] Disconnected UpsMDRk0SJRuD2usAAAL due to transport close
22 Aug 14:41:00 - [info] [ui-base:My Dashboard] Disconnected Tl0GaTH52z4uya5yAAAN due to transport close
22 Aug 14:41:21 - [info] [ui-base:My Dashboard] Disconnected VsuNx258ESGk12znAAAP due to transport close
22 Aug 14:41:42 - [info] [ui-base:My Dashboard] Disconnected fsPYwDhPdNFWj1_EAAAR due to transport close
22 Aug 14:42:03 - [info] [ui-base:My Dashboard] Disconnected LIcRweu7NezmHEqcAAAT due to transport close
22 Aug 14:42:24 - [info] [ui-base:My Dashboard] Disconnected a6eyiNj-QIp0Yd9xAAAV due to transport close

It happened to me as well. The endpoint for dashboard-2 (../dashboard) is not defined by default, you need to define it (either create a new endpoint, or just expose the URL), which then allows to show dashboard-2.

Is this just when running with HA node-red plugin?

Yes. If are editing & running your flows on Home Assistant's internal Node-red add-on, and want to use dashboard-2, you need to expose the dashboard-2 URL.

There are several ways to do it, easiest is to create a new Home Assistant dashboard (of type 'Web Page'), with the URL of the Node-red dashboard-2, e.g. x.x.x.x:1880/dashboard.
This will allow you to access DB-2 from both within and outside of HA

Just ensuring there is nothing we can do here? Could I trouble you to open a PR against the online docs for Dashboard please? Maybe add it as a new “User Guide” on the left side of the docs too? Suspect this should be coming up a lot, and would be good to have an answer on the docs, and not just in the forums.

thanks this solved it! in my case: x.x.x.x/endpoint/dashboard/page1

Any chance you would screenshot/describe what steps you took please (for future readers and so we can update docs)

And the issue is back again…. after willing to change the name or layout the error is back again…. hereby the config of the dashboards (out-of-the-box)

even after removing the add-on including config, rebooting HA, installing Node-red add-on again and instaling the palet this issue is not gone

I just created an trigger and text node to prevent something else is the issue:

and got this:

my url is http: // x.x.x.x:1880/endpoint/dashboard/page1

Go to the log page of the addon and see what it reports. If you go to the debug panel and select dashboard 2, does the link work?

if I click on open Dashboard it goes to “homeassistant.local:8123/endpoint/dashboard” and than I get a 404: Not Found –> where i believe it should use port 1880 instead of 8123 . homeassistant.local:1880/endpoint/dashboard. On IP I have the same issue and when I go to homeassistant.local:1880/endpoint/dashboard. I get the error, same for homeassistant.local:1880/endpoint/dashboard/page1

logfile of the addon says

22 Aug 20:09:43 - [info] [ui-base:My Dashboard] Disconnected yE73TiUsIIIayEl-AAIH due to transport close
22 Aug 20:09:51 - [info] [ui-base:My Dashboard] Disconnected rHA4X5Fj5pJoFf_UAAIJ due to transport close

22 Aug 20:14:57 - [info] [ui-base:My Dashboard] Disconnected PUYRUGa96ylepKy1AAIL due to transport close

22 Aug 20:15:18 - [info] [ui-base:My Dashboard] Disconnected TF9xva_A7-7fYjVhAAIN due to transport close

22 Aug 20:15:39 - [info] [ui-base:My Dashboard] Disconnected RCt4T3sUN1Y2TQCYAAIP due to transport close

22 Aug 20:16:00 - [info] [ui-base:My Dashboard] Disconnected grnMV753eSxYfTUAAAIR due to transport close

22 Aug 20:16:21 - [info] [ui-base:My Dashboard] Disconnected kF6O5E6bM8PPFc8yAAIT due to transport close

22 Aug 20:16:42 - [info] [ui-base:My Dashboard] Disconnected XZZNKcC5N7phAktFAAIV due to transport close

22 Aug 20:17:03 - [info] [ui-base:My Dashboard] Disconnected gfYaASSwYt1hgXlAAAIX due to transport close

22 Aug 20:17:24 - [info] [ui-base:My Dashboard] Disconnected 7L61xV2S4rpRU7K7AAIZ due to transport close

22 Aug 20:17:45 - [info] [ui-base:My Dashboard] Disconnected MjU1pgTeHQYQ3lNRAAIb due to transport close

22 Aug 20:18:06 - [info] [ui-base:My Dashboard] Disconnected vzX9E1-MsCMylMOoAAId due to transport close

22 Aug 20:18:27 - [info] [ui-base:My Dashboard] Disconnected oC-H_H1gGxP2_Hh1AAIf due to transport close

22 Aug 20:18:48 - [info] [ui-base:My Dashboard] Disconnected RXdKPUg8j7RQgLkRAAIh due to transport close

22 Aug 20:19:09 - [info] [ui-base:My Dashboard] Disconnected NEGRdZrKexAAgQdSAAIj due to transport close

22 Aug 20:19:30 - [info] [ui-base:My Dashboard] Disconnected K59myo5FAz8px-dGAAIl due to transport close

22 Aug 20:19:42 - [info] [ui-base:My Dashboard] Disconnected 6aKPPbflZxP261XJAAIn due to transport close

22 Aug 20:40:21 - [info] [ui-base:My Dashboard] Disconnected -BaDD9JfwQK-S04IAAIr due to transport close

22 Aug 20:40:28 - [info] [ui-base:My Dashboard] Disconnected G4kbzV4lvxyRi1ydAAIt due to transport close

22 Aug 20:40:32 - [info] [ui-base:My Dashboard] Disconnected sHtBBNF4lYU0jp7EAAIp due to transport close

22 Aug 20:40:49 - [info] [ui-base:My Dashboard] Disconnected dRvYj0jOuyPvoQJWAAIv due to transport close

and debug of node-red is empty

I get that entry whenever I close a dashboard. I think that is normal. Try clearing your browser’s cache. The direct link sends me to 1880 idk why yours is using 8123. You can turn up the logging on the config page of the addon that may give some further insight.

the strange thing is once I adjust the port 1880 to 1881 and go to http:// homeassistant.local:1880/endpoint/dashboard/page1 the dashboard loads again…. and the [info] [ui-base:My Dashboard] Disconnected NxY4OCIY2FBYiXhPAAAj due to transport close”” message is also gone in the logging.

I wonder if you have something else on port 1880. Try your ip:1880 and see if it brings you anywhere.