pantheon-systems / localdev-issues

Issue tracking for Pantheon localdev
6 stars 2 forks source link

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/wp-content/plugins/wp-redis/object-cache.php on line 1209 Warning: WP Redis: php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/wp-content/plugins/wp-redis/object-cache.php on line 1388 #78

Closed wernerglinka closed 2 years ago

wernerglinka commented 4 years ago

After installing object-cache.php and the WP Redis plugin, my local WP site shows this warning:

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/wp-content/plugins/wp-redis/object-cache.php on line 1209 Warning: WP Redis: php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/wp-content/plugins/wp-redis/object-cache.php on line 1388

The Pantheon dev site seems to be fine. Status in the Pantheon backend doesn't show any warnings.

Has anybody seen this and/or k ows how to fix this?

pirog commented 4 years ago

@wernerglinka i dont think redis is on by default in localdev so you'll need to activate it in the advanced tab and make sure your local settings are not overriding any pantheon specific config for redis.

pirog commented 2 years ago

@wernerglinka closing this in favor of #112