Hi,
I'm re-posting this here as I previously, accidentally, posted it in the UI forum first.
I finally got my new raspberry 3 up and running with everything on it in Node-red but I keep getting an "Error: lost connection to server" in the node red page.
This happens when I'm viewing Node-red from my PC and the RPi3 is connected by WiFi or Ethernet and I even get the message when viewing the page as localhost on the RPI touch screen.
I've got the latest Jessie image from RPi site and the latest node red installation (V0.13.3).
Log below, Is it freeboard causing the issue, I tried disabling it in the admin but I still get the issue.
===================
10 Mar 22:03:23 - [info] Node-RED version: v0.13.3
10 Mar 22:03:23 - [info] Node.js version: v0.10.29
10 Mar 22:03:23 - [info] Linux 4.1.18-v7+ arm LE
10 Mar 22:03:23 - [info] Loading palette nodes
pi : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
10 Mar 22:03:32 - [info] Dashboard up and running
10 Mar 22:03:36 - [info] UI started at /ui
10 Mar 22:03:42 - [warn] ------------------------------------------
10 Mar 22:03:42 - [warn] Failed to register 1 node type
10 Mar 22:03:42 - [warn] Run with -v for details
10 Mar 22:03:42 - [warn] ------------------------------------------
10 Mar 22:03:42 - [info] Settings file : /home/pi/.node-red/settings.js
10 Mar 22:03:42 - [info] User directory : /home/pi/.node-red
10 Mar 22:03:42 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
10 Mar 22:03:43 - [info] Server now running at http://127.0.0.1:1880/
10 Mar 22:03:43 - [info] Starting flows
pi : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py out 11 0
pi : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py out 11 0
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session opened for user root by (uid=0)
10 Mar 22:03:44 - [info] Started flows
10 Mar 22:03:44 - [info] serial port /dev/ttyUSB0 opened at 57600 baud 8N1
10 Mar 22:03:44 - [info] [mqtt-broker:4925e524.b6da1c] Connected to broker: mqtt://m20.cloudmqtt.com:10388
10 Mar 22:03:45 - [warn] [pushbullet-config:Phil Grant] Unable to get history.
10 Mar 22:03:49 - [warn] [pushbullet-config:Phil Grant] Unable to get history.
10 Mar 22:04:31 - [red] Uncaught Exception:
10 Mar 22:04:31 - TypeError: Object function (entry) {
return this.indexOf(entry) !== -1;
} has no method 'end'
at interval (/home/pi/.node-red/node_modules/node-red-contrib-freeboard/freeboard.js:71:12)
at wrapper [as _onTimeout] (timers.js:258:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
nodered.service: main process exited, code=exited, status=1/FAILURE
pam_unix(sudo:session): session closed for user root
pam_unix(sudo:session): session closed for user root
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
Welcome to Node-RED
===================