Skip to content
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

Better surfacing of underlying Redis connection issues #1012

Open
svix-james opened this issue Jul 19, 2023 · 0 comments
Open

Better surfacing of underlying Redis connection issues #1012

svix-james opened this issue Jul 19, 2023 · 0 comments

Comments

@svix-james
Copy link
Contributor

We've noticed that we don't get meaningful errors when we have underlying connectivity issues to redis instances, e.g., when we're trying to connect to a TLS-enabled cluster with a non-TLS connection. Rather than getting an obvious error, we only see an eventual timeout in trying to get a connection from the underlying connection pool, i.e.:

thread 'main' panicked at 'Error retreiving connection from Redis pool: TimedOut'

Testing directly against a redis::cluster::ClusterConnection instance, we don't have the same problem. Connection errors are immediately surfaced (although the errors in the redis-rs lib are not great here either):

Failed to create initial connections- IoError.

I'm not immediately sure if there's a clean fix here on our end. It could be related to this: djc/bb8#141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant