Giter VIP home page Giter VIP logo

Comments (6)

mshedsilegx avatar mshedsilegx commented on July 26, 2024

The issue was due to the new redis library.
export REDIS_URL="redis://default:[email protected]:6379/0"

The auth predicate does not work anymore, probably due to the ACL change in redis 6.x

from ots.

mshedsilegx avatar mshedsilegx commented on July 26, 2024

All is good now, so closing.

from ots.

Luzifer avatar Luzifer commented on July 26, 2024

Interesting catch… Still working with redis:5 on my side (in which auth:pass is fine)… Is that something the Redis documentation will tell or shall I add this to the readme?

from ots.

mshedsilegx avatar mshedsilegx commented on July 26, 2024

I think we should add to the readme. I had the issue with redis 7.x, unfortunately I do not have redis 6.x. auth:pass did not work anymore with the new golang redis library of OTS (500 error). I had to replace it with default:pass in the REDIS_URL variable.
I am using the following in /etc/redis/redis.conf: requirepass XXXXXXX

from ots.

Luzifer avatar Luzifer commented on July 26, 2024

Interesting… Seems there was a change with Redis 6 which causes this:

// Use the specified Username to authenticate the current connection
// with one of the connections defined in the ACL list when connecting
// to a Redis 6.0 instance, or greater, that is using the Redis ACL system.
Username string

So before it was just auth and the server was happy, now it must be a username known in the ACL system… (Which by default seems to be default if that works for you… 🤔)

from ots.

mshedsilegx avatar mshedsilegx commented on July 26, 2024

Yes, exactly, that was my conclusion too. But it worked fine with the old redis go library.

from ots.

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.