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

RedisCache: Uncaught Ready Check Exception #2530

Closed
hollsteinm opened this issue Apr 4, 2019 · 1 comment
Closed

RedisCache: Uncaught Ready Check Exception #2530

hollsteinm opened this issue Apr 4, 2019 · 1 comment

Comments

@hollsteinm
Copy link

When given default configuration values for RedisCache against a Redis server requiring auth, the NOAUTH error event results in an unhandled exception after an INFO check (done internally by the library).

There is no event subscriber in the RedisCache class to enable a graceful handler for this error check.

The current workaround is to set the redis configuration for no_ready_check to true. Then wrap all cache methods in try catch blocks to handle NOAUTH errors.

@abernix
Copy link
Member

abernix commented Jul 9, 2019

We've recently updated the Redis package in #1770, which replaced the underlying Redis library with a more versatile option. If this is still a problem with the new package, please open a new issue with a runnable reproduction — either on CodeSandbox or a GitHub repository that can be cloned and npm started.

@abernix abernix closed this as completed Jul 9, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants