gamalan / caddy-tlsredis

Redis Storage using for Caddy TLS Data
Apache License 2.0
94 stars 31 forks source link

How to support caddy cluster? #31

Open jordn opened 2 years ago

jordn commented 2 years ago

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.

bryanbuchanan commented 2 years ago

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).

gamalan commented 2 years ago

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

bryanbuchanan commented 2 years ago

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 commented 2 years ago

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