Giter Club home page Giter Club logo

Comments (8)

Stayer avatar Stayer commented on August 22, 2024 1

Everything works! Thank you so much

from mosquitto-go-auth.

iegomez avatar iegomez commented on August 22, 2024

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.

Stayer avatar Stayer commented on August 22, 2024

Unfortunately, it doesn't work. The same errors

from mosquitto-go-auth.

Stayer avatar Stayer commented on August 22, 2024

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.

iegomez avatar iegomez commented on August 22, 2024

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.

Stayer avatar Stayer commented on August 22, 2024

Latest redis on docker (version 5.0.5) https://hub.docker.com/_/redis/
Now it's working on version 4

from mosquitto-go-auth.

iegomez avatar iegomez commented on August 22, 2024

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.

Stayer avatar Stayer commented on August 22, 2024

Ok, I will check very soon, thanks!

from mosquitto-go-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.