Random exception for fileupload directive

(Monali) #1


We have akka fileupload directive implementation to post file to amazon s3. When we run 10 concurrent users posting file to be uploaded every 10 seconds, the testcase randomly fails with akka.http.impl.engine.client.OutgoingConnectionBlueprint$UnexpectedConnectionClosureException: The http server closed the connection unexpectedly before delivering responses for 1 outstanding requests . But, if we do the same excercise again, it will succeed.

We are using akka-stream 2.5.6, akka-http 10.0.11, alpakka 0.14V. Any idea how to fix it.

(Johannes Rudolph) #2

Hi @bagalkotimonali,

can you try with the latest versions first?