Announcement Banner
UNSOLVED

thienhlt

updated

3 years ago

T

thienhlt

1 Rookie

•

1 Message

0

136

January 28th, 2024 16:25

Software caused connection abort: socket write error

I am getting error

RetryFilter - error received in response [java.net.SocketException: Software caused connection abort: socket write error], retrying (1 of 3)

when using S3JerseyClient and PutObjectRequest to upload file 

S3JerseyClient client = createS3Client();String fileCode =UUID.randomUUID();byte[] contentBytes = multipartFile.getBytes();ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(contentBytes);PutObjectRequest requestUpload = new PutObjectRequest(request.getBucketName(), fileCode, byteArrayInputStream).withObjectTagging(objectTagging).withObjectMetadata(metadata);requestUpload.addCustomHeader("x-amz-date", LocalDateTime.now(ZoneOffset.UTC).format(DateTimeFormatter.ofPattern("yyyyMMdd'T'HHmmss'Z'")));PutObjectResult result = client.putObject(requestUpload);​

why is dell emc ecs throwing java.net.SocketException: Software caused connection abort: socket write error

  • DELL-Josh Cr

    Community Manager

    •

    9734 Posts

    •

    44224 Points

    0

    0

    Posted January 29th, 2024 14:23

    Hi,

    Thanks for your question.

    What version of ECS are you using? Has it worked in the past and stopped working?

     

    Let us know if you have any additional questions.