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

Uncaught exception 'RedisException' with message 'Connection timed out' #226

Closed
mathieuhays opened this issue Oct 18, 2018 · 1 comment · Fixed by #265
Closed

Uncaught exception 'RedisException' with message 'Connection timed out' #226

mathieuhays opened this issue Oct 18, 2018 · 1 comment · Fixed by #265
Labels
Milestone

Comments

@mathieuhays
Copy link
Contributor

Hi, I found the following error in my logs last night:

RedisException: Uncaught exception 'RedisException' with message 'Connection timed out' 
in /home/example/example.org/releases/20181017151200/content/plugins/wp-redis/object-cache.php:1105
in Redis::connect called at /home/example/example.org/releases/20181017151200/content/plugins/wp-redis/object-cache.php (1105)
in WP_Object_Cache::prepare_client_connection called at /home/example/example.org/releases/20181017151200/content/plugins/wp-redis/object-cache.php (1004)
in WP_Object_Cache::_connect_redis called at /home/example/example.org/releases/20181017151200/content/plugins/wp-redis/object-cache.php (1325)
in WP_Object_Cache::__construct called at /home/example/example.org/releases/20181017151200/content/plugins/wp-redis/object-cache.php (155)
in wp_cache_init called at /home/example/example.org/releases/20181017151200/wp/wp-includes/load.php (516)
in wp_start_object_cache called at /home/example/example.org/releases/20181017151200/wp/wp-settings.php (113)
in require_once called at /home/example/example.org/releases/20181017151200/wp-config.php (292)
in require_once called at /home/example/example.org/releases/20181017151200/wp/wp-load.php (42)
in require_once called at /home/example/example.org/releases/20181017151200/wp/wp-admin/admin-ajax.php (22)

The exception happens in prepare_client_connection, should it be intercepted in the same fashion as perform_client_connection ones are?

Thanks

@danielbachhuber
Copy link
Contributor

Hi @mathieuhays,

Thanks for the report! And my apologies for the delayed reply.

The exception happens in prepare_client_connection, should it be intercepted in the same fashion as perform_client_connection ones are?

Yep, I think this makes sense. Want to submit a pull request for it?

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

Successfully merging a pull request may close this issue.

2 participants