Start a Conversation

Unsolved

T

1 Rookie

 • 

1 Message

32

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

Moderator

 • 

8.5K Posts

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.

No Events found!

Top