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

Gracefully fail when RedisStore breaks #541

Closed
jclusso opened this issue Sep 14, 2022 · 3 comments
Closed

Gracefully fail when RedisStore breaks #541

jclusso opened this issue Sep 14, 2022 · 3 comments

Comments

@jclusso
Copy link

jclusso commented Sep 14, 2022

We recently had an issue with our Redis database. Since we have this enabled for admins, our admin users were having issues while the rest of our application continued to work. Is there a way to rack mini profiler gracefully disable itself or something if there is an issue connecting to the RedisStore?

@gmcgibbon
Copy link
Contributor

Can you provide a stacktrace and explain what exactly isn't working? There is error handling when the storage mechanism fails:

rescue Exception => e

so it would be nice to know what is happening, and what you're expecting to happen. Thanks!

@jclusso
Copy link
Author

jclusso commented Feb 9, 2023

Unfortunatly it's been too long since it happened so I wouldn't have anything at this point. If something comes up in the future I'll reopen.

@jclusso jclusso closed this as completed Feb 9, 2023
@rbclark
Copy link

rbclark commented Jun 6, 2024

I just ran into this same issue, when the profiler breaks the error is as follows:

Connection refused - connect(2) for 127.0.0.1:6379 (redis://localhost:6379/0) (Redis::CannotConnectError)

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

3 participants