Layer7 API Management

  • 1.  Failure Message When Attempting to Sync API Plans

    Posted Aug 11, 2017 01:02 AM

    I'm following the steps to Integrate API Portal(V3.5) with API Gateway(V9.2). In one of the steps, after logging into API Portal http://l7apiportal.l7tech.com/admin, now under Administration Tools I have clicked "Plugin Administration" and then clicked "Layer 7 Gateway". Now in the Plugin page of "Layer 7 Gateway" under the section "Sync SSG Data" after click "Sync API Plans" I' m getting error as follows

    API Plans: <Failure message="Error reading fragment: API Plans Fragment" code="500"/>

     

    But When I click "Sync Account Plans" I'm getting result as follows

    Account Plans: <Success code="200"/>

     

    Thank you.



  • 2.  Re: Failure Message When Attempting to Sync API Plans

    Posted Aug 13, 2017 09:17 AM

    i would say tail the catalina.out and then click on api plans, look at the tail now and it should provide you the info on what is wrong



  • 3.  Re: Failure Message When Attempting to Sync API Plans

    Posted Aug 15, 2017 12:18 AM

    When I trail catalina.out, I'm getting result as follows

    Aug 15, 2017 10:16:09 AM com.l7tech.ldap.RequestUtil processRequest
    INFO: Response Status Code:500
    08/15 10:16:09.121 DEBUG (http-37080-6:) - [SyncAPIPlansHandler general] -- response: <Error> <Code>500</Code> <Detail>Error reading fragment: API Plans Fragment</Detail></Error>
    Aug 15, 2017 10:16:09 AM com.l7tech.extension.util.XmlUtil getDataFromElement
    INFO: Response doesn't contain a <Status> element
    08/15 10:16:09.122 INFO (http-37080-6:) - [LRSGatewayPlugin general] -- <Failure message="Error reading fragment: API Plans Fragment" code="500"/>
    08/15 10:16:09.130 DEBUG (http-37080-6:) - [XSLTUtil general] -- XSLTUtil.translate: XSLT in:3552 out:24813 time: 8 ms.

    Thank you.



  • 4.  Re: Failure Message When Attempting to Sync API Plans
    Best Answer

    Posted Aug 15, 2017 12:50 PM

    Can you please try the below and let me know how it goes.

     

    Plugin Administration --> Layer 7 Gateway --> "Update Gateway Password". It could be worth entering that password again and clicking the Submit button and reboot.

     

    (The password to use is the one for the Gateway administrator account for the API Portal; the username is "l7apiportal" in our documentation.)



  • 5.  Re: Failure Message When Attempting to Sync API Plans

    Posted Aug 15, 2017 11:08 PM

    I'm config it again and review "Gatway Password","Portal Keystore Password". It's work!

     

    Thank you.