dubee opened a new issue #4028: Uncaught exception in invoker
URL: https://github.com/apache/incubator-openwhisk/issues/4028
 
 
   Below is an uncaught exception that I believe occurs when an action's 
response exceeds the configured HTTP max content-length. We should catch this 
exception properly.
   
   ```
   configure this by setting 
`akka.http.[server|client].parsing.max-content-length` or calling 
`HttpEntity.withSizeLimit` before materializing the dataBytes stream.
   akka.http.scaladsl.model.EntityStreamSizeException: 
EntityStreamSizeException: actual entity size (Some(27711372)) exceeded content 
length limit (8388608 bytes)! You can configure this by setting 
`akka.http.[server|client].parsing.max-content-length` or calling 
`HttpEntity.withSizeLimit` before materializing the dataBytes stream.
        at 
akka.http.scaladsl.model.HttpEntity$Limitable$$anon$1.preStart(HttpEntity.scala:612)
        at 
akka.stream.impl.fusing.GraphInterpreter.init(GraphInterpreter.scala:295)
        at 
akka.stream.impl.fusing.GraphInterpreterShell.init(ActorGraphInterpreter.scala:557)
        at 
akka.stream.impl.fusing.ActorGraphInterpreter.tryInit(ActorGraphInterpreter.scala:679)
        at 
akka.stream.impl.fusing.ActorGraphInterpreter.finishShellRegistration(ActorGraphInterpreter.scala:721)
        at 
akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$shortCircuitBatch(ActorGraphInterpreter.scala:736)
        at 
akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:761)
        at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
        at 
akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:670)
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:588)
        at akka.actor.ActorCell.invoke(ActorCell.scala:557)
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
        at akka.dispatch.Mailbox.run(Mailbox.scala:225)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to