Hello good morning.
My UI stoped display today and only displays connection lost at the bottom left of the screen. I have lost of dashboard nodes in my flow but still cant get anything in the ui
Connection lost means that node-red is probably stopped. Have you checked it it is still active?
Also make sure to refresh your browser.
Yes node red is still active. I have refreshed the browser and even try using a different one but i got the same problem.
What happens if you stop/restart NR?
nothing changed. i just did that now.
Does it work on the node-red machine if you open http://localhost:1880/ui/ ?
What is the IP of your node-red machine? Is it DHCP? Perhaps it has a new IP address?
Have you looked at the startup log from node-red to see if there is anything there. Depending on how you installed it you may be able to get that by running
node-red-stop
node-red-start
Possibly worth posting it here.
Have you installed another dashboard possibly?
its the same thing in localhost. blank screen with connection lost.
i did this too but nothing changed
Did you make any changes just before this happened?
Please export your flow and attach it to a reply (read this first)
Did what? Also you haven't posted the log.
here is the log
$ node-red-log
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js
20 May 14:18:48 - [warn] ------------------------------------------------------
20 May 14:18:48 - [info] Settings file : /home/pi/.node-red/settings.js
20 May 14:18:48 - [info] Context store : 'default' [module=memory]
20 May 14:18:48 - [info] User directory : /home/pi/.node-red
20 May 14:18:48 - [warn] Projects disabled : editorTheme.projects.enabled=false
20 May 14:18:48 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
20 May 14:18:48 - [info] Server now running at http://127.0.0.1:1880/
20 May 14:18:48 - [warn]
We need to see the beginning. Please run
node-red-stop
node-red-start
and paste it all here.
pi@raspberrypi:~ $ node-red-stop
Stop Node-RED
Use node-red-start to start Node-RED again
pi@raspberrypi:~ $ node-red-start
Start Node-RED
Once Node-RED has started, point a browser at http://192.168.8.102:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
21 May 07:06:15 - [info]
Welcome to Node-RED
21 May 07:06:15 - [info] Node-RED version: v1.0.6
21 May 07:06:15 - [info] Node.js version: v10.19.0
21 May 07:06:15 - [info] Linux 4.19.97-v7+ arm LE
21 May 07:06:19 - [info] Loading palette nodes
21 May 07:06:25 - [info] Dashboard version 2.22.1 started at /ui
21 May 07:06:26 - [info] Settings file : /home/pi/.node-red/settings.js
21 May 07:06:26 - [info] Context store : 'default' [module=memory]
21 May 07:06:26 - [info] User directory : /home/pi/.node-red
21 May 07:06:26 - [warn] Projects disabled : editorTheme.projects.enabled=false
21 May 07:06:26 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
21 May 07:06:26 - [info] Server now running at http://127.0.0.1:1880/
21 May 07:06:26 - [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.
21 May 07:06:26 - [info] Starting flows
21 May 07:06:26 - [warn] [telegram sender:Your bot] bot not initialized.
21 May 07:06:26 - [warn] [telegram command:chenko] bot not initialized.
21 May 07:06:26 - [warn] [telegram sender:Send response] bot not initialized.
21 May 07:06:26 - [warn] [telegram command:a79b749a.278748] bot not initialized.
21 May 07:06:27 - [warn] [telegram receiver:c4ce3ebf.5ae48] bot not initialized
21 May 07:06:27 - [warn] [telegram sender:Send response] bot not initialized.
21 May 07:06:31 - [info] Started flows
21 May 07:06:31 - [error] [sqlitedb:568a490c.da4d38] failed to open /home/pi/sqlite/diagnostic
21 May 07:06:31 - [error] [sqlitedb:e9514121.111fd] failed to open /home/pi/dbs/iot.db
21 May 07:06:31 - [info] [mqtt-broker:locahost] Connection failed to broker: note1@mqtt://localhost:1883
1.Is the node-red editor working ok?
2. Do you expect all those errors and warnings in the log? If not then it might be worth sorting those in case the problem is a side effect of one of those.
3. If you run top
in a terminal is it showing that node red is using lots of processor?
Yes the node red editor is working very well with no issues
I dont understand the second point
Wen i do top i dont get anything about node red.
I have even reinstalled node red the same thing. I went on as to even flashing my pi back to a raspbian but still the same errors.
What @Colin was asking it there are numorus [warn] and two [error] messages in the startup log and they may be part of the problem.
- go into your flow and disable the telegram node and sqlite node - down in the lower left of every node is a enable/disable button. So disable those nodes.
- the first image you posted looks like it you were accessing the dashboard from a phone. What if yo access it from the NR editor?
I disabled the nodes and also access the ui using the second means and dere was no different
Hello
Thanks very much to every one who help i finally opened a new flow added a ui node dere configured it, then restarted node red and boom the ui was there
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.