Comments (8)
Everything works! Thank you so much
from mosquitto-go-auth.
I just pushed a change because the username
option for Mongo wasn't being set. Could you check to see if that fixes your problem by pulling the latest version?
I'll be changing the Mongo driver as mgo
has been unmaintained for a long while. So if your problem remains unfixed with that small change, I should have the new driver running tomorrow or at least some day this week.
from mosquitto-go-auth.
Unfortunately, it doesn't work. The same errors
from mosquitto-go-auth.
The same situation with Redis backend? Can't run it
mqtt_1 | time="2019-06-04T03:24:12Z" level=fatal msg="\nbackends error\n"
I tried different redis versions, with and w/o password, different db id
from mosquitto-go-auth.
Could you give the Redis versions you tried? I ran the tests at work and had no issue with Redis, but maybe my version was too old and I won't be able to check until the morning (it's 00:47 here).
I'll try to finish the Mongo migration and test Redis versions during the day to see if I can get it fixed as soon as possible.
from mosquitto-go-auth.
Latest redis on docker (version 5.0.5) https://hub.docker.com/_/redis/
Now it's working on version 4
from mosquitto-go-auth.
Okay, I've just pushed some changes that include the migration to the official mongodb driver. I tried it with and without auth, all tests are passing.
I also tried and ran tests with and without auth against Redis 5.0.5 and everything worked fine. The error backends error
doesn't have to do with the Redis connection: it's shown when the plugin's conf file provides and invalid backend, e.g., mistyping redis or some other backend.
Could you pull from master and check that both Mongo and Redis work for you? If so, I'll make a release after your confirmation.
from mosquitto-go-auth.
Ok, I will check very soon, thanks!
from mosquitto-go-auth.
Related Issues (20)
- Implementing mosquitto_psk_key_get for certificate whitelisting HOT 8
- JWT backend JS mode not working HOT 1
- How to check if a client is disconnected from the broker HOT 2
- MongoDB is broken in test Docker image HOT 4
- Not authenticating with mysql db
- The plugin cannot be built HOT 1
- Request: Help in setting up Allow/Deny Access Control Rules based on Client ID HOT 4
- TARGETPLATFORM does not include linux/amd64 in Dockerfile HOT 2
- http backend: superuser check is made for every single acl check HOT 6
- Make order of plugin execution configurable
- Update/Fix dependencies with active vulnerabilities HOT 1
- error compiling on raspberry pi HOT 1
- Hasher configuration alway defaults to Base64 HOT 1
- the doc should specify which auth methods support TCP and Websocket connections HOT 1
- Container image on Dockerhub is outdated
- Inconsistent rw Permission Behavior Not Matching Documentation HOT 4
- JWT RS256 public key verification "jwt parse error: key is of invalid type"
- Backend register error: couldn't initialize js backend with error Javascript backend error: missing options: js_acl_script_path.
- Allow for clientId to be passed to postgres GetUser backend password check HOT 4
- jwt no information is sent to the endpoints HOT 15
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 mosquitto-go-auth.