Questions tagged [mqtt]

27 questions
6
votes
2 answers

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
  • 141
  • 1
  • 1
  • 4
4
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: -…
florence anem
  • 41
  • 1
  • 2
1
vote
2 answers

Mosquitto MQTT publishing error

I try to publish a message like so: mosquitto_pub -h 7.18.13.43 -t "Home/#" -m "test bulb1" -v -u user1 -P md CError: Invalid publish topic 'Home/#', does it contain '+' or '#'? mosquitto_pub -h 7.18.13.43 -t # -m "test bulb1" -u user1 -P…
HH_Poster
  • 13
  • 2
1
vote
1 answer

Proxying FTP Over MQTT

Considering we have established a secure connection via MQTT (Let's say to AWS-IoT /Azure etc) can we then use it to tunnel FTP server running on Embedded Device (For remote access)? If it's possible, would it work with the raw ftp data being sent…
Ukhan
  • 11
  • 1
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
  • 4
0
votes
0 answers

Rund Docker with options from Docker Desktop

I can run docker image with option -c with command: docker run -it -p 1883:1883 -p 9001:9001 eclipse-mosquitto mosquitto -c /mosquitto-no-auth.conf It runs fine, but how to run image with option -c from Docker Desktop ?
vico
  • 2,379
  • 12
  • 39
  • 60
0
votes
2 answers

My OpenSSL certificates fail with Mosquitto

I am trying to automate the creation of certificates, using the steps from a StackOverflow answer here. These are the commands I'm trying: openssl genrsa -des3 -out ca.key 2048 openssl req -new -key ca.key -out ca-cert-request.csr -sha256 openssl…
Adam Howell
  • 103
  • 4
0
votes
1 answer

Accessing MQTT node red on raspberry pi outside the local network

I want to send some data from a SIM808 to a MQTT broker, which is node red installed on my raspberry pi 4. How can I get the node red to receive and send MQTT outside the local network? I've seen a lot of tutorials but they are about purchasing a…
0
votes
2 answers

Can't connect to MQTT broker

I trying to connect an esp32 (client) to a raspberry pi (broker), using MQTT, but running into difficulties. On the broker side I have mosquitto (2.0.11) running. From the pi, i can publish and subscribe without issue. In three terminals i…
MorrisseyJ
  • 121
  • 1
  • 2
  • 6
0
votes
1 answer

Sending message from ActiveMQ to topic subscribers in docker container

I have an application in a docker container which is a mqtt-client. I have installed in host (windows) ActiveMQ-Broker which has an interface of mqtt: 0.0.0.1:1549 (Actually, I can call winwows-PC as super-host. Docker containers are run in…
Mert Mertce
  • 101
  • 2
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
1
2