akka / alpakka

Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
https://doc.akka.io/libraries/alpakka/current/
Other
1.26k stars 644 forks source link

S3: Entity Stream Truncation #2064

Open anands-cuelogic opened 4 years ago

anands-cuelogic commented 4 years ago

akka.http.scaladsl.model.EntityStreamException: Entity stream truncation

Getting error while reading data from AWS S3. I'm using version "com.lightbend.akka" %% "akka-stream-alpakka-s3" % 1.1.2

seglo commented 4 years ago

The error message indicates a connection error reported by the akka-http client. I suggest you add error handling to your stream if you want your app to recover from this kind of transient error.

There was recently an improvement to make this exception message more clear. https://github.com/akka/akka-http/commit/d46130d76f75db8a974bdc5c78b8ef088c555dbf