An unexpected error has occurred, while trying to create agent packages.
search cancel

An unexpected error has occurred, while trying to create agent packages.

book

Article ID: 210020

calendar_today

Updated On:

Products

Data Loss Prevention Enforce

Issue/Introduction

When trying to create agent packages the client would receive an RBOD stating an unexpected error has occurred.

Environment

DLP 15.7 MP1 and MP2

Cause

In the logs it was found:

SEVERE [com.vontu.manager.spring.web.ManagerHandlerExceptionResolver] Unexpected exception while processing request:
Cause:
org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedlyorg.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly

And

170 SEVERE [com.vontu.manager.spring.web.ManagerHandlerExceptionResolver] Unexpected exception while processing request:
Cause:
org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Unexpected EOF read on the socketorg.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Unexpected EOF read on the socket

 

Resolution

It was found to be network congestion between the user and Enforce causing the stream to fail mid-way through the upload.

Logged on to the Enforce server directly via RDP, downloaded and extracted the agent packages, and the process completes without issue.