Questions tagged [mqtt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
7 views

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

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 ...
0
votes
1answer
178 views

haproxy acl with “header(host)” check is not working for mqtt backend

I am trying to apply HAProxy acl to choose mqtt broker backend is not working. I have tried following HAProxy configurations. Environment: HAProxy version: 1.8.19 MQTT Broker: EMQ X Broker version ...
0
votes
0answers
38 views

Azure IoT Hub - MQTT UserName without slashes

If we connect to IoT Hub through MQTT from MSDN we get the next rules for username: {iothubhostname}/{device_id}/?api-version=2018-06-30 But we need to communicate with IoT Hub through MQTT protocol ...
0
votes
1answer
353 views

How to get haproxy and keepalived working on the same device as an emqx broker

I'm rather new to this, so please be patient. My setup is essentially thre devices using mqtt, connecting through two brokers both running emqx. Both emqx brokers are also supposed to be set up as ...
6
votes
1answer
1k views

worker_connections are not enough - Nginx, docker

In my production server we have several upstreams which are docker containers running behind a reverse proxy with nginx. One of this containers is a mqtt broker (mosquitto) that we use to connect ...
0
votes
0answers
1k views

How can I use NGINX to reverse-proxy a MQTT service over SSL?

I've setup several server blocks for websites with NGINX. I can reverse-proxy (as well as force all traffic to https on these sites). I'm trying to setup a MQTT broker so that it uses SSL. server { ...
0
votes
0answers
203 views

Fails to read certfile/keyfile when run as SYSTEMD

EDIT: I wrote a python script that starts mosquitto client with TLS options ON. All worked fine when I run it from command line (w/o sudo). Now it broke after re-installing some packages. However, I ...
0
votes
1answer
1k views

Google Cloud Platform and Nginx reverse proxy

I'm very new to this, so I apologize if I may not even get the terms right. What I'm trying to accomplish is a reverse proxy with Nginx where I listen to https (port 443) and MQTT (port 8883) and ...