I’m trying to migrate from Redis to Dragonfly. Plan is on only using it for caching.
I never used any authentication for Redis, and that worked perfectly.
But Dragonfly keeps asking for authentication.
I’m trying to migrate from Redis to Dragonfly. Plan is on only using it for caching.
I never used any authentication for Redis, and that worked perfectly.
But Dragonfly keeps asking for authentication.
redis-cli -s /run/dragonfly/dragonfly.sock
redis /run/dragonfly/dragonfly.sock> keys *
(error) NOAUTH Authentication required.
how did you run dragonfly?
what are the command arguments?
This is my flags file:
--pidfile=/run/dragonfly/dragonfly.pid
--log_dir=/var/www/travelsquare/dragonfly/logs/
--dir=/var/www/travelsquare/dragonfly/data/
--max_log_size=20
--unixsocket=/run/dragonfly/dragonfly.sock
--unixsocketperm=777
--cache_mode=true
--port=0
--maxmemory=4gb
--dbfilename=data
I’m using the binary release from Github. I tried v1.16.1 and v1.16.0, but on my server it keeps asking for authentication.
On my dev environment I installed dragonfly from the AUR, which is also v1.16.1 but built from source. I don’t have any authentication issues here
I can confirm that there is a bug with auth when --port=0
will be fixed in v1.17
Great, thanks! I’ll use a specific port for now then.
fixed in v1.17.0