EMQ X Broker Cluster -> HAProxy -> mosquitto_sub -> network protocol error communicating with broker

by Wayne Eaton   Last Updated July 11, 2019 18:00 PM - source

setting up test environment in Hyper-V 2012R2, openSUSE Leap 15.1, using EMQ X Broker version 3.1 2-node cluster, HAProxy v1.6.

Everything works except for when I tried to run a mosquitto_sub.exe command to the HA_Proxy IP address. I get an Error: "A network protocol error occurred when communicating with the broker." I can run a mosquitto_sub.exe command to the IP of either broker and it works fine - can send/receive messages. Attached is haproxy.cfg file.



Tags : haproxy mqtt

Related Questions

only half of devices work fine with mqtt broker

Updated October 24, 2018 12:00 PM

worker_connections are not enough - Nginx, docker

Updated December 14, 2018 10:00 AM

MQTT UserName without slashes

Updated February 25, 2019 17:00 PM