# \#vernemq-questions

**URL:** https://erlangforums.com/tag/vernemq-questions/198.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Token-based auth\_on\_register webhook works for CONNECT, but ACL from MySQL not applied for SUBSCRIBE/PUBLISH](https://erlangforums.com/t/token-based-auth-on-register-webhook-works-for-connect-but-acl-from-mysql-not-applied-for-subscribe-publish/4965)

<div class="topic-metadata">

**Author:** [@gtran-dev](https://erlangforums.com/u/gtran-dev)\
**Replies:** 3\
**Last updated:** [August 13, 2025, 10:21am UTC](https://erlangforums.com/t/token-based-auth-on-register-webhook-works-for-connect-but-acl-from-mysql-not-applied-for-subscribe-publish/4965 "2025-08-13T10:21:07Z")

</div>

Hello everyone, I’m using VMQ Diversity to authenticate username/password and ACL with the MySQL database. Now I want to improve authentication with the auth\_on\_register webhook. This allows me to enter the token in the…

---

## [VerneMQ SSL Termination issue \`unsupported\_record\_type\` and \`no\_suitable\_signature\_algorithm\` errors](https://erlangforums.com/t/vernemq-ssl-termination-issue-unsupported-record-type-and-no-suitable-signature-algorithm-errors/4463)

<div class="topic-metadata">

**Author:** [@ashtonian](https://erlangforums.com/u/ashtonian)\
**Replies:** 3\
**Last updated:** [February 7, 2025, 9:08pm UTC](https://erlangforums.com/t/vernemq-ssl-termination-issue-unsupported-record-type-and-no-suitable-signature-algorithm-errors/4463 "2025-02-07T21:08:40Z")

</div>

Hello, I’ve set up a vernemq 2.0.1 container and with SSL enabled and I’m facing errors when trying to connect with emqtt\_bench with a user name and password. emqtt\_bench supports tls v1-\> 3 by default. The server logs u…

---

## [VerneMQ 2.0.1 - serverside TLS - bad\_cert,is\_self\_signed](https://erlangforums.com/t/vernemq-2-0-1-serverside-tls-bad-cert-is-self-signed/3944)

<div class="topic-metadata">

**Author:** [@fzctn](https://erlangforums.com/u/fzctn)\
**Replies:** 4\
**Last updated:** [August 27, 2024, 11:35am UTC](https://erlangforums.com/t/vernemq-2-0-1-serverside-tls-bad-cert-is-self-signed/3944 "2024-08-27T11:35:04Z")

</div>

Hi, I was trying to configure an instance of VMQ broker (v2.0.1) to work with Server Side TLS by using self-signed certificates. Unfortunately when performing a connection from a client, the handshake fails with reason…

---

## [Latest vernemq not allowing TLS traffic with self signed CA certificate](https://erlangforums.com/t/latest-vernemq-not-allowing-tls-traffic-with-self-signed-ca-certificate/2394)

<div class="topic-metadata">

**Author:** [@Shashikirana](https://erlangforums.com/u/Shashikirana)\
**Replies:** 13\
**Last updated:** [February 2, 2024, 7:05am UTC](https://erlangforums.com/t/latest-vernemq-not-allowing-tls-traffic-with-self-signed-ca-certificate/2394 "2024-02-02T07:05:04Z")

</div>

We were using self signed CA certificate to connect MQTT device with vernemq version ‘1.12.3’ and it works without any issue. But with the same certificate, connectivity is not getting established with latest vernemq ver…

---

## [VerneMQ webhooks with diversity plugin](https://erlangforums.com/t/vernemq-webhooks-with-diversity-plugin/2862)

<div class="topic-metadata">

**Author:** [@MIHAIL33](https://erlangforums.com/u/MIHAIL33)\
**Replies:** 2\
**Last updated:** [September 6, 2023, 12:08pm UTC](https://erlangforums.com/t/vernemq-webhooks-with-diversity-plugin/2862 "2023-09-06T12:08:47Z")

</div>

Hello! I’m using VErneMQ 1.12.1 broker, was successfully able to setup diversity plugin for postgres and tls to connect clients. I need to get the data of clients (username and client\_id) that failed to pass authorizati…

---

## [Vernemq version 'micwy/vernemq:1.12.5-alpine' failed to deploy in kubernetes via helm installation](https://erlangforums.com/t/vernemq-version-micwy-vernemq-1-12-5-alpine-failed-to-deploy-in-kubernetes-via-helm-installation/2536)

<div class="topic-metadata">

**Author:** [@Shashikirana](https://erlangforums.com/u/Shashikirana)\
**Replies:** 1\
**Last updated:** [April 11, 2023, 9:53am UTC](https://erlangforums.com/t/vernemq-version-micwy-vernemq-1-12-5-alpine-failed-to-deploy-in-kubernetes-via-helm-installation/2536 "2023-04-11T09:53:25Z")

</div>

I am trying to deploy vernemq custom build of version ‘‘micwy/vernemq:1.12.5-alpine’’. Below error is thrown during deployment 'Permissions ok: Our pod vernemq-0 belongs to StatefulSet vernemq with 1 replicas Error re…

---

## [Do I need a load balancer in front of vernemq?](https://erlangforums.com/t/do-i-need-a-load-balancer-in-front-of-vernemq/1758)

<div class="topic-metadata">

**Author:** [@emqurious](https://erlangforums.com/u/emqurious)\
**Replies:** 2\
**Last updated:** [August 23, 2022, 7:12am UTC](https://erlangforums.com/t/do-i-need-a-load-balancer-in-front-of-vernemq/1758 "2022-08-23T07:12:27Z")

</div>

Just reading up on vernemq because I’m looking for an MQTT broker that can log to mysql. I’m reading some conflicting things on the net. It kind of sounds like in some way or another, when using vernemq, you don’t need …

---

## [What is the better practice when designing MQTT topics for thousands of devices of multiple customers?](https://erlangforums.com/t/what-is-the-better-practice-when-designing-mqtt-topics-for-thousands-of-devices-of-multiple-customers/1547)

<div class="topic-metadata">

**Author:** [@lmsyx](https://erlangforums.com/u/lmsyx)\
**Replies:** 6\
**Last updated:** [June 27, 2022, 12:56am UTC](https://erlangforums.com/t/what-is-the-better-practice-when-designing-mqtt-topics-for-thousands-of-devices-of-multiple-customers/1547 "2022-06-27T00:56:01Z")

</div>

I am developing a MQTT service and I am confused when I design the topics. I think there are two ways to do this: Topic data/customer-a Payload {"sensor-id":"23aafff2d23659cc97c557909de12f16","type":"demo","value":"h…

---

## [When VerneMQ version 2.0 will be release which supports Windows OS](https://erlangforums.com/t/when-vernemq-version-2-0-will-be-release-which-supports-windows-os/1446)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 6:07am UTC](https://erlangforums.com/t/when-vernemq-version-2-0-will-be-release-which-supports-windows-os/1446 "2022-05-25T06:07:45Z")

</div>

Hi All From #983 it mentioned VerneMQ version 2.0 likely to support Windows. Can you please confirm and when VerneMQ version 2.0 will be release which supports Windows OS. Thank you for your help and support

---

## [Anonymous and registered clients](https://erlangforums.com/t/anonymous-and-registered-clients/1448)

<div class="topic-metadata">

**Author:** [@Ismael](https://erlangforums.com/u/Ismael)\
**Replies:** 4\
**Last updated:** [May 18, 2022, 11:04am UTC](https://erlangforums.com/t/anonymous-and-registered-clients/1448 "2022-05-18T11:04:54Z")

</div>

Is it possible to have both anonymous and registered clients? Per the documentation, if I enable anonymous clients via allow\_anonymous=on, then that completely disables the authentication mechanism. But by looking at th…

---

## [Java MQTT 5.x Client with ssl certificate gets an error Unsupported protocol version when connecting to VerneMQ](https://erlangforums.com/t/java-mqtt-5-x-client-with-ssl-certificate-gets-an-error-unsupported-protocol-version-when-connecting-to-vernemq/1354)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 6\
**Last updated:** [May 13, 2022, 2:57am UTC](https://erlangforums.com/t/java-mqtt-5-x-client-with-ssl-certificate-gets-an-error-unsupported-protocol-version-when-connecting-to-vernemq/1354 "2022-05-13T02:57:29Z")

</div>

|Hi All I am having a problem getting my Java MQTT 5.x Client with ssl certificate gets an error Unsupported protocol version when connecting to VerneMQ I am getting an error of Unsupported protocol version. (132) at…

---

## [Document of how to best setup of VerneMQ Cluster (Docker containers) in production to provide Resilience and Reliability](https://erlangforums.com/t/document-of-how-to-best-setup-of-vernemq-cluster-docker-containers-in-production-to-provide-resilience-and-reliability/1380)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 0\
**Last updated:** [May 2, 2022, 10:44am UTC](https://erlangforums.com/t/document-of-how-to-best-setup-of-vernemq-cluster-docker-containers-in-production-to-provide-resilience-and-reliability/1380 "2022-05-02T10:44:38Z")

</div>

Hi All I have problem find documentation from VerneMQ website on how best setup of VerneMQ Cluster (Docker containers) in production to provide Resilience, Reliability, secure and easy to maintain in production. My com…

---

## [How to configure VerneMQ to use SSL/TLS for transport and secure with Auth using files](https://erlangforums.com/t/how-to-configure-vernemq-to-use-ssl-tls-for-transport-and-secure-with-auth-using-files/1301)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 3\
**Last updated:** [April 11, 2022, 9:17am UTC](https://erlangforums.com/t/how-to-configure-vernemq-to-use-ssl-tls-for-transport-and-secure-with-auth-using-files/1301 "2022-04-11T09:17:19Z")

</div>

Hi All I am able to configure secure VerneMQ secure with Auth using files following reference link Auth using files - VerneMQ Now I would like configure VerneMQ to use SSL/TLS for transport. Thank you for your help an…

---

## [Problem of message no send to consumer in an application where it use an unique ClientId to publish and subscribe](https://erlangforums.com/t/problem-of-message-no-send-to-consumer-in-an-application-where-it-use-an-unique-clientid-to-publish-and-subscribe/1295)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 2\
**Last updated:** [April 8, 2022, 11:27am UTC](https://erlangforums.com/t/problem-of-message-no-send-to-consumer-in-an-application-where-it-use-an-unique-clientid-to-publish-and-subscribe/1295 "2022-04-08T11:27:26Z")

</div>

Hi All I having a problem in my Java eclipse paho Application where it uses an unique ClientId (i.e pubsub219517053241931) to publish (ie, topic = sp/moc/sdd/rt-veh/) and subscribe (topic = sp/moc/req/cfg/#). There is n…

---

## [VerneMQ can't load acl file due to enoent](https://erlangforums.com/t/vernemq-cant-load-acl-file-due-to-enoent/1277)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 5\
**Last updated:** [April 3, 2022, 4:32am UTC](https://erlangforums.com/t/vernemq-cant-load-acl-file-due-to-enoent/1277 "2022-04-03T04:32:59Z")

</div>

Hi All I am running VerneMQ Docker container with authorization and authentication using files from URL Auth using files - VerneMQ My Docker container command is docker run -p 1883:1883 -p 8888:8888 -e "DOCKER\_VERNEMQ…

---

## [Where to download vm-password](https://erlangforums.com/t/where-to-download-vm-password/1273)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 2:16pm UTC](https://erlangforums.com/t/where-to-download-vm-password/1273 "2022-03-30T14:16:18Z")

</div>

Hi All Can you please let me where I can download vm-password. vmq-passwd is a tool for managing password files for the VerneMQ broker Thank you for your help

---

## [Help to secure Vernemq Broker for client to publish and subscribe](https://erlangforums.com/t/help-to-secure-vernemq-broker-for-client-to-publish-and-subscribe/1257)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 0\
**Last updated:** [March 27, 2022, 7:12am UTC](https://erlangforums.com/t/help-to-secure-vernemq-broker-for-client-to-publish-and-subscribe/1257 "2022-03-27T07:12:20Z")

</div>

Hi All We like to secure VerneMQ using authentication and authorization to control client to publish and subscribe Here is our requirement 2000 unique Clients (1900 client run on Edge devices and 100 client on Prem…

---

## [How to configure Vernemq Broker to save messages to persistence storage](https://erlangforums.com/t/how-to-configure-vernemq-broker-to-save-messages-to-persistence-storage/1247)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 4\
**Last updated:** [March 27, 2022, 2:38am UTC](https://erlangforums.com/t/how-to-configure-vernemq-broker-to-save-messages-to-persistence-storage/1247 "2022-03-27T02:38:02Z")

</div>

Can you let please let me know how to configure Vernemq Broker to save VerneMQ broker to persistence storage such as Google LevelDB or MySQL or MongoDB Thank you for your help and Support.

---

## [Using Request and Response will VerneMQ guarantee message delivery even if the VerneMQ Broker is very busy with over million messages been publish](https://erlangforums.com/t/using-request-and-response-will-vernemq-guarantee-message-delivery-even-if-the-vernemq-broker-is-very-busy-with-over-million-messages-been-publish/1195)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 1\
**Last updated:** [March 11, 2022, 8:13am UTC](https://erlangforums.com/t/using-request-and-response-will-vernemq-guarantee-message-delivery-even-if-the-vernemq-broker-is-very-busy-with-over-million-messages-been-publish/1195 "2022-03-11T08:13:22Z")

</div>

Hi All We have 26 crititical applications running on Premise doing Request and Response to another 4000 applications running at Traffic controller at traffic intersections . Can you please let us if we use Request an…

---

## [How to verify VerneMQ is start with MQTT version 5.x enable](https://erlangforums.com/t/how-to-verify-vernemq-is-start-with-mqtt-version-5-x-enable/1081)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 6\
**Last updated:** [February 19, 2022, 11:26am UTC](https://erlangforums.com/t/how-to-verify-vernemq-is-start-with-mqtt-version-5-x-enable/1081 "2022-02-19T11:26:41Z")

</div>

Hi All How to verify VerneMQ is start with MQTT version 5.x enable ? My command to docker run -p 1883:1883 -p 8888:8888 -e LISTENER\_TCP\_ALLOWED\_PROTOCOL\_VERSIONS=3,4,5 -e "DOCKER\_VERNEMQ\_ACCEPT\_EULA=yes" -e "DOCKER\_V…

---

## [Recommendations for reaching 1 million of simultaneous connections](https://erlangforums.com/t/recommendations-for-reaching-1-million-of-simultaneous-connections/1080)

<div class="topic-metadata">

**Author:** [@luneyes](https://erlangforums.com/u/luneyes)\
**Replies:** 3\
**Last updated:** [February 17, 2022, 12:19am UTC](https://erlangforums.com/t/recommendations-for-reaching-1-million-of-simultaneous-connections/1080 "2022-02-17T00:19:39Z")

</div>

So I’m starting a project that will connect about 1 million devices, with the possibility to increase it even more. Each device will have its own topic and each device should receive about one message per day. In order …

---

## [How does Message filtering work in VerneMQ](https://erlangforums.com/t/how-does-message-filtering-work-in-vernemq/1064)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 4\
**Last updated:** [February 15, 2022, 8:32am UTC](https://erlangforums.com/t/how-does-message-filtering-work-in-vernemq/1064 "2022-02-15T08:32:48Z")

</div>

Can you please provide me detail of how Message filtering works in VerneMQ. Thank you for your help

---

## [Maxium topics that can be created for one instance vernemq?](https://erlangforums.com/t/maxium-topics-that-can-be-created-for-one-instance-vernemq/1065)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 1\
**Last updated:** [February 12, 2022, 3:27pm UTC](https://erlangforums.com/t/maxium-topics-that-can-be-created-for-one-instance-vernemq/1065 "2022-02-12T15:27:43Z")

</div>

Can you please let me know what is the maxium topics that can be created for one instance vernemq ? Thank you for your help

---

## [Maxium connections to VerneMQ?](https://erlangforums.com/t/maxium-connections-to-vernemq/1063)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 1\
**Last updated:** [February 12, 2022, 3:25pm UTC](https://erlangforums.com/t/maxium-connections-to-vernemq/1063 "2022-02-12T15:25:56Z")

</div>

I read somewhere that VerneMQ support 10,000 ClientId connect per instance. I assume each connection match a unique ClientId. This correct statement ? Can you please me how to scale if I need to support 20,000 ClientId…

---

## [How to configure VerneMQ Cluster using Docker Container?](https://erlangforums.com/t/how-to-configure-vernemq-cluster-using-docker-container/1033)

<div class="topic-metadata">

**Author:** [@baoquach](https://erlangforums.com/u/baoquach)\
**Replies:** 2\
**Last updated:** [February 12, 2022, 6:28am UTC](https://erlangforums.com/t/how-to-configure-vernemq-cluster-using-docker-container/1033 "2022-02-12T06:28:32Z")

</div>

Hi All I am having problem configuring VerneMQ Cluster using Docker Container. Here my environment setup Two virtual servers of IP 10.122.47.63 and 10.222.47.64 Docker version 20.10.12 has been installed on virt…

---

## [Recommendations for exporting logs to a cold storage](https://erlangforums.com/t/recommendations-for-exporting-logs-to-a-cold-storage/985)

<div class="topic-metadata">

**Author:** [@barustum](https://erlangforums.com/u/barustum)\
**Replies:** 4\
**Last updated:** [January 27, 2022, 8:54pm UTC](https://erlangforums.com/t/recommendations-for-exporting-logs-to-a-cold-storage/985 "2022-01-27T20:54:57Z")

</div>

Hello, I am ramping up on VerneMQ, and I am interested to know whether there is guidance on how to export or route logs going through VerneMQ to a cold storage technology in Azure or AWS. Some sort of a connector maybe?…
