noderedrevpinodes-server nicht erreichbar

Topics about the Software of Revolution Pi
Post Reply
tim26
Posts: 11
Joined: 03 Mar 2021, 22:14
Answers: 0

noderedrevpinodes-server nicht erreichbar

Post by tim26 »

Hallo zusammen,
bin in der Zwischenzeit ziemlich am Ende mit meinem Latein und brauche dringend Hilfe. Ich bekomme den noderedrevpinodes-server nicht zum laufen.
Wenn ich in chrome am revpi selbst localhost:8000 eingebe kommt "Seite nicht erreichbar"

- habe einen RevPiCore 3
- ich habe schon verschiedene Images ausprobiert, neuestes Buster von 1/2022 und aktuell wieder Stretch
- habe ein AIO Modul am Revpi montiert und in pictory definiert, abgespeichert und Treiber neu geladen
- dem noderedrevpinodes-server habe ich auch schon in der Konsole einen restart verpasst
- über piTest lassen sich die Ein- und Ausgänge meines AIO Moduls ansprechen, funktioniert
- der noderedrevpinodes-server läuft , active (running)
- allerdings kommen bei der Prüfung hinterher noch Fehler: "Exception happened during processing of request from ('127.0.0.1', 42744)"
- damit weiß ich leider nichts anzufangen
- die webside localhost:8000 meldet "nicht erreichbar" und in nodered lassen sich natürlich die revpi nodes auch nicht ansprechen

Hat jemand einen Hinweis für mich wo ich noch suchen kann?
Vielen Dank für Eure Hilfe!

Tim
kjkoster
Posts: 87
Joined: 12 Feb 2022, 10:42
Answers: 2

Re: noderedrevpinodes-server nicht erreichbar

Post by kjkoster »

Dear Tim,

Apologies to reply in English. I can read and speak German, but in writing I would only embarrass myself. Feel free to reply in German if you prefer.

Not a Node-RED user myself, but I happened to be sitting next to a (Buster, Connect+) test system, so I thought I'd try. It worked first try, so now I am curious what your system does differently.

After enabling Node-RED in the admin web UI for the Revpi, I ran the command "systemctl status nodered" in a terminal, showing roughly the following:

Code: Select all

$ systemctl status nodered
● nodered.service - Node-RED graphical event wiring tool
   Loaded: loaded (/lib/systemd/system/nodered.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2022-04-18 08:36:16 CEST; 7min ago
     Docs: http://nodered.org/docs/hardware/raspberrypi.html
 Main PID: 26185 (node-red)
    Tasks: 11 (limit: 2199)
   Memory: 86.3M
   CGroup: /system.slice/nodered.service
           └─26185 node-red

Apr 18 08:36:28 RevPi40670 Node-RED[26185]: If the system-generated key is lost for any reason, your credentials
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: file will not be recoverable, you will have to delete it and re-enter
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: your credentials.
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: You should set your own key using the 'credentialSecret' option in
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: your settings file. Node-RED will then re-encrypt your credentials
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: file using your chosen key the next time you deploy a change.
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: ---------------------------------------------------------------------
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: 18 Apr 08:36:28 - [info] Server now running at http://127.0.0.1:1880/
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: 18 Apr 08:36:28 - [info] Starting flows
Apr 18 08:36:28 RevPi40670 Node-RED[26185]: 18 Apr 08:36:28 - [info] Started flows
$
I noted that the logging says that the service is running on port 1880, which seems to be different from port 8000 that you mentioned. Have you confirmed that the service is in fact running at port 8000 by looking at the output of "systemctl status nodered"? Perhaps you might share the output of that command for us to look at?

Finally, thanks to the magic of SSH port forwarding, I could open Node-RED on my Mac.
Screenshot 2022-04-18 at 08.46.19.png
Screenshot 2022-04-18 at 08.46.19.png (195.12 KiB) Viewed 1860 times
Hope this helps.

Kees Jan
tim26
Posts: 11
Joined: 03 Mar 2021, 22:14
Answers: 0

Re: "noderedrevpinodes-server " Problem gelöst

Post by tim26 »

Hallo Jan,
danke für Deine Antwort.
Allerdings ging es hier nicht um nodered selbst und den Port 1880, das funktioniert alles prima. Es gibt für das Einbinden der Zusatzmodule -bei mir ein AIO-Modul- einen zusätzlichen "noderedrevpinodes-server" den man zum laufen bringen muss, um die zugehörigen nodes aktivieren zu können und der läuft nicht auf 1880 sondern auf 8000.
Ich hab es jetzt selbst hinbekommen, mein Fehler war ziemlich trivial:
Damit der "noderedrevpinodes-server" laufen kann greift er auf die Datei zu die man vorher im PiCtory erstellt hat.
Und diese Datei muss man anscheinend nicht nur speichern "save as" sondern als Startdatei speichern: "save as start config".
Dann habe ich noch meine nodes auf den eneusten Standakzualisiert und plötzlich hat's funktioniert.
Vielen Dank
Tim
kjkoster
Posts: 87
Joined: 12 Feb 2022, 10:42
Answers: 2

Re: noderedrevpinodes-server nicht erreichbar

Post by kjkoster »

Dear Tim,

Even better that you solved it yourself. I guess I misunderstood your problem. Sorry.

Kees Jan
vince-sneider
Posts: 3
Joined: 05 May 2022, 11:56
Answers: 0

Re: noderedrevpinodes-server nicht erreichbar

Post by vince-sneider »

Ich habe aktuell auch das oben beschriebene Problem. Meine In und Outputs des RevPi Compacts sind über den localhost:8000 nicht mehr erreichbar. Die start-config in pictory abzuspeichern löste mein Problem nicht. Sogar ein neues Image auf dem RevPi brachte nichts.

Ich kann im Node-red keine PINs auswählen bei In- / Outputs

Ich habe "systemctl status nodered" ausgeführt:

Mai 06 10:19:13 RevPi12650 Node-RED[2198]: Connecting to WS Server wss://localhost:8000
Mai 06 10:19:13 RevPi12650 Node-RED[2198]: 6 May 10:19:13 - [info] Flows sind gestartet
Mai 06 10:19:13 RevPi12650 Node-RED[2198]: Connection to WS Server wss://localhost:8000 established!
Mai 06 10:19:13 RevPi12650 Node-RED[2198]: error Unsupported server version!
Mai 06 11:00:20 RevPi12650 Node-RED[2198]: Connecting to WS Server wss://localhost:8000
Mai 06 11:00:21 RevPi12650 Node-RED[2198]: Connection to WS Server wss://localhost:8000 established!
Mai 06 11:00:21 RevPi12650 Node-RED[2198]: error Unsupported server version!
Mai 06 11:00:23 RevPi12650 Node-RED[2198]: Connecting to WS Server wss://localhost:8000
Mai 06 11:00:23 RevPi12650 Node-RED[2198]: Connection to WS Server wss://localhost:8000 established!
Mai 06 11:00:24 RevPi12650 Node-RED[2198]: error Unsupported server version!

Jemand eine Idee?
vince-sneider
Posts: 3
Joined: 05 May 2022, 11:56
Answers: 0

Re: noderedrevpinodes-server nicht erreichbar

Post by vince-sneider »

Gut, ich habe mir inzwischen selbst helfen können. Und zwar brachte bei mir das pictory update die Lösung: viewtopic.php?p=12226&hilit=dio+aio+upd ... ory#p12226
Post Reply