Layer 7 CA API Gateway - Protect Against Message Replay assertion fails - MessageIds cannot be stored
search cancel

Layer 7 CA API Gateway - Protect Against Message Replay assertion fails - MessageIds cannot be stored

book

Article ID: 265891

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway CA Mobile API Gateway Layer7 API Security

Issue/Introduction

After an expedited upgrade from Gateway 10.0 to Gateway 11.0 a service using the Protect Against Message Replay fails with exception.

com.l7tech.server.util.MessageIdManager$MessageIdCheckException: MessageIds cannot be stored.
 at com.l7tech.server.cluster.GatewayMessageIdManager.b(Unknown Source)
 at com.l7tech.server.cluster.GatewayMessageIdManager.assertMessageIdIsUnique(Unknown Source)
 at com.l7tech.server.policy.assertion.xmlsec.ServerWssReplayProtection.doCheckRequest(Unknown Source)
 at com.l7tech.server.policy.assertion.AbstractMessageTargetableServerAssertion.checkRequest(Unknown Source)
 at com.l7tech.server.policy.assertion.xmlsec.ServerWssReplayProtection.checkRequest(Unknown Source)
 at com.l7tech.server.policy.assertion.composite.ServerCompositeAssertion.iterateChildren(Unknown Source)
 at com.l7tech.server.policy.assertion.composite.ServerOneOrMoreAssertion.checkRequest(Unknown Source)

 

Environment

Release : All releases

Resolution

Verify if there are old entries in the cluster_info table in the SSG database by running select * from cluster_info; from MySQL on the Gateway root shell

If there are old entries you can clear the cluster_info table and rebuild it with truncate table cluster_info;

If you require assistance with determining the state of your cluster_info table please open a support ticket with Broadcom