Node-red unable to reach localhost:1880

Hello everyone,

i'm currently working on a robotic project using node-red and ros,
it was perfectly working until yesterday, now i cant even connect to the localhost page even tho the log tells me the nodes are working. (maybe the snappy-ros node is the problem?)
i've already tried to change the port, uninstall node-red but it didnt work out,
does anybody has suggestion?

Thanks

here is the log:
ros@grand_robot:~/.node-red/node_modules$ node-red-log

10 Mar 16:41:14 - [warn] [snappy-ros/ros_setup] TypeError: Cannot read property 'split' of undefined
10 Mar 16:41:14 - [warn] [snappy-ros/ros-subscriber] TypeError: Cannot read property 'split' of undefined
10 Mar 16:41:14 - [warn] [snappy-ros/ros-publisher] TypeError: Cannot read property 'split' of undefined
10 Mar 16:41:14 - [warn] ------------------------------------------------------
10 Mar 16:41:14 - [info] Settings file : /home/ros/.node-red/settings.js
10 Mar 16:41:14 - [info] Context store : 'default' [module=memory]
10 Mar 16:41:14 - [info] User directory : /home/ros/.node-red
10 Mar 16:41:14 - [warn] Projects disabled : editorTheme.projects.enabled=false
10 Mar 16:41:14 - [info] Flows file : /home/ros/.node-red/flows_grand_robot.json
10 Mar 16:41:14 - [info] Server now running at http://127.0.0.1:1880/
10 Mar 16:41:14 - [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.

10 Mar 16:41:14 - [info] Starting flows
10 Mar 16:41:14 - [error] [ros-server:af96dc69.571d7] TypeError: util.debug is not a function
10 Mar 16:41:14 - [info] Started flows
10 Mar 16:41:15 - [info] [mqtt-broker:1faa4bc0.ad62bc] Connected to broker: mqtt://localhost:1883
Started Node-RED graphical event wiring tool.

did you make any changes to the settings.js file?

have you tried to start NR from a cli using node-red --safe and disabling that node

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.