caddy-tlsredis icon indicating copy to clipboard operation
caddy-tlsredis copied to clipboard

How to support caddy cluster?

Open jordn opened this issue 3 years ago • 4 comments

I have this running against a redis cluster on AWS (MemoryDB).

I've over time, gotten these MOVED 9783 type errors, which I beleive is because i'm not connecting to redis as a cluster.

Is there a way to connect in cluster mode with the module? I've of course now fully read the README, and despite the name

Caddy Cluster / Certmagic TLS cluster support for Redis I do see the note For now, this will support redis as single instance, or with replica, but NOT the cluster.

Thanks - this and Caddy are great software.

jordn avatar Feb 09 '22 13:02 jordn

I'm curious about this, too. I'd very much like to use this with a managed (cluster) Redis database, but don't totally understand what issues may come up when doing so (it seems to work fine in development).

bryanbuchanan avatar Mar 01 '22 21:03 bryanbuchanan

haven't tried in redis cluster yet, also it will need some change in config and code. but thanks for the input.

gamalan avatar Mar 01 '22 22:03 gamalan

Is there anything I can do to help? I don't know Go, but can find a little budget to toss toward cluster support.

bryanbuchanan avatar Mar 02 '22 15:03 bryanbuchanan

@jordn Do you happen to know what the user sees when a 'MOVED' error happens? Does the site appear to have an invalid cert?

bryanbuchanan avatar Mar 02 '22 19:03 bryanbuchanan