brndnl0
Forum Replies Created
-
Forum: Plugins
In reply to: [CrowdSec] Redis user:password issues?Can confirm that is now working perfectly, thanks!
Forum: Plugins
In reply to: [CrowdSec] Redis user:password issues?No worries, thanks for your help.
And yes re: last post I edited a typo after posting and it was flagged for moderation, seems to be public now.
Looking forward to the update!
Forum: Plugins
In reply to: [CrowdSec] Redis user:password issues?Thanks for getting back.
So as per the previous issue post I have been testing this without any special characters in the username or password. I’m also testing each user with redis-cli auth command and they work fine, as well as with other plugins.
When testing DSN using
redis:user:pass@localhost:6379
orredis:user:[email protected]:6379
I get the below message:There was an error while testing new DSN (redis:test:test@localhost:6379): Error when creating Redis cache adapter:Redis connection failed: php_network_getaddresses: getaddrinfo for localhost:6379 failed: Name or service not known
I’ve also checked logs –
debug.log
just prints the config without any errors.prod.log
will only show errors if I don’t add a password for the default user (ie.redis://pass@localhost:6379
orredis://defaultuser:pass@localhost:6379
) as it seems to acceptredis://localhost:6379
as a valid endpoint and will give the impression it is working but will quickly fill the logs withNOAUTH
messages – not sure if this is a bug?I’ve noticed the server I’m working on has a fairly old version of Redis (6.0.16) – is this potentially incompatible with the Symfony adapter?
Thanks again for your help.
- This reply was modified 5 months, 2 weeks ago by brndnl0.
Forum: Plugins
In reply to: [CrowdSec] Redis user:password issues?Just to add – I seem to be able to use redis:user:pass@?host[localhost:6379], but only with default redis user.