Hi Colin,
I did copy the flow from the node-red on raspberry pi 3 and that didn't make any difference.. mqqt node just show connecting.. and hangs there
I did another test a few minutes ago in that laptop is running ubuntu , I tried with mosquitto mqtt and the connection was successfully.
angel@angel-Latitude-E6430:/etc/ssl/certs/aws$ mosquitto_sub --cafile rootCA.pem --cert new-certificate.pem.crt --key new-private.pem.key -h
xxxxxxxxx.iot.us-east-1.amazonaws.com -p 8883 -q 0 -d -t topic/test -i new
Client new sending CONNECT
Client new received CONNACK
Client new sending SUBSCRIBE (Mid: 1, Topic: topic/test, QoS: 0)
Client new received SUBACK
Subscribed (mid: 1): 0
below are the node-red and node.js version, now can i see the raspberry pi 3 have older versions compared to ubunto and RPI2, could be that the reason?
what is your suggestion?
is possible to downgrade node-red and node.js version on my RPI2 just to try?
Ubunto laptop where mqtt node connection to aws do not work: node -v =v4.2.6 , npm -v= 3.10.10
Raspberry pi 2 where mqtt node connection to aws do not work: node -v =v6.10.3 , npm -v= 3.10.10
Raspberry pi 3 where mqtt node connection to aws works fine: node -v = v4.2.1 , npm -v= 4.1.2
thanks for any further advise..
////////////////////////////////////////////////////////////////////////////