Questions tagged [hivemq]

HiveMQ is an enterprise MQTT broker for M2M and IoT. Built for scalability, easy management, and security, it seamlessly integrates with existing systems. With HiveMQ, organizations can confidently manage their M2M and IoT communications.

HiveMQ is a MQTT broker designed for enterprises in the age of Machine-to-Machine communication (M2M) and the Internet of Things (IoT).

The latest LTS version is HiveMQ 4.9.5, released on 2023-03-07. Homepage at http://www.hivemq.com/.

163 questions
1
vote
1 answer

Unable to connect to moquette in aws ec2 instance

I am new to MQTT and have been trying to implement MQTT MOquette on AWS EC2, i tried the configuration and installation of broker on my machine and was able to connect and test it from client, however when i do the same from Aws EC2 instance i can…
Kris Droid
  • 49
  • 1
  • 6
1
vote
2 answers

bridging mqtt brokers hivemq and mosquitto

I'm trying to bridge two MQTT brokers on the same system, HiveMQ and Mosquitto. HiveMQ is working on port 1884 and Mosquitto is running on 1883. However when I use the mosquitto_pub command to publish to the mosquitto broker at port 1883, it does…
avelampudi
  • 316
  • 2
  • 6
  • 16
1
vote
0 answers

mqtt 3.1.1 utilizing persistent sessions for 'unsubscribed' subscribers

Evaluating the MQTT protocol as a chat service to satisfy 1-1, 1-n, n-n communications for clients that may have limited connectivity. The current design is for every client to by default subscribe to a channel based on their unique id, e.g.…
Jimmy3Sticks
  • 172
  • 1
  • 9
1
vote
1 answer

TCP socket connection to lokal broker

Im trying to connect to a small server(broker), HiveMQ, with a TCP socket connection. When I ping the server via cmd I get the message: TCP 0.0.0.0:1883 0.0.0.0:0 LISTENING The connection code in C is like this: addr.sin_family =…
Ouizzo
  • 5
  • 5
1
vote
1 answer

How does HiveMQ Persistence work?

What options does HiveMQ give for persistence features ? Is is file based by default? Can we change it to a database if we want ? I tried to find something on net but all i could come up with was this MQTT-SQL-Database Plugin which uses MySQL db to…
takirala
  • 1,891
  • 2
  • 16
  • 36
1
vote
2 answers

What are the information(Ex: device ID, MAC etc...) will be sent to MQTT server in the background when we create a connection?

Can we block a device from connecting to a MQTT server? Can we block a device from Subscribing to a topic? Do we have any device registration on MQTT server. So that We can only allow known devices? If we have some registration mechanism, Can we do…
Sasikumar
  • 675
  • 2
  • 7
  • 17
1
vote
1 answer

Websocket connection error with HiveMQ 2.1.0 + Eclipse Paho javascript mqttws31.js

I am facing the below error when executing the mqttws31.js as part of a HTML file on Google Chrome. HiveMQ was used as MQTT broker, logs are as below 2014-10-28 14:46:45,043 INFO - HiveMQ home directory: E:\hivemq-2.1.0 2014-10-28 14:46:45,065…
Sudhi
  • 229
  • 3
  • 4
  • 13
1
vote
2 answers

HiveMQ error when I run it: Could not bind to all interfaces and port 1883, because it is already in use

I'm developing an MQTT based application using HiveMQ, an enterprise broker. I installed it as per the instructions here- http://www.hivemq.com/docs/hivemq/2.0.1/ When I run it using ./bin/run.sh, the server connection is immediately closed due to…
sbhatla
  • 1,040
  • 2
  • 22
  • 34
0
votes
1 answer

Support for shared subscription in EdgeXFoundry Jakarta 2.1 release

Can someone please provide insight into the support for shared subscriptions in EdgexFoundry's Jakarta 2.1 release. As indicated in this documentation, shared subscription feature appears to be exclusive to MQTT 5. But I was able to achieve shared…
0
votes
1 answer

"NO_CIPHERS_AVAILABLE", Unable to get flask_mqtt to work with hiveMQ cloud based mqtt broker (TLS)

I am trying to get my flask application to communicate with my HiveMQ Broker Cluster. The cluster only takes TLS communication through port 8883. As I understand it, I would require some certificate files in order to be able to do this, but all…
paxel
  • 13
  • 4
0
votes
0 answers

receiving lots of verbose in serial port using PubSubClient.h when connecting and publishing MQTT msg

I've successfully made communication with MQTT broker (HiveMQ cloud) using the Arduino library PubSubClient.h in an esp8266 client. However, I get a lot of annoying things in the serial console as shown below 12:10:36.856 - :rdi 31, 5 12:10:36.902 -…
0
votes
1 answer

Python and MQTT foreverloop error ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2423)

I am having my main program subscribe to a topic that will receive messages every 15 seconds. I have my connection being made, and then foreverloop running. For additional information, I am currently using HiveMq Cloud as my broker, and paho-mqtt…
0
votes
0 answers

HiveMQ client fails authentication

I'm working on android app where I need to communicate over MQTT, so for this one I've chose HiveMQ. The thing is that sometimes it will connect straight away, but there are cases when I'll receive a lot of errors saying NOT_AUTHORIZED or it won't…
sebi.dan
  • 1
  • 1
0
votes
1 answer

Hive mq client connection lost

after connecting normally to my mqtt broker with ssl confing i keep getting a connection lost the moment i try to subscribe with a message : fixed header flags must be 0 but were 2 this is in my hive mq android client which works fine with a…
joghm
  • 569
  • 3
  • 20
0
votes
1 answer

How to subscribe to multiple mqtt topics in android hive MQ client

i can't seem to find a way to subscribe to more than just one topic using the .topicfilter("topic/test) . anybody got an idea how to make it subscribe to list of topics ?
joghm
  • 569
  • 3
  • 20