ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Sync API Keys 500 error

book

Article ID: 111860

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway

Issue/Introduction

Sync API Keys fails with the following error.
[LRSGatewayPlugin general] -- <Failure message="Unable to process response" code="500"/>

Catalina.out errors:
DEBUG (http-nio-37080-exec-12:) - [SyncAPIKeysHandler general] -- response: 
[Fatal Error] :-1:-1: Premature end of file.
[time] com.l7tech.extension.util.XmlUtil buildXmlDoc
WARNING: Premature end of file.
org.xml.sax.SAXParseException; Premature end of file.

Cause

By default the gateway will only accept a POST of 2621440 bytes. The API Keys sync is trying to POST 5156935 bytes. 

Environment

API Portal 3.5

Resolution

User can temporarily remove the restriction by updating the 8443 port's configuration as indicated in the attached screenshot.

<Please see attached file for image>

Capture

Connect Gateway from Policy Manager using port 9443 and then goto Tasks -> Transports -> Listen Ports, from the Properties of 8443 port and from Advanced tab do the above change displayed in the screen-shot.

Attachments

1558697207379000111860_sktwi1f5rjvs16iuv.png get_app