-
Notifications
You must be signed in to change notification settings - Fork 463
[BUG] Unban through bwcli when using redis fails #2315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @LeVraiRoiDHyrule, thank you for opening this Issue. You have a connection issue with your redis server. |
Thanks for your answer. Currently, only my main bunkerweb container can communicate with redis as they are alone in the docker network. Do other containers, like scheduler or autoconf, need to connect to redis too or is all happening through the main container ? |
Do you execute bwcli in the BW container ? |
Yes. But I have just noticed that the error is different if executed in the main bunkerweb container. bunkerweb-main:
Every other bunkerweb container (bunkerweb-scheduler, bunkerweb-autoconf...):
So I guess the error message is not being returned when using a container other than bunkerweb-main. There is more details in bunkerweb-main. I still don't understand why it successfully connects while running and disconnects when using bwcli. I tried deleting redis data and recreating the container, and got the same results. Is there something wrong with my docker compose above ? |
What happened?
Hi,
I am using redis to persist bans (bw version 1.6.2-rc2). It is configured as such :
bunkerweb-main and bunkerweb-ui are also in the bunkerweb-redis docker network.
Bunkerweb-main does not throw any error when trying to connect to redis at container start. So it is working.
But when I try to do bwcli unban XXXXXXX to unban an ip, I am having the following error:
The unban does not work, the ip is still banned.
Would you have an idea why ?
Thanks in advance for any answer.
How to reproduce?
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.6.2-rc2
What integration are you using?
Docker
Linux distribution (if applicable)
OpenMediaVault
Removed private data
Code of Conduct
The text was updated successfully, but these errors were encountered: