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] node-red 'MQTT in' disconnected
#1
I had MQTT in and MQTT out nodes working in node-red - then last night they died - a  little red square and "disconnected" under the node. I've tried localhost:1883, 10.10.10.1:1883, running node red on the pi and on my connected laptop, starting and stopping mqtt, and reboots.

I revived my old cloudmqtt broker/freeboard.io and they are getting and displaying the mqtt data. 
Here are the /var/log/mosquitto/mosquitto.log  entries
1517338412: New connection from 127.0.0.1 on port 1883.             <--- this is cloudmqtt  umifqkims is username
1517338412: New client connected from 127.0.0.1 as                        @:vvXqbR:7USncFdC<@3q2qV@pkr_tMo6K\^3F8==MQl8WWKdWNLY6cigERMAp3G (c1, k60, umifqkims).   
1517338412: New connection from 10.10.10.1 on port 1883.         <-------------I think these  three are my MQTT in nodes 
1517338412: New connection from 192.168.1.20 on port 1883.                          trying to connect 
1517338417: New connection from 127.0.0.1 on port 1883.
1517338417: New client connected from 127.0.0.1 as 2_e5um2sBSf:2DUV[drtZ\THbvesmh1oOfd;Kg5MA[W3_lYAWS<ro`AX^gBBFCre (c1, k60, umifqkims).  

So - the data is there and getting out - just not getting into node-red. 

The 'websocket in' localhost:3000 node is connecting and receiving data and sending output to the dashboard. For a brief moment this morning the 'MQTT in' node connected, then it "Disconnected" again. 

Im in MQTT jail!   Sad

Ideas? How can I troubleshoot? 

Thx.
Reply


Messages In This Thread
[SOLVED] node-red 'MQTT in' disconnected - by svtgd - 2018-01-30, 08:54 PM
RE: node-red 'MQTT in' disconnected - by jim321 - 2018-01-31, 10:49 AM
RE: node-red 'MQTT in' disconnected - by svtgd - 2018-01-31, 03:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)