Questions tagged [mqtt-vernemq]

From webpage: VerneMQ is a high-performance, distributed MQTT broker (server). It scales both horizontally (via clustering) and vertically.

Official website: https://vernemq.com/

76 questions
0
votes
1 answer

VerneMQ listener.ssl.use_identity_as_username not working

I have VerneMQ setup with TLS authentication for client and have following configuration in place. DOCKER_VERNEMQ_ACCEPT_EULA = "yes" DOCKER_VERNEMQ_LISTENER__TCP__ALLOWED_PROTOCOL_VERSIONS = "3,4,5" DOCKER_VERNEMQ_ALLOW_ANONYMOUS =…
roy
  • 6,344
  • 24
  • 92
  • 174
0
votes
0 answers

Connection the VerneMQ MQTT failing which is installed on local Windows 10 Docker engine

I got the Docker version - Docker Desktop 4.3.0 (71786) installed on my machine. I am trying to install the VerneMQ on Docker using the following command - docker run -d -p 1883:1883 -e "DOCKER_VERNEMQ_ALLOW_ANONYMOUS=on" -e…
Pratap Singh
  • 563
  • 5
  • 15
0
votes
1 answer

MQTT block specific client from connecting via TLS

I have MQTT (VerneMQ) setup with TLS authentication. Also I have setup frequent pulling CRL (certificate revocation list) from CA (Private). I am able to revoke the specific client certificate to blocking it from connecting to MQTT. There is one…
roy
  • 6,344
  • 24
  • 92
  • 174
0
votes
1 answer

How to include timestamp in logs of VerneMQ

Unhappily, the logs of the vernemq broker do not include a timestamp. Current workaround seems to be to include the timestamp in the message sent to some vernemq topic and then strip it off at the consumer side. This requires changing 2 programs. Is…
OlliP
  • 1,545
  • 11
  • 22
0
votes
1 answer

Is there a way to evict vernemq cached auth_on_register, auth_on_publish, auth_on_subscribe hook data from in memory

Vernemq build : 1.10.4.1+build.76.ref4f0bbab Erlang Version : 22 As per vernemq documents the hook data is stored in in memory cache and is not actively disposed. We have around 360k clients distributed over cluster of 8 nodes. The client id,…
0
votes
1 answer

VerneMQ plugin_chain_exhausted Authentication MySQL

I have a running instance of VerneMQ (cluster of 2 nodes) on Google kubernets and using MySQL (CloudSQL) for Auth. Server accepts connections over TLS It works fine, but after a few days i start seeing this message on the log: can't authenticate…
Leo
  • 1
0
votes
0 answers

VerneMQ cluster auto join on GKE

I'm new in VerneMQ and K8s. I have a working VerneMQ docker image (made from source) deployed with 2 replicas on GKE. They work fine, but i have to manualy connect into one container and ejecute: vmq-admin cluster join…
Leo
  • 1
0
votes
1 answer

Logging in vernemq plugin

I am trying to implement logging on connected users in my vernemq client using erlang. From documentation, I found that this could be bad, due to the scalability of the client and the assumption that there might be a lot of clients connecting and…
0
votes
2 answers

VerneMQ single publish messages lost when client is offline

I am quite new to MQTT and brokers, but I am having an issue with VerneMQ not sending offline messages to clients. Here is my setup. I have a backend written in Python which is using the Paho Eclipse MQTT library's single() method to send messages…
tutiplain
  • 1,427
  • 4
  • 19
  • 37
0
votes
1 answer

VERNEMQ auth using SQL Server

I am trying to design something to authenticate my VERNEMQ mqtt broker clients using a SQL Server backend. I've read about webhooks and can use it but the deal breaker being that it does not support HTTPS. Was wondering if we can make vernemq…
0
votes
1 answer

Clustering vernemq docker containers running on different machines

I was hoping this would be an easy one by just using the below snippet on the second instance's docker-compose.yml file - DOCKER_VERNEMQ_DISCOVERY_NODE= but that doesn't seem to work. Log of the second instance…
Emanuel George Hategan
  • 1,123
  • 1
  • 13
  • 22
0
votes
1 answer

what is the behaviour of VerneMQ(1.10.3 deployed as a container) if there is no clientID is provided by the client during CONNECT?

We would like to understand the behaviour of verneMQ when There is no clientID in Connect request and client provides only registered username,password, keepalive session as 0, connect timeout as 60 X 60 X 1000 How the session is managed by the…
ONRao
  • 11
  • 1
0
votes
2 answers

Send mosquitto messages to vernemq

I have installed VerneMQ and Mosquitto on two different servers and I am trying to send test messages from the Mosquitto server to see if they are received on the VerneMQ server. For simplicity, let's call them: VerneMQ - S1 Mosquitto - S2 On…
alexsnemos
  • 17
  • 1
  • 5
0
votes
0 answers

How to have a bash shell access to a vernemq image through docker?

I am new with vernemq. I want to run vernmq image using docker and then start it on my node, in particular i want then to install Openssl in my vernemq image. I am using ubuntu 18.04. I employ this command: docker run -it erlio/docker-vernemq These…
user6594048
  • 35
  • 1
  • 9
0
votes
1 answer

VerneMQ MySQL authentication

I already have installed vernemq in my cloud server, everything seems running fine. But from any client, it is unable to connect the broker using username/password authentication. The authentication is based on MySQL, the Lua script is running fine.…
Rajen Pal
  • 11
  • 6