You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Imran Raza Khan <im...@gmail.com> on 2017/11/15 21:11:53 UTC

AWS-S3 - Not all bytes were read from the S3ObjectInputStream, aborting HTTP connection(Apache Camel 2.20.0)

Hi,

After reading all files from bucket i observed following repeated
error, Any way to avoid it

from("aws-s3://mybucket?amazonS3Client=#awss3Client&deleteAfterRead=false&prefix=folder").to("stream:out")

2017-11-16 00:58:21 [Camel  - aws-s3://mybucket] WARN
c.a.s.s.i.S3AbortableInputStream - Not all bytes were read from the
S3ObjectInputStream, aborting HTTP connection. This is likely an error
and may result in sub-optimal behavior. Request only the bytes you
need via a ranged GET or drain the input stream after use.

Regards,