• Resolved karpok

    (@karpok)


    Status: Not connected
    Client: PhpRedis (v5.3.7)
    Drop-in: Valid
    Disabled: No
    Ping:
    Connection Exception: NOAUTH Authentication required. (RedisException)
    Errors: [
    "NOAUTH Authentication required."
    ]
    PhpRedis: 5.3.7
    Relay: Not loaded
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 8.1.15
    Plugin Version: 2.2.3
    Redis Version: Unknown
    Multisite: No
    Metrics: Disabled
    Metrics recorded: 0
    Filesystem: Working
    Global Prefix: "wprv_"
    Blog Prefix: "wprv_"
    WP_REDIS_HOST: "127.0.0.1"
    WP_REDIS_PORT: 6379
    WP_REDIS_DATABASE: 0
    WP_REDIS_TIMEOUT: 1
    WP_REDIS_READ_TIMEOUT: 1
    WP_REDIS_PREFIX: "/[email protected]/!g(m39B(+rWiw@/C@0wSbxdl"
    WP_CACHE_KEY_SALT: "/[email protected]/!g(m39B(+rWiw@/C@0wSb
    xdl"
    WP_REDIS_PLUGIN_PATH: "/home/mastiindiaadmin409fromnlg/public_html/wp-content/plugins/redis-cache"
    WP_REDIS_PASSWORD: ????????
    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",
    "redis-cache"
    ]
    Ignored Groups: [
    "counts",
    "plugins",
    "themes",
    "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",
    "redis-cache",
    "blog_meta",
    "bp_object_terms",
    "bp",
    "bp_pages",
    "bp_invitations",
    "bp_last_activity",
    "bp_member_member_type",
    "bp_xprofile",
    "bp_xprofile_data",
    "bp_xprofile_fields",
    "bp_xprofile_groups",
    "xprofile_meta",
    "bp_user_mid",
    "bp_activity",
    "bp_activity_comments",
    "activity_meta",
    "bp_notifications",
    "notification_meta",
    "bp_notifications_unread_count",
    "bp_notifications_grouped_notifications"
    ]
    Unflushable Groups: []
    Groups Types: {
    "blog-details": "ignored",
    "blog-id-cache": "ignored",
    "blog-lookup": "ignored",
    "global-posts": "ignored",
    "networks": "ignored",
    "rss": "ignored",
    "sites": "ignored",
    "site-details": "ignored",
    "site-lookup": "ignored",
    "site-options": "ignored",
    "site-transient": "ignored",
    "users": "ignored",
    "useremail": "ignored",
    "userlogins": "ignored",
    "usermeta": "ignored",
    "user_meta": "ignored",
    "userslugs": "ignored",
    "redis-cache": "ignored",
    "counts": "ignored",
    "plugins": "ignored",
    "themes": "ignored",
    "blog_meta": "ignored",
    "bp_object_terms": "ignored",
    "bp": "ignored",
    "bp_pages": "ignored",
    "bp_invitations": "ignored",
    "bp_last_activity": "ignored",
    "bp_member_member_type": "ignored",
    "bp_xprofile": "ignored",
    "bp_xprofile_data": "ignored",
    "bp_xprofile_fields": "ignored",
    "bp_xprofile_groups": "ignored",
    "xprofile_meta": "ignored",
    "bp_user_mid": "ignored",
    "bp_activity": "ignored",
    "bp_activity_comments": "ignored",
    "activity_meta": "ignored",
    "bp_notifications": "ignored",
    "notification_meta": "ignored",
    "bp_notifications_unread_count": "ignored",
    "bp_notifications_grouped_notifications": "ignored"
    }
    Drop-ins: [
    "advanced-cache.php v by ",
    "Query Monitor Database Class (Drop-in) v3.11.1 by John Blackbourn",
    "Redis Object Cache Drop-In v2.2.3 by Till Krüss"
    ]

    Add below code at top of config file as you said in other topics:

    //Redis object cache config
    define( ‘WP_REDIS_PASSWORD’, ‘PASSWORDXXXXX’ );
    define( ‘WP_REDIS_HOST’, ‘127.0.0.1’ );
    define( ‘WP_REDIS_PORT’, 6379 );
    define( ‘WP_REDIS_TIMEOUT’, 1 );
    define( ‘WP_REDIS_READ_TIMEOUT’, 1 );
    define( ‘WP_REDIS_DATABASE’, 1 );

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    You’re probably defining WP_REDIS_PASSWORD way too late in the config.

    Try restarting the entire server, to make sure PHP has the updated config.

    Thread Starter karpok

    (@karpok)

    I declared at top of the config file (even before wordpress comments section).

    Thread Starter karpok

    (@karpok)

    I restarted server twice. But unfortunately, no luck. Still same issue.

    Thank you.

    Plugin Author Till Krüss

    (@tillkruess)

    Can you connect via redis-cli?

    Thread Starter karpok

    (@karpok)

    yes, by providing password, am able to connect.

    Plugin Author Till Krüss

    (@tillkruess)

    $redis = new Redis;
    $redis->connect('127.0.0.1', 6379);
    $redis->auth('PASSWORDXXXXX');
    
    var_dump($redis-ping());

    Does this work?

    Thread Starter karpok

    (@karpok)

    Fatal error: Uncaught Exception: NOAUTH Authentication required.
    in /home/XXX/public_html/wp-content/themes/XX/XXX.php on line 10

    Call stack:

    Redis::ping()

    Thread Starter karpok

    (@karpok)

    I checked by removing redis password from server. Its working fine. Not working only with the password.

    Plugin Author Till Krüss

    (@tillkruess)

    Are you using the correct password?

    Thread Starter karpok

    (@karpok)

    Yes, 100%. I connected to redis using the same password via SSH.

    Plugin Author Till Krüss

    (@tillkruess)

    Try switching to Predis.

    Thread Starter karpok

    (@karpok)

    It’s ok, I will continue without password. I don’t have much technical knowledge regarding server management.

    Thank you for your valuable time.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘NOAUTH Authentication required’ is closed to new replies.