Je n’arrive plus à avoir accès à Node Red, j’obtiens une erreur 502 Bad Gateway.
J’ai lu le forum à la recherche de problème similaire mais je semble dans un autre cas
Voici le message d’erreur que j’ai quand je tente de me loguer à Node-Red :
Welcome to Node-RED
1 Mar 10:07:19 - [info] Node-RED version: v2.2.2
1 Mar 10:07:19 - [info] Node.js version: v16.14.0
1 Mar 10:07:19 - [info] Linux 5.10.92-v8 arm64 LE
1 Mar 10:07:21 - [info] Loading palette nodes
2022/03/01 10:07:23 [error] 600#600: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.2, server: a0d7b954-nodered, request: « GET / HTTP/1.1 », upstream: « http://127.0.0.1:46836/ », host: « xxxx.duckdns.org:8123 », referrer: « https://xxxx.duckdns.org:8123/a0d7b954_nodered »
1 Mar 10:07:29 - [info] Dashboard version 3.1.6 started at /endpoint/ui
1 Mar 10:07:31 - [info] Settings file : /etc/node-red/config.js
1 Mar 10:07:31 - [info] Context store : ‹ default › [module=memory]
1 Mar 10:07:31 - [info] User directory : /config/node-red/
1 Mar 10:07:31 - [warn] Projects disabled : editorTheme.projects.enabled=false
1 Mar 10:07:31 - [info] Flows file : /config/node-red/flows.json
1 Mar 10:07:31 - [info] Server now running at http://127.0.0.1:46836/
1 Mar 10:07:31 - [info] Starting flows
1 Mar 10:07:31 - [info] Connecting to freebox at https://192.168.1.254:443
[10:07:34] INFO: Starting Node-RED…
22-03-01 11:18:49 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:49 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:49 WARNING (SyncWorker_0) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:49 WARNING (SyncWorker_0) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:49 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on Package node-red/aarch64 · GitHub with version 11.0.4
22-03-01 11:18:49 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:49 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:50 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:50 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:53 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:18:53 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:30 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:30 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:30 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:30 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:30 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:30 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:59 WARNING (MainThread) [supervisor.addons.options] Option ‹ dark_mode › does not exist in the schema for Node-RED (a0d7b954_nodered)
22-03-01 11:22:59 WARNING (MainThread) [supervisor.addons.options] Option ‹ require_ssl › does not exist in the schema for Node-RED (a0d7b954_nodered)
J’essayerai ce soir sans le SSL car je suis à distance là et donc pas sur le réseau local.
Ton idée de passer hors SSL c’est quoi ? Tu penses que le certificat est pas bon ? Car si c’est cela, j’ai d’autres modules (Grafana par exemple) qui utilise aussi fullchain et privkey et ça fonctionne
J’ai mis safe_mode: true et j’ai à nouveau accès au Dashboard Node-Red
Mais j’ai toujours ce Warning dans les logs Supervisor
22-03-01 12:31:28 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-03-01 12:31:31 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-03-01 12:32:10 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-03-01 12:32:10 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-03-01 12:32:10 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-03-01 12:33:45 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered)
Et je ne peux pas retrouver le fonctionnement de mes flows car j’ai cette erreur dans Node-Red
Bonjour,
je suis un débutant, avec ce même soucis. Pourrais tu me préciser dans quel fichier je dois ajouter npm_packages.
D'avance merci pour tes infos.
Bonjour à tous c’est à mon tour d’avoir node-red qui ne démarre pas, j’ai désinstallé et réinstallé fait une restauration sur une date antérieur fait la dernière mise à jour, et toujours rien le même souci dont voici le journal
s6-rc: info: service init-nodered: starting
[16:32:51] FATAL:
[16:32:51] FATAL: Configuration of this add-on is incomplete.
[16:32:51] FATAL:
[16:32:51] FATAL: Please be sure to set the "credential_secret" option.
[16:32:51] FATAL:
[16:32:51] FATAL: The credential secret is an encryption token, much like
[16:32:51] FATAL: a password, that is used by Node-RED for encrypting
[16:32:51] FATAL: credentials you put into Node-RED.
[16:32:51] FATAL:
[16:32:51] FATAL: Just like a password, a credential secret can be
[16:32:51] FATAL: anything you like. Just be sure to store it somewhere
[16:32:51] FATAL: safe for later, e.g., in case of a recovery.
[16:32:51] FATAL:
s6-rc: warning: unable to start service init-nodered: command exited 1
s6-rc: info: service init-nginx successfully started
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.
s6-rc: info: service init-nginx: stopping
s6-rc: info: service init-customizations: stopping
s6-rc: info: service init-nginx successfully stopped
s6-rc: info: service init-customizations successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
il me parle de jeton et credential_secret mais j’ai jamais touché à ça,
Merci d’avance pour votre aide