• Resolved Ya-Yo Gakk

    (@ralphort)


    Kept getting “NOAUTH Authentication required” error message & not connected if I add WP_REDIS_PASSWORD constant on wp-config.php & uncomment requirepass & add my Redis password on redis.conf file. AUTH password command already issued & Redis server is running without issues. Everything’s fine if I don’t add any password. I already placed the WP_REDIS_PASSWORD constant on top of the other Redis connection parameters.

    Do I even need a password authentication for my server setup for extra security or just fine without it? The server runs bare metal on an old Raspberry Pi Zero W running the latest Debian Bullseye. Using this primarily for a hobby pulling data on a Davis weather station network hub at home.

    Status:

    ● redis-server.service - Advanced key-value store
         Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor >
         Active: active (running) since Mon 2022-11-21 20:01:50 CST; 5min ago
           Docs: http://redis.io/documentation,
                 man:redis-server(1)
       Main PID: 5127 (redis-server)
         Status: "Ready to accept connections"
          Tasks: 4 (limit: 415)
            CPU: 3.044s
         CGroup: /system.slice/redis-server.service
                 └─5127 /usr/bin/redis-server 127.0.0.1:6379

    Diagnostics:

    Status: Not connected
    Client: PhpRedis (v6.0.0-dev)
    Drop-in: Valid
    Disabled: No
    Ping: 
    Errors: [
        "NOAUTH Authentication required."
    ]
    PhpRedis: 6.0.0-dev
    Relay: Not loaded
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 8.0.1
    Plugin Version: 2.2.2
    Redis Version: Unknown
    Multisite: No
    Metrics: Disabled
    Metrics recorded: 0
    Filesystem: Working
    Global Prefix: "wp_"
    Blog Prefix: "wp_"
    WP_REDIS_CLIENT: "phpredis"
    WP_REDIS_HOST: "127.0.0.1"
    WP_REDIS_PORT: 6379
    WP_REDIS_TIMEOUT: 1
    WP_REDIS_READ_TIMEOUT: 1
    WP_REDIS_MAXTTL: 604800
    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"
    ]
    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"
    }
    Drop-ins: [
        "advanced-cache.php v by ",
        "Redis Object Cache Drop-In v2.2.2 by Till Krüss"
    ]
    • This topic was modified 1 year, 9 months ago by Ya-Yo Gakk.
    • This topic was modified 1 year, 9 months ago by Ya-Yo Gakk.
    • This topic was modified 1 year, 9 months ago by Ya-Yo Gakk.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Place define( ‘WP_REDIS_PASSWORD’, ‘password’ ); at the top of your wp-config.php file

    <?php

    define( ‘WP_REDIS_PASSWORD’, ‘password’ );
    define( ‘WP_CACHE’, true );

    Thread Starter Ya-Yo Gakk

    (@ralphort)

    That fixed it. Thanks.

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