search cancel

Question on Service Debugger behavior when Policy Manager and Gateway are disconnected


Article ID: 76436


Updated On:


STARTER PACK-7 CA Rapid App Security CA API Gateway


Suppose that following situation when using Service Debugger from Policy Manager:
Step 1. Service Debugger is started for a service.
Step 2. A request message is sent to the endpoint of the service.
Step 3. The debugger is stopping at a breakpoint.
Step 4. Connection between Policy Manager and API Gateway gets lost due to some network error.

In the Gateway node, will the service and the attached debugger be terminated?


API Gateway 9.2


Yes. According to our design specification, there is a clean up task in the SSG that runs periodically that removes debugger sessions that have been inactive for a certain amount of time.

By default, the clean up task runs every 24hr+1min, and terminates debugger sessions which have been inactive for 24hrs.
These values can be overridden in file by setting properties below.
(1) com.l7tech.server.stepdebug.inactiveSessionCleanIntervalMillis
(2) com.l7tech.server.stepdebug.inactiveSessionTimeoutMillis

It's not advisable to do debugging on Production environment.