Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeRed gets stuck on Loading Plugins phase. #996

Closed
krue81 opened this issue Apr 23, 2021 · 1 comment
Closed

NodeRed gets stuck on Loading Plugins phase. #996

krue81 opened this issue Apr 23, 2021 · 1 comment
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@krue81
Copy link

krue81 commented Apr 23, 2021

Problem/Motivation

NodeRed is stuck on the "Loading Plugins" splash screen when using Edge for Windows 10 browser. This behavior started suddenly, no HA or NodeRed updates have been applied lately. And, this issue persists even after rebooting the RPi and a full cleaning of the Edge cache/history/users.

To clarify, I've been using Edge for the past year without any problem when accessing my Hass installation.

All flows work ok.

The strange thing is that if I use Chrome for Windows, NR loads successfully. Also when accessing NR via the Android app, but, I've read of some users with the opposite issue: NR loads ok con Edge and stalls loading plugin when using Chrome or the app.
(https://community.home-assistant.io/t/nodered-stuck-on-loading-plugins/301680)

Expected behavior

NodeRed loading fully, without getting stuck on the loading plugins phase.

Actual behavior

NodeRed keeps getting stuck on the "Loading Plugins" splash screen.

Steps to reproduce

In my case, everytime I try to load NR on Edge for Windows it gets stuck, but, I've read of some users with the opposite issue: NR loads ok con Edge and stalls loading plugin when using Chrome or the app. (https://community.home-assistant.io/t/nodered-stuck-on-loading-plugins/301680)

This is my NR 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: 9.0.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 5.13  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2021.4.6
 Home Assistant Supervisor: 2021.04.1
-----------------------------------------------------------
 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] customizations.sh: executing... 
[cont-init.d] customizations.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] node-red.sh: executing... 
[13:39:39] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[13:39:41] INFO: Password is NOT in the Have I Been Pwned database! Nice!
patching file nodes/ui_base.html
Hunk #1 succeeded at 1160 (offset 629 lines).
[13:39:41] WARNING: 
[13:39:41] WARNING: The dark_mode option has been deprecated and will be
[13:39:41] WARNING: removed in a future version. Please use the theme
[13:39:41] WARNING: option instead.
[13:39:41] WARNING: 
audited 168 packages in 8.388s
16 packages are looking for funding
  run `npm fund` for details
found 0 vulnerabilities
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[13:39:56] INFO: Starting Node-RED...
> addon-node-red@ start /opt
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
21 Apr 13:40:01 - [info] 
Welcome to Node-RED
===================
21 Apr 13:40:01 - [info] Node-RED version: v1.3.3
21 Apr 13:40:01 - [info] Node.js  version: v14.16.1
21 Apr 13:40:01 - [info] Linux 5.4.83-v8 arm64 LE
21 Apr 13:40:02 - [info] Loading palette nodes
21 Apr 13:40:13 - [info] Dashboard version 2.28.2 started at /endpoint/ui
/bin/sh: /opt/node_modules/node-red-node-pi-gpio/testgpio.py: not found
21 Apr 13:40:15 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
21 Apr 13:40:15 - [info] Settings file  : /etc/node-red/config.js
21 Apr 13:40:15 - [info] Context store  : 'default' [module=memory]
21 Apr 13:40:15 - [info] User directory : /config/node-red/
21 Apr 13:40:15 - [warn] Projects disabled : editorTheme.projects.enabled=false
21 Apr 13:40:15 - [info] Flows file     : /config/node-red/flows.json
21 Apr 13:40:15 - [info] Server now running at http://127.0.0.1:46836/
[13:40:15] INFO: Starting NGinx...
21 Apr 13:40:16 - [info] Starting flows
21 Apr 13:40:21 - [info] [cronplus:2c9c933a.42a7dc] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"default","payload":"","expressionType":"cron","expression":"0 59 23 L * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
21 Apr 13:40:22 - [info] Started flows
21 Apr 13:40:22 - [info] [server:Home Assistant] Connecting to http://supervisor/core
21 Apr 13:40:22 - [info] [mqtt-broker:MQTT HA] Connected to broker: nodered@mqtt://192.168.1.6:1883
21 Apr 13:40:23 - [info] [server:Home Assistant] Connected to http://supervisor/core

And this is my browsers console:
image

@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label May 24, 2021
@github-actions github-actions bot closed this as completed Jun 1, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

1 participant