Hi All, Upon clicking the check otk button on the API Portal i received the following error in my gateway.I have place the logs below for further understanding. Thanks for the help.
I would first recommend that you please click 'check otk' and all sync buttons on the gateway plugin page (/admin?action=PLUGIN-lrsgateway), note all errors and attach the catalina log here.
Some additional information to take into consideration:
Under the "Authenticate APIs" section of the API Portal wiki:https://docops.ca.com/display/APIDP35/Authenticate+APIs
There is a note about integrating with OTK:
"Note: Before you can use OAuth authentication, The CA API Gateway Administrator must install and configure the CA OAuth Toolkit (OTK) on the CA API Gateway and then integrate the OTK with the API Portal. For more information, see CA API Gateway OAuth Toolkit."
That links you to the OTK main page, and there is a sub link titled "CA API Portal Integration", which takes you here:https://docops.ca.com/display/APIMT10/CA+API+Portal+Integration
I hope that's the information you are looking for. Let me know if you have any additional questions
Director, CA Support
I have already installed and configured the OAuth toolkit prior to these errors. I have noted down all of the errors from the check otk and sync buttons and have attached the log file above.
Thanks for your help.
I apologize I missed the log that you posted earlier. It actually had more information around the failure between the Portal and the Gateway.
The error being seen where the gateway returns a failure with policy falsified and this happens for all interactions not just the checkOTK but for apiplans and so forth. Error in the logs:
10/20 09:37:33.636 INFO (http-37080-1:) - [LRSWrapper general] -- connected to https://<gatewayname>:8443/portalman/1/gateway using GET10/20 09:37:33.974 DEBUG (http-37080-1:) - [LRSWrapper general] -- <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Policy Falsified</faultstring> <faultactor>https://<gatewayname>:8443/portalman/1/gateway</faultactor> <detail> <l7:policyResult status="No Error" xmlns:l7="http://www.layer7tech.com/ws/policy/fault"/> </detail> </soapenv:Fault> </soapenv:Body></soapenv:Envelope>
The best way to troubleshooting this is to either open the service debugger for the service to step through what is occurring or review the audit viewer on the gateway to see what is being returned.
Please outline which version of the Gateway and Portal you are running.
Thanks for your information. The Gateway version that i am running is 9.1 and the portal version is 3.5
I want to follow-up and see if you were able to debug the issue that you wrote about above.
We found the sync issue to be related to a policy that we have created and as such we are currently working to resolve that issue.