IBM Verify

 View Only
  • 1.  IAG with Redis error

    Posted Sun November 19, 2023 08:11 PM

    I've integrated IAG with GCP managed Redis () for session management. As soon as the container start i keep getting the following error - 

    DPWWA3003E A Redis command, 'CLIENT SETNAME %s', to x.x.x.x:6379 failed: ERR unknown command `CLIENT`, with args beginning with: `SETNAME`, `iag-test-453c45f8-8741-11ee-bc58-5a582db6b99f`

    Has anyone faced this issue? if so did you have a resolution for it?



    ------------------------------
    Chandan Reddy Bokka
    ------------------------------


  • 2.  RE: IAG with Redis error

    Posted Sun November 19, 2023 08:17 PM

    Chandan,

     

    Which version of Redis is used by GCP?  IAG requires at least version 6.0. 

     

    If you are using v6.0 (or later) it then looks like the GCP version of Redis has disabled the 'CLIENT SETNAME' command – which is required by IAG.  You would need to work with the Google to work out why the command has been disabled, and how to enable the command.

     

    I hope that this helps.

     

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">

     

     

     






  • 3.  RE: IAG with Redis error

    Posted Sun November 19, 2023 08:26 PM

    Scott,

    I've tried it both on 6 and 7. You are right GCP managed redis blocks certain commands (https://cloud.google.com/memorystore/docs/redis/product-constraints#blocked_redis_commands) and CLIENT is one of it. Just wanted to check if there there a workaround in IAG, something similar to what is mentioned here - https://stackoverflow.com/questions/65940303/cannot-run-client-command-at-gcp-managed-redis



    ------------------------------
    Chandan Reddy Bokka
    ------------------------------