I have akka-http server app that processes Chunked POST requests. Client is also akka-http.
Once in a while I observe failure with following stacktrace: 00:00:34.638 [imageresizer-akka.actor.default-dispatcher-20265] ERROR a.a.ActorSystemImpl: Error during processing of request HttpRequest(HttpMethod(POST),http://img-backend1.sgrouples.com:8100/resize,List(Host: img-backend1.sgrouples.com:8100, User-Agent: akka-http/2.4.2, Timeout-Access: <function1>),HttpEntity.Chunked(multipart/form-data; boundary=3efbmn-nseSLbkRj5M7iCBRj; charset=UTF-8,akka.stream.scaladsl.Source@4d411eb6),HttpProtocol(HTTP/1.1)) akka.http.scaladsl.model.EntityStreamSizeException: null at akka.http.scaladsl.model.HttpEntity$$anonfun$limitable$1$$anon$1.onPush(HttpEntity.scala:498) ~[mewe-img.jar:1.0] at akka.http.scaladsl.model.HttpEntity$$anonfun$limitable$1$$anon$1.onPush(HttpEntity.scala:478) ~[mewe-img.jar:1.0] at akka.stream.stage.AbstractStage$PushPullGraphLogic$$anon$1.onPush(Stage.scala:56) ~[mewe-img.jar:1.0] at akka.stream.impl.fusing.GraphInterpreter.processElement$1(GraphInterpreter.scala:582) ~[mewe-img.jar:1.0] at akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:593) ~[mewe-img.jar:1.0] at akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:535) ~[mewe-img.jar:1.0] at akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:443) ~[mewe-img.jar:1.0] at akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:398) ~[mewe-img.jar:1.0] at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:547) ~[mewe-img.jar:1.0] at akka.actor.Actor$class.aroundReceive(Actor.scala:480) ~[mewe-img.jar:1.0] at akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:493) ~[mewe-img.jar:1.0] corresponding line is else ctx.fail(EntityStreamSizeException(maxBytes)) I would understand exceeding request size limit, but I have no idea how null can be found in such place -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
