Comments (6)
hello, any updates on this?
from emqx-auth-http.
Hi, guys. Thanks for your feedback. I'll implement this feature at v3.2.0
A workaround before v3.2.0 is changing the acl_cache_ttl
of emqx.conf
:
## The time after which an ACL cache entry will be deleted
##
## Value: Duration
## Default: 1 minute
acl_cache_ttl = 1m
from emqx-auth-http.
hello @HJianBo , how to make the cache works? I just tested and find that even when I have the following settings in my emqx.conf
:
## Whether to enable ACL cache.
## If enabled, ACLs roles for each client will be cached in the memory
enable_acl_cache = on
## The maximum count of ACL entries can be cached for a client.
acl_cache_max_size = 32
## The time after which an ACL cache entry will be deleted
acl_cache_ttl = 1m
bridge.aws.queue.mem_cache = on
when I use tcpdump
to see the traffic, I can still see every time when I publish a message, it's sending requests -> /emqx/auth
, /emqx/superuser
, /emqx/acl
.
what I did:
mosquitto_sub -t test -u jiangch1 -P jiangch1
and I use this to publish:
mosquitto_pub -t test -u jiangch1 -P jiangch1 -m test -k 60
Any ideas to make it works?
from emqx-auth-http.
@HJianBo sorry I find that when I use mqtt.js
it's ok, it will just send the auth request the fist time. Cool!
One question, can I know when [email protected]
will be release?
from emqx-auth-http.
Maybe two weeks later. We enhance a numbers of new features, so I can't give a explicit deadline.
If it released I'll mention it here
from emqx-auth-http.
@HJianBo great thanks!
from emqx-auth-http.
Related Issues (20)
- Disable ACL or Auth using docker HOT 3
- Enable passthrough of ws_cookie in acl request HOT 3
- default port 80/443 can't be ignored for version4.2.4 HOT 1
- {emqx_auth_http,{different_server,{emqx_auth_http_app,start,[normal,[]]}}} why? HOT 2
- TLS subject is always 'undefined' HOT 1
- meaning of the %r parameter HOT 1
- Cannot enable only ACL HOT 2
- EMQX HTTP Auth not working with Azure Functions HOT 2
- server_unavaliable error HOT 12
- Combine auth request with ACL for improved performance
- Client password printed in logs in plaintext HOT 1
- GET and POST method simultaneously in auth_http config file
- Problem with Kubernetes-Cluster internal service URLs authentication HOT 1
- Out-dated documentation HOT 1
- Unable to use the plugin when upgrading from 4.2.3 to 4.2.4 HOT 2
- http auth acl custom header
- EMQX HTTP not connecting to service (solved, docs need to be more firm) HOT 1
- Which ip did ipaddr get? HOT 3
- Auth and ACL Auth Api timeouts HOT 1
- Dynamic routing for mutualize broker HOT 3
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-auth-http.