I am getting Connection reset by peer: socket write error only for large size assets which are 100+ MBs in size during dam update asset workflow which is a custom one for our need as we are sending assets to CDN at last step of this workflow.
This workflow works fine for all the assets except a few which are 100 mb+ in size.
Can somebody help me in understanding what I am missing which is leading me to this error?
Below is part of code which is written in WorkflowProcess class
// Some other business logic
assetFile= new File(assetName); fileOutputStream = new FileOutputStream(tempFile); IOUtils.copy(assetInputStream, fileOutputStream);