Tuesday, December 17, 2019

Troubleshooting Key Manager WSO2

Hi all,

Today I am going to tell you something that helped me during support troubleshooting.

One of the most common API manager distribution patterns is the gateway and key manager separation. Now comes the problem.

What happens when a customer complains that the following use cases failing?


  • Token generation
  • API security
  • Slowness in token API


 You can do the following to determine this


  1. Enable %T in the Key Manager access log valve to print response time
  2. Enable client wire logs at the gateway
  3. Send curl request to simulate gateway to the key manager


From the above 3 options, the first 2 needs server restarts. But with 3rd option, you can easily do it in a production environment and troubleshoot. Nothing would be effected.

Let's check what are the important calls.