mosquitto bridge fails to connect to RabbitMQ-MQTT
Bug #1369107 reported by
Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mosquitto |
New
|
Undecided
|
Unassigned |
Bug Description
When mosquitto (1.3.4_1) is configured as bridge to a rabbitmq server (3.3.5) connection fails with
the following rabbit log file entry:
=ERROR REPORT==== 13-Sep-
MQTT detected framing error '"127.0.0.1:55255 -> 127.0.0.1:1883"' for connection protocol_
Wireshark shows in the CONNECT message a MQTT protocol name "MQIsdp" and version "131".
I looked at the source code of the broker and found in _mosquitt_
if(mosq->bridge && mosq->bridge-
version |= 0x80;
}else{
which gives decimal 131 if version =3, as seen in wireshark. I am not sure if this is part of the MQTT specs or not
To post a comment you must log in.
It's not part of the spec, but is supported in some other brokers. It helps with bridging.
You can disable this feature by using
try_private false