Questions tagged [mqtt]

21 questions
4
votes
1 answer

Ubuntu systemctl service fails with: Main process exited, code=exited, status=1/FAILURE

I am writing a python script that subscribes to some MQTT topics to localhost MQTT broker and when a message is pushed, the script will call a function in another script on the same directory to load the changes into an SQL database. The script is…
Jazor He
  • 101
  • 1
  • 1
  • 4
1
vote
1 answer

Cannot open port 1883

I am trying to connect to a MQTT Mosquitto server by using a laptop with a wireless connection. However, I am getting timeout messages all the time. After doing some research I have come to think that this issue is related to having port 1883…
Jesus
  • 11
  • 1
  • 2
1
vote
0 answers

Can I use Cloudflare's SSL certificate with Mosquitto MQTT websocket?

I use Mosquitto MQTT on my linux VPS. In order to use it within my https enabled website I must have a valid SSL certificate. I am currently using Certbot to generate it, but I want to use a certificate that is generated from Cloudflare. Is it…
Soul Gamer
  • 11
  • 1
1
vote
0 answers

Mosquitto broker socket error

After updating to mosquitto v1.5.5 from 1.4.x I have not been able to connect to the broker, I have tried using an esp module as well as raspberry pi and mosquitto_sub. However, when I run mosquitto_sub from the computer which is also running the…
1
vote
0 answers

Apache Tomcat Servlet Default Files Installed in IIB Broker

A recent nessus scan found the following vulnerability in a RedHat server: Apache Tomcat Servlet Default Files Installed Vulnerability finding appeared in last successful scan attempt. The following default files were found :…
1
vote
0 answers

Adjusting the rate of an MQTT configuration

I have a problem that I am trying to solve which feels like it is a common problem and thus probably has a common solution in the form of a network protocol. My knowledge of network protocols is somewhat limited and I am unable to find an existing…
Alex Ryan
  • 111
  • 3
0
votes
0 answers

Need some assistance in setting up Mosquitto for IoT core

I have been attempting to setup a mosquitto server in order to publish data about my IoT devices to the IoT core service. This would then be picked up by Alexa so that someone can say "What is my battery voltage?" and Alexa will reply…
philm
  • 101
  • 2
0
votes
0 answers

Unable to connect to MQTT broker using local IP address

I have a Mosquitto broker running on my Windows machine. I can connect to this on the same machine using an MQTT client such as MQTTX when I specify localhost as the address. However, I want other devices on my local network to be able to connect…
Engineer999
  • 161
  • 1
  • 1
  • 7
0
votes
1 answer

How to Run MQTT-Broker and -Clients in Different Docker Containers?

I need to have a MQTT-broker running in a Docker container and then two clients (one sender and one reciever) in two additional Docker containers. The broker is set to listen to port 1883, so my understanding is, that all three containers need to…
TigersEye120
  • 105
  • 2
0
votes
1 answer

Why do I get a "TCP Retransmission" right after having sent a packet?

I have a program (in Python) that publishes information to a bus (MQTT, implemented by mosquitto). This is a "fire and forget" kind of message, that is there is no long term subscription, just a message sent. All this works, but I noticed (by…
WoJ
  • 2,343
  • 7
  • 39
  • 61
0
votes
1 answer

Relation TCP acks and MQTT acks

Is it somehow possible for a MQTT client to receive an MQTT PUBACK message without having received the TCP ack? for example: The client publishes a message with QoS 1. The broker receives this message and returns the PUBACK. Afterwards, the server's…
BMelis
  • 103
  • 3
0
votes
1 answer

“volumes 'type' is a required property” error with docker-compose

I have just started to learn how docker works and I have a problem with the yaml file when using docker-compose. version: '3.7' services: portainer: container_name: portainer image: portainer/portainer volumes: -…
0
votes
1 answer

Port forwarding mosquitto on windows

I have set up a mosquitto broker on my laptop (with windows 10) using the first part of this tutorial. I subscribed to a topic and successfully published/received a message on the localhost, as explained in the tutorial. My next goal is to run the…
0
votes
1 answer

How to generate trusted SSL certificate for secure MQTT?

I am a beginner with information security and everything about SSL just goes over my head. Currently I'm trying to get an IoT device(ESP32) to connect to an MQTT broker, broker.losant.com:8883 in my case, over TLS. The device has been flashed with…
Utkarsh Verma
  • 312
  • 2
  • 9
0
votes
1 answer

How to properly install mosquitto (mqtt broker) and how to setup MQTT node-red?

I have been messing around with node-red and some arduino stuff, but now I'm trying to connect to my arduino both to use it to receive and send data content. But I'm having no luck on installing mosquitto on my machine, I've tried multiple different…
1
2