Questions tagged [mqtt]
31 questions
8
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
- 321
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:
-…
3
votes
2 answers
How to restart a frozen 4G PoE antenna programmatically
I live in an isolated house, where the only Internet access is thru a telephone operator. So I have an antenna (Zyxel 4G LTE-A Outdoor Router,PoE LTE7460), and thanks to the (5G!) service and an unlimited data-plan subscrition, I enjoy quite a good…
MariusMatutiae
- 48,517
- 12
- 86
- 136
1
vote
0 answers
How can I redirect MQTTS traffic?
I have an MQTTS client that cannot communicate (due to new company policies) directly with the cloud. I can only change some client settings via a webpage and do not have access to the server. For this reason, I thought of creating a kind of…
Ana Maria
- 301
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
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
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
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 :…
user3105533
- 21
- 2
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
0
votes
0 answers
Mosquitto MQTT broker log message parsing
I need help on parsing the mosquitto mqtt broker log message.
parsing message: 2024-11-15T11:23:03: New connection from 172.17.0.2:41779 on port 1883.
the connection match is : None
the disconnection match is : None
parsed data received is :…
0
votes
0 answers
Windows and docker can't connect to a spesific static custom IP address
i am using mosquitto inside docker to act as MQTT server and also the MQTT broker. The docker successfully create the containers for the mosquitto. I follow these step to create the container.
D:\Coding\MQTT\mosquitto>docker network create…
0
votes
0 answers
Running mosquitto MQTT broker on a subdomain on my home server
I own my own domain name E.G. website.com I have a mosquitto MQTT broker running on a Windows 10 machine. I have forwarded port 1883 and it's currently running just as expected if I use my public IP address as the host E.G. 12.345.678:1883. When I…
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