Sync API Keys 500 error

Document ID : KB000111860
Last Modified Date : 22/08/2018
Show Technical Document Details
Issue:
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.
Environment:
API Portal 3.5
Cause:
By default the gateway will only accept a POST of 2621440 bytes. The API Keys sync is trying to POST 5156935 bytes. 
Resolution:
User can temporarily remove the restriction by updating the 8443 port's configuration as indicated in the attached screenshot.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.