Introduction
This article explains what causes the warning below. This warning can happen when the application is hosted in any deployment type and will appear in the application's logs.
com.amazonaws.services.s3.internal.S3AbortableInputStream close
WARNING: 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.Environment
Applications hosted in any deployment type
Details
The warning means that a file was closed by the application before it was completely consumed. These warnings usually occur with actions like published web services. The warning can be safely ignored, as the stream is already aborted and/or closed anyway.
Internal information related
- 224122, 226349
Additional information
Other documentation: Warning implementation in S3AbortableInputStream.java
0 Comments