Questions tagged [emqx]
16 questions
2
votes
1 answer
"0/1 nodes are available: pod has unbound immediate PersistentVolumeClaims" error using microk8s
by using the helm chart of emqx operator(https://github.com/emqx/emqx-operator) and going to follow their guide (https://github.com/emqx/emqx-operator/blob/main/docs/en_US/tasks/configure-emqx-persistence.md) on how to set data persistence I get the…

ADD_96
- 25
- 4
1
vote
0 answers
how to configure multiple EMQX exhooks in emqx
In my deployment, there are 1 EMQX server and 2 GRPC server instances (works as exhooks). How can I configure those two exhooks in EMQX server?
EMQX server version is: 4.4.11, all are running as docker containers
Can I load balance the 2 exhooks via…

Amalka Subasinghe
- 156
- 1
- 6
1
vote
1 answer
How can I get SSL certificates from traefik + lets encrypt for client
I'm currently working on securing the connection to my EMQX broker by mqtt and websocket and MySQL database. However it's required for the apps the TLS server certs (I mean that) in format domain.crt, domain.key and domain.ca and I couldn't resolve…

Lenier Villalba
- 11
- 1
1
vote
0 answers
how to terminate TLS mqtt to TCP with Kubernetes ingress-nginx controller. ERROR: Client network socket disconnected before secure TLS connection
I feel like I am close but I am not sure if I am just terminating wrong with the ingress controller and what I am trying is not possible. Or, the certificate is in the way and I need to do something to alleviate the issue.
Another idea I see is…

Christian Matthew
- 4,014
- 4
- 33
- 43
1
vote
1 answer
Haproxy MQTT Connection limiting at just 30,000 connections per mqtt node
I am using haproxy to loadbalance my MQTT brokers cluster. Each MQTT Broker can handle up to 1,00,000 Connections easily. But the problem i am facing with haproxy is that is only handling upto30k connections per node. Whenever if any node is…

Daga Arihant
- 464
- 4
- 19
0
votes
0 answers
EMQX behind Nginx ssl proxy
I have a cluster of three EMQX nodes. Nginx is used as a load balancer. The problem is I can connect the load balancer using WSS protocol and get MQTT topics, however, can't connect the cluster with MQTT.
I read this article…

Rodion Baskakov
- 636
- 4
- 14
0
votes
1 answer
EMQX on docker-multiple device cluster
I'm trying to run EQMX docker image on many different machines and build a cluster with them. I have tried using the static list method and the dns discovery method.
They are under the same network but because docker creates its own network they…

Luis Miguel Silva
- 11
- 2
0
votes
1 answer
How to config and get value in plugin emqx
i'm using emqx v5 to pub,sub, connect, v.v.. Meanwhile, I've been developing my plugin and plugin template from this.
Normally, in emqx-plugin-template.erl, i declare my constant like this
and i can use it from all funtion in this file. But now i…

Nguyễn Hoàng Anh
- 1
- 1
0
votes
0 answers
Cannot connect to Mqtt Broker from .Net client running in Windows Service
I have created a Mqtt.Net Windows Service in C#, using Framework 4.6.1.
The service on my local Win 10 box works perfectly, publishing/subscribing to messages to/from the EMQX Broker.
However once I deploy my x64 release version to another box,…

bob.mazzo
- 5,183
- 23
- 80
- 149
0
votes
3 answers
Cannot to EMQX Cloud Broker via unsecure Web Sockets - secure ws works
I'm using Angular 14 and the ngx-mqtt front-end lib.
Here's my connection string which works fine:
getEmqxCloudConnection(): IMqttServiceOptions {
return {
hostname: 'xx.xx.xx.182',
port: 8083,
path: '/mqtt',
…

bob.mazzo
- 5,183
- 23
- 80
- 149
0
votes
0 answers
AttributeError: 'NoneType' object has no attribute 'recv'
I'm working on a Streamlit app with a real-time wordcloud dashboard. The data that will be used is from the Audio Classification app, whereas the prediction data is published in MQTTX. Now that the Audio Classification app and the MQTTX are already…

Lost Soul
- 61
- 5
0
votes
1 answer
SSL termination for Kubernetes NGINX Ingress load balancer exposing a EMQX broker in GCP
I am currently trying to do a SSL termination for a EMQX Broker implemented in GKE.
The implementation of the EMQX broker exposed by a NGINX Ingress L4 load balancer was successful. I am able to display the dashboard and connect to the broker…

Orlo
- 11
- 1
0
votes
1 answer
How to fix following error when enabling emqx exhook
Im using EMQX 4.4.11 and trying to add a hook following this https://github.com/emqx/emqx-extension-java-sdk
When I start the plugin it gives following error
022-12-15T09:14:32.374558+05:30 [error] [ExHook Svr] CALL…

Amalka Subasinghe
- 156
- 1
- 6
0
votes
0 answers
MQTT Connectivity issue - Message Expiry Interval
I have been encountering an issue for a long time but I haven't found any solution yet, despite reading the protocol version 5 standard and the emqx documentation.
I want to publish messages with a time limit to simulate a situation where my device…

DanielTal
- 21
- 1
0
votes
1 answer
Traefik problem setting up an MQTT broker + TLS + LETSENCRYPT certificate
I have been trying to get my mqtt + TLS broker behind Traefik to work for hours but without convincing results.
The broker's administration web server works perfectly in https with letsencrypt but I can't produce the equivalent with the MQTT…