Layer7 API Management

Expand all | Collapse all

queryResponse.xml shows 'Authentication failed'

Jump to Best Answer
  • 1.  queryResponse.xml shows 'Authentication failed'

    Posted 06-08-2018 05:41 AM

    Hi ,

    My Policy manager password got expired , So I had to change the password.

    After that when I try to deploy my service in gateway in my local, it is not appearing in policy manager.

     

    queryResponse.xml and createResponse.xml in gmu shows authenticaton failed.Please guide on this.

     

    Thanks.



  • 2.  Re: queryResponse.xml shows 'Authentication failed'

    Posted 06-21-2018 12:19 PM

    Julie,

     

    Would you be able to provide the command that you are using to execute the GMU? Also how are you setting the password to be used on the command (file, command line, etc) and does it have any special characters that may need to be escaped?

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support



  • 3.  Re: queryResponse.xml shows 'Authentication failed'

    Posted 06-24-2018 01:18 PM

    Hi Stephen,

    Thanks for throwing light on it.

     

    The password was changed in the Policy Manager UI.

    The password had special characters.May I know how to escape the special characters.

     

    The password was encoded using ,

    ./GatewayMigrationUtility.sh encodePassword --password <mypassword>

    the output of this command was put in the connection.properties file.

     

     “ mvn clean install -Pbuild-dev-profile -DgmuCommandLocation=<your GMU tool location>”  was the command that was used to deploy the service in policy manager.

     

    Please suggest solution.

     

     

    Thanks



  • 4.  Re: queryResponse.xml shows 'Authentication failed'
    Best Answer

    Posted 06-25-2018 10:31 AM

    When you build the password and you are using special characters, trying using the \ character before each special character prior to encrypting the password.



  • 5.  Re: queryResponse.xml shows 'Authentication failed'

    Posted 06-26-2018 03:36 AM

    Thanks Stephen,

     

    It worked .

    Very much thanks.