-->
Page 1 of 1

MQTT Protocol Name error

PostPosted: Tue Aug 04, 2015 6:45 am
by audumla
The MQTT client cannot connect to AMQ running with MQTT enabled. AMQ responds with

Code: Select allTransport Connection to: tcp://10.0.2.2:40948 failed: java.net.ProtocolException: Invalid CONNECT encoding


It appears that the MQTT client within nodemcu is not setting protocol correctly

Re: MQTT Protocol Name error

PostPosted: Wed Aug 05, 2015 3:56 pm
by churchill
Hello,

I had the same problem with mosquitto from Arduino IDE.
The problem was I needed a broker fully 3.1.1 compliant. You can see here a solution. For me, updating mosquitto from the last available version in the website was successful.

churchill