Comments (5)
If you don't want clients to have sessions, you may set clean_start = true and Session-Expiry-Interval
to 0, when using MQTT protocol v5, or just clean start = true when using older MQTT protocols:
https://docs.emqx.com/en/enterprise/v5.3/deploy/cluster/introduction.html#session-across-nodes
from emqx.
Hi @TxMat .
Do you perhaps mean that you expected "Connections" and "Live Connections" to be the same value? For example, from your screenshots, did you expect the "Connections" field in the dashboard overview to display 5?
from emqx.
Hi,
In a way yes, but I am a bit confused on what to expect because 2 of the core nodes were also connected to the Load Balancer and didn't suffer the same bug (or feature ?). Also the fact that sometimes the "connection" value decrements on a client disconnect and sometimes not is adding to the confusion
from emqx.
"All Connections" in the dashboard include also persistent sessions (i.e., clean start = false), even if the clients are disconnected.
Does "Live Connection" match what you expect?
from emqx.
Oh okay thanks for the clarification, in that case how should I handle disconnection for the client to be "removed" from the persistent session ? I thought that not making a clean start resumes the current session if they were one or creates a new one if none was found.
Yes the live connection value is working as expected.
from emqx.
Related Issues (20)
- crash logs HOT 1
- EMQX docker environment variables of dashboard default username and password ignores `#` and its following characters. HOT 2
- server_keepalive ineffective HOT 1
- emqx使用static集群报连接 HOT 3
- emqx 5.3.2 with emqx-operator won't start on k8s HOT 5
- when the etcd cluster down for 1-2 minutes, then recover, emqx experiences an exception. and cannot recover HOT 1
- When a session using shared subscription is expired, offline messages are not redistributed HOT 6
- emqx重启后,网关exproto接入认证中保存的用户管理相关的数据丢失
- EMQX v5.4.1 - Connector configuration (bridge egress): missing config. options? HOT 10
- Action/Bridge/Connector Config Breaks in > 5.3.0 HOT 9
- User is able to publish/subscribe to the topic that they not allow when they subscribe '#' topic. HOT 12
- Starting MQTT on Neuron fails | MQTT Conversion
- Static Seed Auto Discovery Seems Unstable in Web Dashboard HOT 9
- Very very Buggest broker! HOT 1
- gen_rpc error on ipv6 only environment HOT 6
- Is it necessary to provide map_get and mput functions? HOT 4
- Rule Engine’s FOREACH cannot handle JSON arrays directly
- Function `map_put/3` in the rule engine cannot handle Payload field directly
- Excessive memory spike after a MQTT client publishes a large payload (e.g. ~100mb), causing broker crash HOT 39
- When I use non-existent variables in MQTT bridge actions, unexpected_event errors will occur
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emqx.