Questions tagged [mqtt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
50 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 ...
  • 1
0 votes
0 answers
28 views

Synchronization concerns regarding MQTT and InfluxDB

I'm trying to implement mosquitto broker with InfluxDB. My concern is that the data won't be stored properly, because InfluxDB is a "real-time" database and the MQTT protocol is asynchronous....
  • 101
0 votes
0 answers
1k 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
0 answers
291 views

Is it possible to run MQTT bridge on Mikrotik routers?

Mikrotik apparently supports publishing MQTT messages to a broker, but could it also serve as a MQTT bridge? I've got MQTT broker on the internet and I would like to create a bridge which would ...
0 votes
2 answers
524 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
690 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
2k 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
219 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
295 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. ...
5 votes
2 answers
9k 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
325 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
361 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 ...
  • 99
3 votes
1 answer
3k 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
279 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 ...
  • 101
1 vote
1 answer
2k 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
2k 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
1 answer
9k 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 ...
  • 111
1 vote
0 answers
4k 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
823 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 ...
  • 103
1 vote
1 answer
4k 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 ...