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

transient cache flush error #114

Open
ericknappe opened this issue Dec 8, 2021 · 1 comment
Open

transient cache flush error #114

ericknappe opened this issue Dec 8, 2021 · 1 comment

Comments

@ericknappe
Copy link

No description provided.

@ericknappe
Copy link
Author

I'm seeing cache errors on prod since the upgrade. I'll get 3 to 4 errors in a row and then the cache flush will work.

ubuntu@hcommons:~/utils/core_utils$ ~/dev-scripts/commons/all_networks_wp.bash cache flush
Predis\Connection\ConnectionException: Error while reading line from the server. [tcp://hc-prod-redis.nxxxqb.ng.0001.use1.cache.amazonaws.com:6379] in /srv/www/commons/current/web/app/plugins/redis-cache/dependencies/predis/predis/src/Connection/AbstractConnection.php:155
Stack trace:
#0 /srv/www/commons/current/web/app/plugins/redis-cache/dependencies/predis/predis/src/Connection/StreamConnection.php(314): Predis\Connection\AbstractConnection->onConnectionError('Error while rea...')
#1 /srv/www/commons/current/web/app/plugins/redis-cache/dependencies/predis/predis/src/Connection/AbstractConnection.php(120): Predis\Connection\StreamConnection->read()
#2 /srv/www/commons/current/web/app/plugins/redis-cache/dependencies/predis/predis/src/Connection/AbstractConnection.php(112): Predis\Connection\AbstractConnection->readResponse(Object(Predis\Command\ServerFlushDatabase))
#3 /srv/www/commons/current/web/app/plugins/redis-cache/dependencies/predis/predis/src/Client.php(331): Predis\Connection\AbstractConnection->executeCommand(Object(Predis\Command\ServerFlushDatabase))
#4 /srv/www/commons/current/web/app/plugins/redis-cache/dependencies/predis/predis/src/Client.php(314): Predis\Client->executeCommand(Object(Predis\Command\ServerFlushDatabase))
#5 /srv/www/commons/current/web/app/plugins/redis-cache/includes/object-cache.php(1231): Predis\Client->__call('flushdb', Array)
#6 /srv/www/commons/current/web/app/plugins/redis-cache/includes/object-cache.php(94): WP_Object_Cache->flush(0)
#7 phar:///usr/local/bin/wp/vendor/wp-cli/cache-command/src/Cache_Command.php(158): wp_cache_flush()
#8 [internal function]: Cache_Command->flush(Array, Array)
#9 phar:///usr/local/bin/wp/php/WP_CLI/Dispatcher/CommandFactory.php(89): call_user_func(Array, Array, Array)
#10 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}(Array, Array)
#11 phar:///usr/local/bin/wp/php/WP_CLI/Dispatcher/Subcommand.php(425): call_user_func(Object(Closure), Array, Array)
#12 phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(360): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
#13 phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(383): WP_CLI\Runner->run_command(Array, Array)
#14 phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(1109): WP_CLI\Runner->_run_command_and_exit()
#15 phar:///usr/local/bin/wp/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
#16 phar:///usr/local/bin/wp/php/bootstrap.php(75): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#17 phar:///usr/local/bin/wp/php/wp-cli.php(23): WP_CLI\bootstrap()
#18 phar:///usr/local/bin/wp/php/boot-phar.php(8): include('phar:///usr/loc...')
#19 /usr/local/bin/wp(4): include('phar:///usr/loc...')
#20 {main}
Error: The object cache could not be flushed.

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

No branches or pull requests

2 participants