White screen node red not working

Thanks for reading this and trying to help me this is my problem.

I am using home assistant supervisor I tried to test my camera as when I connected it through a usb extender the motion eye says there is no data and I can’t see anything.

But my computer can reconise and read the camera even with the usb extender so I tried run a python code that I know works as I can still use the ubuntu software(I am using a jetson nano) as home assistant supervisor runs every thing on a docker container.

I updated python from 3.6.9 to 3.9.11 and installed/updated pip and pip3. With this 2 things I could install the files I need which is opencv and pyrebase4. And the camera work I was able to take a photo with the camera so I went back to home assistant but it was very lagy and when I tried to open the node red addon it works for a few seconds then it crashes? It says it disconnect and when I refresh the page it gives my a white screen.

I tried to restart the home assistant, node red addon and the device thaat is hosting the home assistant (jetson nano) it self but it always have the same problem

This are the logs I manage to find

Node-RED
cont-init: info: running /etc/cont-init.d/customizations.sh
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
v3.16.0-260-gaa1fca99cd [https://dl-cdn.alpinelinux.org/alpine/v3.16/main]
v3.16.0-261-g8d8b2f7b5d [https://dl-cdn.alpinelinux.org/alpine/v3.16/community]
OK: 16888 distinct packages available
(1/1) Installing make (4.3-r0)
Executing busybox-1.35.0-r13.trigger
OK: 111 MiB in 44 packages
(1/11) Installing binutils (2.38-r2)
(2/11) Installing libgomp (11.2.1_git20220219-r2)
(3/11) Installing libatomic (11.2.1_git20220219-r2)
(4/11) Installing gmp (6.2.1-r2)
(5/11) Installing isl22 (0.22-r0)
(6/11) Installing mpfr4 (4.1.0-r0)
(7/11) Installing mpc1 (1.2.1-r0)
(8/11) Installing gcc (11.2.1_git20220219-r2)
(9/11) Installing musl-dev (1.2.3-r0)
(10/11) Installing libc-dev (0.7.2-r3)
(11/11) Installing g++ (11.2.1_git20220219-r2)
Executing busybox-1.35.0-r13.trigger
OK: 292 MiB in 55 packages
OK: 292 MiB in 55 packages
(1/1) Installing linux-headers (5.16.7-r1)
OK: 299 MiB in 56 packages
[17:14:15] INFO: Starting installation of custom NPM/Node-RED packages...
npm WARN config optional Use `--omit=optional` to exclude optional dependencies, or
npm WARN config `--include=optional` to include them.
npm WARN config 
npm WARN config     Default value does install optional deps unless otherwise omitted.
npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.
removed 23 packages, changed 1 package, and audited 597 packages in 11s
77 packages are looking for funding
  run `npm fund` for details
8 vulnerabilities (1 moderate, 6 high, 1 critical)
To address issues that do not require attention, run:
  npm audit fix
To address all issues (including breaking changes), run:
  npm audit fix --force
Run `npm audit` for details.
cont-init: info: /etc/cont-init.d/customizations.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
cont-init: info: running /etc/cont-init.d/node-red.sh
patching file nodes/ui_base.html
Hunk #1 succeeded at 1164 (offset 633 lines).
up to date, audited 218 packages in 6s
30 packages are looking for funding
  run `npm fund` for details
9 vulnerabilities (1 moderate, 6 high, 2 critical)
To address all issues (including breaking changes), run:
  npm audit fix --force
Run `npm audit` for details.
cont-init: info: /etc/cont-init.d/node-red.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun nginx (no readiness notification)
services-up: info: copying legacy longrun nodered (no readiness notification)
s6-rc: info: service legacy-services successfully started
[17:14:38] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
5 Jul 17:14:42 - [info] 
Welcome to Node-RED
===================
5 Jul 17:14:42 - [info] Node-RED version: v2.2.2
5 Jul 17:14:42 - [info] Node.js  version: v16.15.0
5 Jul 17:14:42 - [info] Linux 4.9.253-tegra arm64 LE
5 Jul 17:14:43 - [info] Loading palette nodes
5 Jul 17:14:50 - [info] Dashboard version 3.1.7 started at /endpoint/ui
5 Jul 17:14:52 - [info] Settings file  : /etc/node-red/config.js
5 Jul 17:14:52 - [info] Context store  : 'default' [module=memory]
5 Jul 17:14:52 - [info] User directory : /config/node-red/
5 Jul 17:14:52 - [warn] Projects disabled : editorTheme.projects.enabled=false
5 Jul 17:14:52 - [info] Flows file     : /config/node-red/flows.json
5 Jul 17:14:52 - [info] Server now running at http://127.0.0.1:46836/
5 Jul 17:14:52 - [info] Starting flows
[17:14:52] INFO: Starting NGinx...
5 Jul 17:14:53 - [info] Started flows
5 Jul 17:14:53 - [info] [serialconfig:bbc414bb7e1feaec] serial port /dev/ttyUSB0 opened at 9600 baud 8N1
5 Jul 17:14:54 - [info] [mqtt-broker:MQTT Server] Connected to broker: JetsonNano@mqtts://node02.myqtthub.com:8883
5 Jul 17:14:57 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Jul 17:14:57 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Jul 17:14:57 - [info] [server:Home Assistant] Connected to http://supervisor/core
5 Jul 17:14:57 - [info] [server:Home Assistant] Connected to http://supervisor/core

And this is where I got my logs is there any other logs I can see as I don’t see the error in this.
Thanks for your time.

[quote=“SP-Mushrooms, post:1, topic:436956”]
And this is where I got my logs is there any other logs I can see as I don’t see the error in this.
Thanks for your time.
[/quote

Sorry i got it wrong it turns out there was a while loop iin one of the function node causing it to crash

1 Like