I have a problem to connect the websocket node. When is use the default adress (127.0.0.1.8080) the websocket still gets disconnected.
When I search for the "node-red-contrib-websocket" I don't found it on the pallete at the "nodes tab".
At the "install tap" I found "node-red-contrib-websocket" and is says that it has a conflict.
When I start node-red in the LXTerminal I get the message:
Unable to listen on http://127.0.0.1:1880/
Port in use.
I also use ip 127.0.0.1:8086 for InfluxDB and it works properly!
Can anyone help me to fix this problem on using the websocket?
The usual reason for that is that node red is already running, and you are trying to start another one. Have you got it set to run on boot for example?
Okay, I get it.
Node-Red is starting at boot, so I don't have to start it again.
But the questions are is:
-Why says the websocket it is disconnected (on adress 127.0.0.1.8080)
-And when I search for the "node-red-contrib-websocket" I don't found it on the pallete at the "nodes tab".
When is search at the "install tap" I found "node-red-contrib-websocket" and is says that it has a conflict. How can I find out witch conflict?
I looked into the conflict. The conflict is saying that the node-red-contrib-websocket can't be installed while there is another websocket installed. So that's good. It means that the node-red-contrib-websocket isn't installed.
I still have the problem that the websocket is disconnected.
Is there a service running on the raspberry pi which i can check? A serving wich is on ip 127.0.0.1?
I prefer to run node-red on my raspberry pi with desktop environment. Like Raspbian Buster.
When I install Raspbian Buster with Node-Red on the SD card.
And install "node-red-contrib-unipi-evok" ,and I insert a unipi flow, the websocket node doesn't connect.
Whatever I try, the only thing I get is "disconnected" :
When I install the "Unipi 1.1 Node-RED OS" image on the SD card, and start node-red, the websocket works fine.
It's "connected" :
But in this option I have no desktop environment on my Raspberry Pi. So the "Unipi image" is no option.
I'm trying to find out why the websocket doesn't work in node-red installed on Raspbian Buster.
I don't onderstand why this doesn't work.
Does anyone have any idea what the problem is here?