We have API gateway appliance running on Layer7 API Gateway v10.1.00. we have two servers in a cluster, I have stopped one for troubleshooting, not sure what happened but for last 2 days we are experiencing issues with it, when I restart the services of the gateway it works and then later on it fails. what could be the issue here, we haven't made any modifications to the environment recently.
can you please help me with what's going on with the Gateway
Some of the errors says
{ "error":"invalid_grant", "error_description":"The given grant is invalid"}The access token was retrieved by client via a callback to the authorization server based on the authorization code value returned (<AZ_CODE>) on the redirectionback from the authorization server.
Release : 10.1
Login problems configuration issue of the JDBC connection for OAuth
Both gateway node.properties were pointing to the primary gateway fully qualified hostname as the SSG DB. In Policy Manager OAuth connection was configured with localhost . This was the problem. The secondary node was not getting updated
Changed the Oauth JDBC connection to the fully qualified hostname of the primary GW this is how it should be configure using the same OTK DB Oauth working on both Gateways