• Resolved decentris

    (@decentris)


    Dear Till,

    I have no clue, why your plugin still shows “Not Connected” to me although I did all the following:

    Installed Redis 4.0.9
    Ping test ok:
    redis-cli
    127.0.0.1:6379> ping
    PONG

    Edited wp-config.php and added:

    define(‘WP_REDIS_HOST’, ‘redis’);
    define(‘WP_CACHE’, true);

    right after define(‘DB_COLLATE’, ”);

    And the settings of your plugin still show:

    Status: Nicht verbunden
    Client: PhpRedis (v5.2.1)

    Deine Website erfüllt die Systemanforderungen für die Pro-Version (PHP 7+; PhpRedis 3.1.1+).

    What can I do? I am clueless.

    Thank you very much for your fast and valued help.

    Best,
    Johannes

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter decentris

    (@decentris)

    PS: Also the WP-Backend really gets slow, after activating Redis Object Cache. Maybe because it cannot connect?

    Plugin Author Till Krüss

    (@tillkruess)

    Can you post your diagnostics?

    Thread Starter decentris

    (@decentris)

    Status: Nicht verbunden
    Client: PhpRedis (v5.2.1)
    Drop-in: Valid
    Connection Exception: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution (RedisException)
    Redis Extension: 5.2.1
    Predis Client: 1.1.1
    PHP Version: 7.2.31-1+ubuntu18.04.1+deb.sury.org+1
    Redis Version: Unknown
    Multisite: No
    Global Prefix: “wp_”
    Blog Prefix: “wp_”
    WP_REDIS_HOST: “redis”
    Global Groups: [
    “blog-details”,
    “blog-id-cache”,
    “blog-lookup”,
    “global-posts”,
    “networks”,
    “rss”,
    “sites”,
    “site-details”,
    “site-lookup”,
    “site-options”,
    “site-transient”,
    “users”,
    “useremail”,
    “userlogins”,
    “usermeta”,
    “user_meta”,
    “userslugs”
    ]
    Ignored Groups: [
    “counts”,
    “plugins”,
    “blog-details”,
    “blog-id-cache”,
    “blog-lookup”,
    “global-posts”,
    “networks”,
    “rss”,
    “sites”,
    “site-details”,
    “site-lookup”,
    “site-options”,
    “site-transient”,
    “users”,
    “useremail”,
    “userlogins”,
    “usermeta”,
    “user_meta”,
    “userslugs”,
    “blog_meta”,
    “themes”,
    “WPML_ST_Package_Factory”
    ]
    Unflushable Groups: []
    Dropins:
    – Redis Object Cache Drop-In v1.6.3 by Till Krüss
    Plugins:
    – Activity Log v2.5.2 by Activity Log Team (Active)
    – Add From Server v3.3.3 by Dion Hulse (Active)
    – AddToAny Share Buttons v1.7.40 by AddToAny (Active)
    – Admin Menu Editor Pro v2.7 by Janis Elsts (Active)
    – Advanced Order Export For WooCommerce v3.1.4 by AlgolPlus (Active)
    – Affiliates AddToAny Integration v1.4.0 by itthinx (Active)
    – Affiliates by Username v3.0.0 by itthinx (Active)
    – Affiliates Enterprise v4.6.0 by itthinx (Active)
    – Affiliates Events Manager v3.0.0 by itthinx, proaktion, gtsiokos (Inactive)
    – Affiliates Export v1.0 by itthinx (Active)
    – Affiliates Import v1.1.0 by itthinx (Active)
    – Affiliates MS v1.1.0 by itthinx (Active)
    – Affiliates Permanent v1.5.0 by itthinx (Active)
    – Affiliates Products Process Tiers v1.0.0 by itthinx (Active)
    – Affiliates Users v1.5.0 by itthinx (Active)
    – Affiliates WooCommerce Integration v3.3.0 by itthinx (Active)
    – AMP v1.5.3 by AMP Project Contributors (Active)
    – Autocomplete WooCommerce Orders v1.3.1 by Liam McArthur (Active)
    – BackupBuddy v8.5.7.0 by iThemes (Active)
    – Better Notifications for WP v1.8.3 by Made with Fuel (Active)
    – Braintree For WooCommerce v3.1.9 by Payment Plugins, [email protected] (Inactive)
    – Category and Taxonomy Image v1.0.0 by Aftab Husain (Active)
    – Checkout Field Editor for WooCommerce v1.4.2 by ThemeHigh (Active)
    – Classic Editor v1.5 by WordPress Contributors (Active)
    – CMB2 v2.7.0 by CMB2 team (Active)
    – Code Embed v2.3.3 by David Artiss (Active)
    – Coming Soon Page, Under Construction & Maintenance Mode by SeedProd v5.1.0 by SeedProd (Active)
    – ConversioBot v1.0.9 by Innovative Chat Limited (Active)
    – Cron Logger v1.0.3 by Palasthotel <[email protected]> (Edward Bock) (Active)
    – Design Upgrade for LearnDash v2.6.5 by Escape Creative (Active)
    – Design Upgrade Pro for LearnDash v2.10 by Escape Creative (Active)
    – Download Monitor v4.4.3 by Never5 (Inactive)
    – DSGVO All in one PRO for WP v4.7.4 by Michael Leithold (Active)
    – Duplicate Post v3.2.4 by Enrico Battocchi (Active)
    – Elementor v2.9.11 by Elementor.com (Active)
    – Elementor Pro v2.9.5 by Elementor.com (Active)
    – ElementsKit Lite v1.5.4 by Wpmet (Active)
    – Envato Elements v2.0.5 by Envato (Active)
    – Envato Market v2.0.3 by Envato (Active)
    – Essential Addons for Elementor v4.0.2 by WPDeveloper (Active)
    – Essential Addons for Elementor – Pro v4.0.0 by WPDeveloper (Active)
    – Events Addon for Elementor v1.8.1 by NicheAddons (Active)
    – Follow-Up Emails v4.9.2 by WooCommerce (Active)
    – GD Mail Queue v3.4.2 by Milan Petrovic (Active)
    – Groups v2.10.0 by itthinx (Active)
    – Groups Import Export v1.2.5 by itthinx (Active)
    – Groups Newsletters v1.5.1 by itthinx (Inactive)
    – Groups WooCommerce v1.18.0 by itthinx (Active)
    – Head, Footer and Post Injections v3.1.6 by Stefano Lissa (Active)
    – Instant Articles for WP v4.2.0 by Automattic, Dekode, Facebook (Active)
    – iThemes Security Pro v6.5.6 by iThemes (Inactive)
    – Itthinx Updates v1.2.0 by itthinx (Active)
    – LearnDash LMS v3.1.7 by LearnDash (Active)
    – LearnDash LMS – Course Grid v1.6.0 by LearnDash (Active)
    – LearnDash LMS – WooCommerce Integration v1.7.0.1 by LearnDash (Active)
    – LearnDash Multilingual Integration v1.0.0 by LearnDash (Active)
    – LearnDash ProPanel v2.1.3 by LearnDash (Active)
    – Lighthouse v3.0.2 by Ciprian Popescu (Active)
    – Login Logout Menu v1.1.0 by WPBrigade (Active)
    – LoginPress – Auto Login v1.0.7 by WPBrigade (Inactive)
    – LoginPress – Customizing the WordPress Login v1.4.3 by WPBrigade (Active)
    – LoginPress – Hide Login v1.2.1 by WPBrigade (Active)
    – LoginPress – Limit Login Attempts v1.2.2 by WPBrigade (Active)
    – LoginPress – Login Widget v1.0.5 by WPBrigade (Active)
    – LoginPress – Redirect Login v1.1.4 by WPBrigade (Inactive)
    – LoginPress – Social Login v1.2.0 by WPBrigade (Inactive)
    – LoginPress Pro v2.3.2 by WPBrigade (Active)
    – Manage Notification E-mails v1.5.1 by Virgial Berveling (Active)
    – MonsterInsights – Ads Addon v1.1.2 by MonsterInsights Team (Active)
    – MonsterInsights – AMP Addon v1.4.5 by MonsterInsights Team (Active)
    – MonsterInsights – Dimensions Addon v1.3.0 by MonsterInsights Team (Active)
    – MonsterInsights – eCommerce Addon v7.3.5 by MonsterInsights Team (Active)
    – MonsterInsights – Facebook Instant Articles Addon v1.1.1 by MonsterInsights Team (Active)
    – MonsterInsights – Forms Tracking Addon v1.5.0 by MonsterInsights Team (Inactive)
    – MonsterInsights – Google Optimize Addon v1.3.0 by MonsterInsights Team (Active)
    – MonsterInsights – Page Insights Addon v1.3.0 by MonsterInsights Team (Active)
    – MonsterInsights – Performance Addon v1.4.0 by MonsterInsights Team (Active)
    – MonsterInsights Pro v7.10.5 by MonsterInsights (Active)
    – myCred v1.8.11 by myCred (Active)
    – myCred – Learndash v1.3.7 by myCRED (Active)
    – myCRED for Elementor v1.2 by myCRED (Active)
    – myCRED WooCommerce Plus – WooCommerce v1.7.0 by myCRED (Active)
    – MyCryptoCheckout v2.78 by edward_plainview (Active)
    – One Click Demo Import v2.5.2 by ProteusThemes (Active)
    – OvaTheme Framework v1.0.2 by Ovatheme (Active)
    – Payment Gateway Based Fees and Discounts for WooCommerce v2.6.1 by Tyche Softwares (Active)
    – PowerPack Elements v1.4.14.1 by Team IdeaBox – PowerPack Elements (Active)
    – Prevent Browser Caching v2.3.2 by Kostya Tereshchuk (Inactive)
    – Profile Builder – Custom Profile Menus Add-On v1.0.9 by Cozmoslabs, Cristophor Hurduban (Active)
    – Profile Builder – Multi-Step Forms Add-On v1.0.7 by Cozmoslabs, Cristophor Hurduban (Active)
    – Profile Builder – WooCommerce Sync Add-on v1.5.7 by Cozmoslabs, Adrian Spiac (Active)
    – Profile Builder Pro v3.1.6 by Cozmoslabs (Active)
    – Protect Uploads v0.3 by Alexis Blondin (Active)
    – Query Monitor v3.6.0 by John Blackbourn (Inactive)
    – Query Monitor Extend v1.0 by Caleb Stauffer (Inactive)
    – Redis Object Cache v1.6.3 by Till Krüss (Active)
    – Shortcode in Menus v3.5 by Gagan Deep Singh (Active)
    – Shortcodes Ultimate v5.9.0 by Vladimir Anokhin (Active)
    – Shortcodes Ultimate: Additional Skins v1.5.8 by Vladimir Anokhin (Active)
    – Shortcodes Ultimate: Extra Shortcodes v1.7.4 by Vladimir Anokhin (Active)
    – Shortcodes Ultimate: Shortcode Creator v1.5.15 by Vladimir Anokhin (Active)
    – Video Conferencing with Zoom v3.4.1 by Deepen Bajracharya (Active)
    – Webcraftic Clearfy package v1.1.4 by Webcraftic <[email protected]> (Active)
    – Webcraftic Clearfy – WordPress optimization plugin v1.6.8 by Webcraftic <[email protected]> (Active)
    – Webcraftic Robin image optimizer v1.4.2 by Webcraftic <[email protected]> (Active)
    – Widget Importer & Exporter v1.6 by ChurchThemes.com (Active)
    – WooCommerce v4.2.0 by Automattic (Active)
    – WooCommerce Admin v1.1.3 by WooCommerce (Inactive)
    – WooCommerce Bookings v1.15.16 by WooCommerce (Inactive)
    – WooCommerce Bookings Availability v1.1.11 by WooCommerce (Inactive)
    – WooCommerce Chained Products v2.9.6 by StoreApps (Active)
    – WooCommerce Force Sells v1.1.23 by WooCommerce (Active)
    – WooCommerce Gift Cards v1.3.1 by SomewhereWarm (Active)
    – WooCommerce Group Coupons v1.14.0 by itthinx (Active)
    – WooCommerce Multilingual v4.9.0 by OnTheGoSystems (Active)
    – WooCommerce PayPal Powered by Braintree Gateway v2.3.11 by WooCommerce (Active)
    – WooCommerce PDF Invoices & Packing Slips v2.5.1 by Ewout Fernhout (Active)
    – WooCommerce Services v1.23.0 by Automattic (Active)
    – WooCommerce Stripe Gateway v4.4.0 by WooCommerce (Inactive)
    – WooCommerce Subscriptions v3.0.4 by WooCommerce (Active)
    – WP-Optimize Premium – Clean, Compress, Cache v3.0.19 by David Anderson, Ruhani Rabin, Team Updraft (Inactive)
    – WP Admin Bar Control v0.9.7 by Alex Egorov (Active)
    – WP Coder v2.4.1 by Wow-Company (Active)
    – WP Crontrol v1.8.5 by John Blackbourn & crontributors (Active)
    – wpDataTables v2.8.3 by TMS-Plugins (Active)
    – WP Extra File Types v0.4.4.1 by Davide Airaghi (Active)
    – WP Fastest Cache v0.9.0.7 by Emre Vona (Active)
    – WP Fastest Cache Premium v1.5.8 by Emre Vona (Active)
    – WP FullCalendar v1.2 by Marcus Sykes (Active)
    – WP Media folder v5.0.1 by Joomunited (Active)
    – WP Media folder Addon v3.3.1 by Joomunited (Active)
    – WP Media folder Gallery Addon v2.1.2 by Joomunited (Active)
    – WPML Media v2.5.5 by OnTheGoSystems (Active)
    – WPML Multilingual CMS v4.3.15 by OnTheGoSystems (Active)
    – WPML String Translation v3.0.11 by OnTheGoSystems (Active)
    – WPML Translation Management v2.9.8 by OnTheGoSystems (Active)
    – WP Smart Preloader v1.12 by catchsquare (Active)
    – WP Video Popup v2.7 by David Vongries (Active)
    – YITH WooCommerce Customize My Account Page v2.5.18 by YITH (Active)
    – Zoom Integration for WooCommerce v2.1.1 by Deepen Bajracharya (Inactive)
    – Zoom Integration for WooCommerce and Bookings v2.1.7 by CodeManas (Active)

    Plugin Author Till Krüss

    (@tillkruess)

    This is your error:

    
    Connection Exception: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution (RedisException)
    <code></code>

    So using redis as your host doesn’t work. Try this:

    
    define('WP_REDIS_HOST', '127.0.0.1');
    define('WP_REDIS_PORT', 6379);
    
    Thread Starter decentris

    (@decentris)

    Yep, that did the trick! ??

    Thank you so much, Till.

    Perfect support.

    All the best,
    Johannes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Still “Not connected” – although following all tips’ is closed to new replies.