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
0
votes
1 answer

M2Mqtt library with HiveMQ

So i have a hivemq server running on my local machine and I'm trying to get it to where I can connect to the server using the M2Mqtt library in c# over TLS. I followed this guide to create the certs for c#.…
Salvite
  • 137
  • 1
  • 9
0
votes
1 answer

What are the advantages of websocket APIs to middleware?

Some pieces of middleware support websockets natively e.g. HiveMQ: http://www.hivemq.com/mqtt-over-websockets-with-hivemq/. What advantages are conferred to a developer using the websockets API as a first class client to the middleware, rather than…
WilliamMartin
  • 553
  • 5
  • 15
0
votes
1 answer

hivemq illegal state exception

I'm trying to develop a hivemq authentication plugin. I have followed the hivemq guide for creating a project, and I am not doing anything in the plugin itself. I return true immediately. mosquitto_sub -t hey When I try to connect with…
user1589069
0
votes
1 answer

Run hive-mq broker as what user?

I am trying to run the Hive-MQ broker (version 1.4.2) on my ubuntu machine. When I am trying to connect with my MQTT-client which is running on a telematics unit, I get loads of errors, this being one of them: 2013-11-18 11:20:25,510 ERROR -…
0
votes
1 answer

HiveMQ AWS cluster not starting

When trying to set up a HiveMQ (1.4.1) Cluster on AWS (using the bundles examples/cluster.xml file) the server upstart fails with an error: Unable to load class for protocol pbcast.STREAMING_STATE_TRANSFER There's really no more info on why this…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
-1
votes
1 answer

I can`t connect MQTT HiveMQ

I have a react app that I need to connect to control an ESP32. The first thing I thought was to use MQTT (HiveMQ) to communicate with the ESP. The problem is that an error is being returned in loop in my browser console WebSocket connection to…
-1
votes
1 answer

HiveMQ KeepAlive Mechanism not working in Hivemq ce broker or client

I am using hivemq-mqtt-client-1.3.0.jar and creating a hivemq mqtt5 client. I have specified a keep alive time of 60 secs from client side. String id = "1"; Mqtt5ClientBuilder builder = Mqtt5Client.builder() .identifier(id) …
YDev01
  • 1
  • 2
-1
votes
2 answers

Can not be connected to HiveMQ on remote server

I ran my own MQTT Broker on a remote server by HiveMQ. I setup Nginx and the dashboards works Ok on http://104.251.210.224. But I can't connect to it via a publisher or subscriber. Before I connected to HiveMQ sandbox somehow like this…
Alireza Ghaffari
  • 1,004
  • 3
  • 11
  • 24
-1
votes
2 answers

RabbitMQ,Vernemq and HiveMQ - Distribution and HA

I'm trying to pick one up for a project I'm doing. It's utterly unclear from the documentation how does the HA work in all of them except for RabbitMQ, which states that incoming requests will always find their way to the node that originally…
JustAGuy
  • 5,151
  • 11
  • 41
  • 55
-1
votes
1 answer

Is there a better way to get more precise time across threads?

I'm working HiveMQ and I have two clients one each each thread and I have a main thread that starts these two threads. I've been using System.nanoTime() to time both the sending (for one thread) and the receiving (for the other thread) so I can add…
Chigozie A.
  • 335
  • 4
  • 16
-1
votes
2 answers

MQTT publish using URL HIVEMQ

How can I publish to an MQTT topic using a URL. i.e. "http://127.0.0.1/cmnd/power/on" will send "on" to "power" topic. Ps: I am using HiveMQ
-1
votes
1 answer

Exception in thread "main" java.io.IOException: Invalid keystore format at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:658)

I have mycert.crt file and I want to connect to the server using my java code. I am getting titled exception.My code is as follow: final MqttConnectOptions connnOpt = new MqttConnectOptions(); connnOpt.setCleanSession(false); …
Afsar
  • 89
  • 7
-1
votes
1 answer

How HiveMQ Clustering Works on AWS?

In case of AWS, S3-Buckets are used for Auto Discovery. Also, as per the document, “A message only gets forwarded to other cluster nodes if a cluster node is interested in it”. However, I am a bit confused about the message forwarding between nodes…
Sourav
  • 21
  • 3
1 2 3
10
11