When sending MQTT PUBLISH messages with payloads at or above 2 MiB (requiring a 4-byte Remaining Length encoding), the broker drops the connection. Messages below 2 MiB (3-byte Remaining Length) are accepted. The following is observed in logs:
WARN | Transport Connection to: tcp://... failed: Remaining length exceeds 4 bytes
Reproduced with the paho-mqtt client and MQTT.js. No reason to expect other clients wouldn't experience this.
When sending MQTT PUBLISH messages with payloads at or above 2 MiB (requiring a 4-byte Remaining Length encoding), the broker drops the connection. Messages below 2 MiB (3-byte Remaining Length) are accepted. The following is observed in logs:
WARN | Transport Connection to: tcp://... failed: Remaining length exceeds 4 bytesReproduced with the paho-mqtt client and MQTT.js. No reason to expect other clients wouldn't experience this.