Layer7 API Management

  • 1.  Error in syncing between API Dev Portal and API GW

    Posted Oct 18, 2016 09:45 PM
      |   view attached

    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.


    Attachment(s)

    zip
    logs20161020.log.zip   4 KB 1 version


  • 2.  Re: Error in syncing between API Dev Portal and API GW

    Broadcom Employee
    Posted Oct 19, 2016 03:24 PM

    Damian,

     

    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

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support



  • 3.  Re: Error in syncing between API Dev Portal and API GW

    Posted Oct 19, 2016 09:49 PM

    Hi Stephen,

     

    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.



  • 4.  Re: Error in syncing between API Dev Portal and API GW

    Broadcom Employee
    Posted Oct 20, 2016 12:29 AM

    Damian,

     

    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 GET
    10/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.

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support



  • 5.  Re: Error in syncing between API Dev Portal and API GW

    Posted Oct 20, 2016 03:24 AM

    Hi Stephen, 

     

    Thanks for your information. The Gateway version that i am running is 9.1 and the portal version is 3.5

     

    Thanks.



  • 6.  Re: Error in syncing between API Dev Portal and API GW

    Broadcom Employee
    Posted Oct 27, 2016 06:27 PM

    Damain,

     

    I want to follow-up and see if you were able to debug the issue that you wrote about above.

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support



  • 7.  Re: Error in syncing between API Dev Portal and API GW

    Posted Oct 27, 2016 09:46 PM

    Hi Stephen,

     

    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.