This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] v0.11.5 Cant connect to Node-Red Host
#3
(2017-05-15, 04:53 PM)Sailoog Wrote: run openplotter in debug mode to see any error on the terminal.
if no error, open a terminal and type "startup restart" too see any error.
Checked your network connection?
Checked your Node-Red option in Startup tab?

(EDIT: I just tried unchecking start nodeRed in the OP Startup tab
I then ran NodeRed from a terminal with "node-red-start"
That came up with a string of errors and these are in attached file "nodered manual startup.txt")


I get no errors in OP startup screen except usual ones wrt changing default passwords etc

I could not run debug mode (see terminal extract below) but did manage startup restart
Network connection is fine as is NodeRed startup option checked in startup tab
startup restart hangs at "Started flows"


pi@openplotter:~ $ python /home/pi/.config/openplotter/openplotter.py
python: can't open file '/home/pi/.config/openplotter/openplotter.py': [Errno 2] No such file or directory
pi@openplotter:~ $ startup restart
Signal K starting
No settings/defaults.json available
signalk-server running at 0.0.0.0:3000

Cannot open NGT-1-A device /dev/ttyOP_N2K

GET /signalk/v1/api/vessels/self 200 123.853 ms - 299

Stop Node-RED
 
Use   node-red-start   to start Node-RED again
 

Start Node-RED
 
Once Node-RED has started, point a browser at http://192.168.1.106:1880
On Pi Node-RED works better with the Firefox browser
 
Use   node-red-stop                          to stop Node-RED
Use   node-red-start                         to start Node-RED again
Use   node-red-log                           to view the recent log output
Use   sudo systemctl enable nodered.service  to autostart Node-RED at every boot
Use   sudo systemctl disable nodered.service to disable autostart on boot
 
To find more nodes and example flows - go to http://flows.nodered.org
 
Mon 15 May 00:00:00 UTC 2017
Mon 15 May 19:21:13 UTC 2017
Date and time retrieved from NMEA data successfully.
Started Node-RED graphical event wiring tool..
15 May 19:21:17 - [info]
Welcome to Node-RED
===================
15 May 19:21:17 - [info] Node-RED version: v0.16.2
15 May 19:21:17 - [info] Node.js  version: v6.10.2
15 May 19:21:17 - [info] Linux 4.4.50-v7+ arm LE
15 May 19:21:19 - [info] Loading palette nodes
pi@openplotter:~ $ pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info
pam_unix(sudoConfusedession): session opened for user root by (uid=0)
pam_unix(sudoConfusedession): session closed for user root
15 May 19:21:25 - [info] Dashboard version 2.3.6 started at /ui
15 May 19:21:30 - [info] Settings file  : /home/pi/.node-red/settings.js
15 May 19:21:30 - [info] User directory : /home/pi/.node-red
15 May 19:21:30 - [info] Flows file     : /home/pi/.node-red/flows_openplotter.json
15 May 19:21:30 - [info] Server now running at http://127.0.0.1:1880/
15 May 19:21:30 - [info] Starting flows
15 May 19:21:31 - [info] Started flows

(EDIT: I just tried unchecking start nodeRed in the OP Startup tab
I then ran NodeRed from a terminal with "node-red-start"
That came up with a string of errors and these are in attached file nodered errors.txt


Attached Files
.txt   Node Red manual startup.txt (Size: 9.14 KB / Downloads: 218)
Reply


Messages In This Thread
RE: v0.11.5 Cant connect to Node-Red Host - by affinite - 2017-05-15, 08:40 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)