-
Notifications
You must be signed in to change notification settings - Fork 491
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
(m)TLS replication is broken in 2.9.0 #2490
Comments
Have you tried to build kvrocks in your own environment and see if TLS replication works well? |
We use Kvrocks in Kubernetes with the official Docker images |
I tried with the unstable/nightly Docker tag for the master instance: I don't have the error. I then rollbacked to 2.9.0, the error is gone and does not reappear. Really weird. I still have some running instances (on other clusters) where I didn't upgrade to nightly so the problem is still there, do you want me to run some checks/commands in order to get some ideas about why this is happening? Edit: The problem is still here, nevermind |
I built Kvrocks 2.9.0 with the Docker Alpine image from 2.8: no SSL/TLS replication errors. The image is here: https://hub.docker.com/r/hivacruz/kvrocks-alpine/tags |
Search before asking
Version
2.9.0
Minimal reproduce step
When upgrading Kvrocks from 2.8.0 to 2.9.0, we started to get SSL/TLS errors when trying to connect a slave to the master. No problem on replication without TLS.
Both master and slave are on 2.9.0. Rolling back the master to 2.8.0 and keeping the replica on 2.9.0 is working so it is definitely on the "server/master" part.
When both were on 2.9.0, using
redis-cli
on the slave instance to connect to the master was working with the certificates so they are fine:No errors (on replica instance):
Errors (replica instance, see below):
What did you expect to see?
A working (m)TLS replication that either does psync or full synchronization
What did you see instead?
Server (MASTER) :
Client (REPLICA) :
Anything Else?
Is it safe to downgrade to 2.8.0 on instances where I need (m)tls replication? Could it be due to the switch to Debian?
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: