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
0 answers

Hive MQ “Invalid handshake response getStatus: 426 Upgrade Required” connecting to AWS

I am trying to connect to an AWS MQTT broker/server using the Hive MQ client library for Android Studio (v1.3.0) with an AWS pre-signed…
0
votes
0 answers

WebSocket connection to hivemq broker failed when using MQTT.js

I am developing a NextJS web app for my project and I have this code: import { connect, AsyncMqttClient } from "async-mqtt"; const Page = () => { let [client, setClient] = useState(null); useEffect(() => { if (client)…
Pro Poop
  • 357
  • 5
  • 14
0
votes
0 answers

autoStatup = false not respected for spring cloud stream producer

I'm using Spring Cloud Stream "2021.0.2" with Spring Boot "2.6.7" and having trouble disabling a producer from starting up automatically. Seems to work fine for consumer (checked actuator/bindings endpoint). spring: kafka: bootstrap-servers:…
0
votes
1 answer

Android: Failed to open a socket

i wanted to create a simple program that sends a simple message using the MQTT protocol and specifically the HiveMQ library in Android , here is what i have package com.example.mqtt; import static java.nio.charset.StandardCharsets.UTF_8; import…
alemomo
  • 131
  • 1
  • 1
  • 6
0
votes
1 answer

Do we need a separate Kubernetes cluster for HiveMQ?

we run a AKS Cluster with about 35 Microservices and now need a HiveMQ. We are unsure on how to proceed. We could just deploy a HiveMQ on our AKS cluster over helm as we did on the dev cluster. But we are unsure if this is a good idea. Our concerns…
Robin
  • 89
  • 1
  • 8
0
votes
1 answer

HiveMQ Java library fails to automatically reconnect to broker

I'm using the HiveMQ library in my Java Spring application to connect to a Mosquitto instance as I find it more user-friendly compared to the Paho client. But something is going wrong with the automatic reconnection. From time to time the connection…
Frank
  • 5,741
  • 4
  • 28
  • 49
0
votes
1 answer

HiveMQ Mqtt Client

I am trying to connect to our local MQTT broker. I create client: Mqtt5AsyncClient client = Mqtt5Client.builder() .serverHost(connectionConfig.getIp()) .serverPort(1883) .automaticReconnectWithDefaultConfig() …
Jure
  • 799
  • 6
  • 25
0
votes
1 answer

MQTT5 message is lost on HiveMQ Cloud when correlationData is added

In a Java server application, we want to use the correlationData, which is part of MQTT5, so we can use this in the reply message to link and validate it when the reply is received. I'm using the hivemq-mqtt-client library 1.2.2 and connecting to…
Frank
  • 5,741
  • 4
  • 28
  • 49
0
votes
0 answers

MQTT with HiveMQ seems to reset config limits to default if disconnecting abruptly

I have a hivemq broker running a cluster with 2 nodes and a console application that connects and sends and receives messages. I've changed the configuration so that it can queue more than 1000 messages and originally when I start the service it…
Kieran
  • 612
  • 6
  • 22
0
votes
1 answer

MQTT topic name design to handle multiple "same" things

In my current IOT project. I will be using multiple ESP8266s (3) to send data and receive actions. Each MCU will be in charge of monitoring different aquariums around the house. I have thought of structuring my topics like the following: "Data"…
Johnny boy
  • 143
  • 2
  • 11
0
votes
1 answer

MQTT Topic length

As I intend to use an MQTT Topic of length 26 characters to publish, it does not publish to the broker. But I can use an MQTT Topic of length 25 characters to publish by reducing one character from the same topic. Is there a specific limitation on…
Achintha
  • 1
  • 2
0
votes
1 answer

How to get client username in PublishInboundInterceptor in HiveMQ

IN PublishInboundInterceptor, I can get client id, then I guess I can get username use ClientService, but I failed. Is there a way to get client username and password?
蔡中文
  • 27
  • 4
0
votes
1 answer

HiveMQ-Cloud get ssl fingerprint / cert for MQTT

I'm trying to use the hivemq-Cloud service (https://console.hivemq.cloud/). Unfortunately I'm forced to use the ssl option and I can't figure out how I can download the public key / fingerprint. Somebody familiar with the service? I created a…
Meeresgott
  • 431
  • 3
  • 17
0
votes
1 answer

How to use HiveMQ over websocket on Android

I am relatively new to MQTT and am trying to connect via a websocket in my Android app. HiveMQ and Paho seem to be the most commonly used libraries, so I'll try my luck with those for now. Unfortunately I got right at the first library and would…
Thomas Cirksena
  • 717
  • 2
  • 8
  • 28
0
votes
0 answers

MQTT connection error in Android Studio app

So, I am trying to build an app using Android Studio which connects to a HiveMQ Broker on a button click. This is the project code blocs: app-build.gradle In this section I added the "repositories" and the four last lines in the "dependencies"…
user29
  • 9
  • 4