Questions tagged [mqtt]
The mqtt tag has no summary.
26 questions
0 votes
0 answers
95 views
How can I configure Mosquitto on kubernetes to auto-restart when cert-manager obtains a new Let's encrypt certificate automatically?
Is there an example configuration of eclipse-mosquitto 2.x (docker container) on Kubernetes to restart automatically the pod when cert-manager obtains a new Let's encrypt certificate automatically (...
0 votes
1 answer
76 views
Zabbix Agent 2 MQTT Plugin SSL Error: "open /tmp/certs/ca.crt: no such file or directory" (files exist)
I’m configuring Zabbix Agent 2 (v7.2.0) to fetch data from an MQTT broker over TLS and forward it to a Zabbix Server (containerized). Despite the certificates existing, I’m encountering the error: ...
0 votes
0 answers
85 views
Mosquitto MQTT Connect intermitent issues
My setup is the following: Raspi 5 running Home Assistant and Mosquitto broker (runs in a docker ). Connected to LAN via cable. Embedded devices (ESP8266 and others) are connecting via WLAN to ...
0 votes
0 answers
259 views
zigbee2mqtt fails to start with symlinked port name
I have installed zigbee2mqtt on my AlmaLinux 9 host. When I start zigbee2mqtt it fails with error: Inappropriate ioctl for device setting custom baud rate of 115200 Relevant info below: npm start &...
-1 votes
1 answer
222 views
eclipse-mosquitto ED25519 ca md too weak
I'm finding it very difficult to get the right combination of elements to have python paho-mqtt communicate securely with an eclipse-mosquitto container, although this question is only about the ...
0 votes
1 answer
602 views
One computer cannot access port from another on the same same network
I have two servers with relatively fresh installs of CentOS 9 Stream on the same network. I can ping and ssh between them so can prove basic connectivity. serverA AFAIK has port 1883 (mqtt) open and ...
1 vote
1 answer
4k views
Mosquitto not starting
I posted this on stack overflow however they reccomended I post it here, I recently installed the Mosquitto MQTT broker on Windows 11, and I managed to get it working locally between different command ...
1 vote
1 answer
2k views
How to configure Nginx to proxy more than 200K MQTT connections?
I need to proxy a lot of MQTT connections (over 200K) and distribute them over a number of ports at the backend server. Below is my Nginx configuration. load_module /usr/lib/nginx/modules/...
0 votes
1 answer
370 views
cannot connect port 1883 on google cloud VM
I am trying to host a mqtt broker on google VM and open port 1883.The external IP address of VM is ephemeral. Can I know why the telnet to the IP of VM is failed? firewall config port 1883 telnet ...
0 votes
0 answers
3k views
Connection to mosquitto failed with error code 'error:1408F10B:SSL routines:ssl3_get_record:wrong version number'
I'm having problems configuring mosquitto with SSL. Everything works fine in clear text (1883) but when I do the SSL configuration and test it (8883), I get the following errors: mosquitto_pub --host ...
0 votes
2 answers
2k views
Unable to connect to my self hosted cloud MQTT broker
I have followed the instructions to configure Mosquitto on CentOS 7, provided by digital ocean. I believe I have most of the stuff set up correctly, I was able to follow all the instructions with some ...
2 votes
1 answer
4k views
Mosquitto ACL default all users read to a topic
I am trying to create a default access for all users unless specified in the ACL file. I have allow_anonymous set to false. However, if a user is in the password file, I want that user to be able to ...
1 vote
1 answer
4k views
E: Unable to locate package mosquitto [closed]
I'm trying to install the mosquitto package, but when I type sudo apt-get install mosquitto it returns E: Unable to locate package mosquitto. I already ran sudo apt-get update and sudo apt-get upgrade....
1 vote
1 answer
567 views
Linux server not allowing more than 2048 concurrent connections
I tried to do load test on MQTT from my MACOS, and was able to successfully achieve more than 12k connections till my bandwidth got exhausted. I tried to do the same test on GCP machine and it gave me ...
0 votes
1 answer
757 views
Connection and reception are slowed by FIN_WAIT
I am using mosquitto as a broker to exchange data between clients using the MQTT protocol. But recently I have the following phenomenon. My mosquitto sometimes connects very hard and sends it too. ...
8 votes
2 answers
15k views
How to setup Mosquitto MQTT Broker in Kubernetes
I have been trying to set up ChirpStack in a Kubernetes space, but it doesn't seem to be working for me, and I can't find any resources online that have been the solution. **chirpstack-application-...
2 votes
1 answer
535 views
Pod using Vernemq helm package cannot start
I'm using helm to install vernemq on my kubernetes cluster The problems is it can't start, I accepted the EULA Here is the log: 02:31:56.552 [error] CRASH REPORT Process <0.195.0> with 0 ...
0 votes
1 answer
1k views
Treat TCP as MQTT protocol
I have packets captured during not encrypted MQTT communication: Protocol is detected as TCP. How to ask Wireshark to analyze packets as MQTT? UPD In case I set MQTT server work on default 1883 port ...
3 votes
2 answers
4k views
Running MQTT broker in Kubernetes (nginx-ingress-controller) with TCP over SSL
I'm currently trying to setup a MQTT broker (VerneMQ) on my kubernetes cluster (GKE). At the moment I'm using nginx-ingress-controller with a Google provided L4 load balancer. The VerneMQ deployment ...
0 votes
1 answer
392 views
Hostapd client unable to connect to docker container network
I've setup hostapd on a RP3 so I could connect some IoT devices to it. Inside the RP3 I have several docker containers, one of which is running a MQTT Broker. The MQTT Broker is running on a bridge ...
1 vote
1 answer
3k 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
1 answer
3k 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 ...
7 votes
1 answer
13k 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 ...
1 vote
0 answers
5k 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
0 answers
1k 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 ...
1 vote
1 answer
5k 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 ...