{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka-http/issues/1847","repository_url":"https://api.github.com/repos/akka/akka-http","labels_url":"https://api.github.com/repos/akka/akka-http/issues/1847/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka-http/issues/1847/comments","events_url":"https://api.github.com/repos/akka/akka-http/issues/1847/events","html_url":"https://github.com/akka/akka-http/issues/1847","id":295708221,"number":1847,"title":"Investigate withSizeLimit, may not work?","user":{"login":"ktoso","id":120979,"avatar_url":"https://avatars1.githubusercontent.com/u/120979?v=4","gravatar_id":"","url":"https://api.github.com/users/ktoso","html_url":"https://github.com/ktoso","followers_url":"https://api.github.com/users/ktoso/followers","following_url":"https://api.github.com/users/ktoso/following{/other_user}","gists_url":"https://api.github.com/users/ktoso/gists{/gist_id}","starred_url":"https://api.github.com/users/ktoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktoso/subscriptions","organizations_url":"https://api.github.com/users/ktoso/orgs","repos_url":"https://api.github.com/users/ktoso/repos","events_url":"https://api.github.com/users/ktoso/events{/privacy}","received_events_url":"https://api.github.com/users/ktoso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-08T23:57:04Z","updated_at":"2018-02-08T23:57:39Z","closed_at":null,"author_association":"OWNER","body":"Reproducer posted on gitter by Dan Ellis @danellis, I've not yet reproduced with it yet;\r\n\r\n---- \r\n\r\n> Dan Ellis @danellis 00:23\r\n> @ktoso Alright, here's my repro: https://github.com/danellis/akka-entity-size-repro\r\n> Although in this case, I don't understand what's going on, because it appears to download the whole  thing, then gives the EntityStreamSizeException when I ^C it.\r\n\r\n> Dan Ellis @danellis 00:23\r\n> (If I terminate the actor system when the download finishes, I get the same thing.)\r\nI'm testing using a ~40M file.\r\n\r\n```\r\n 23:22:25.332 ERROR akka.actor.RepointableActorRef - Error during preStart in [akka.http.scaladsl.model.HttpEntity$Limitable@70518d2a]: EntityStreamSizeException: actual entity size (Some(41677837)) 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.\r\nakka.http.scaladsl.model.EntityStreamSizeException: EntityStreamSizeException: actual entity size (Some(41677837)) 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.\r\n    at akka.http.scaladsl.model.HttpEntity$Limitable$$anon$1.preStart(HttpEntity.scala:612)\r\n    at akka.stream.impl.fusing.GraphInterpreter.init(GraphInterpreter.scala:293)\r\n    at akka.stream.impl.fusing.GraphInterpreterShell.init(ActorGraphInterpreter.scala:553)\r\n    at akka.stream.impl.fusing.ActorGraphInterpreter.tryInit(ActorGraphInterpreter.scala:675)\r\n    at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$postStop$2.apply(ActorGraphInterpreter.scala:795)\r\n    at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$postStop$2.apply(ActorGraphInterpreter.scala:795)\r\n    at scala.collection.immutable.List.foreach(List.scala:392)\r\n    at akka.stream.impl.fusing.ActorGraphInterpreter.postStop(ActorGraphInterpreter.scala:795)\r\n    at akka.actor.Actor$class.aroundPostStop(Actor.scala:536)\r\n    at akka.stream.impl.fusing.ActorGraphInterpreter.aroundPostStop(ActorGraphInterpreter.scala:666)\r\n    at akka.actor.dungeon.FaultHandling$class.akka$actor$dungeon$FaultHandling$$finishTerminate(FaultHandling.scala:210)\r\n    at akka.actor.dungeon.FaultHandling$class.terminate(FaultHandling.scala:172)\r\n    at akka.actor.ActorCell.terminate(ActorCell.scala:370)\r\n    at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:468)\r\n    at akka.actor.ActorCell.systemInvoke(ActorCell.scala:484)\r\n    at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)\r\n    at akka.dispatch.Mailbox.run(Mailbox.scala:223)\r\n    at akka.dispatch.Mailbox.exec(Mailbox.scala:234)\r\n    at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n    at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\r\n    at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\r\n```"},"comment":{"url":"https://api.github.com/repos/akka/akka-http/issues/comments/364289666","html_url":"https://github.com/akka/akka-http/issues/1847#issuecomment-364289666","issue_url":"https://api.github.com/repos/akka/akka-http/issues/1847","id":364289666,"user":{"login":"ktoso","id":120979,"avatar_url":"https://avatars1.githubusercontent.com/u/120979?v=4","gravatar_id":"","url":"https://api.github.com/users/ktoso","html_url":"https://github.com/ktoso","followers_url":"https://api.github.com/users/ktoso/followers","following_url":"https://api.github.com/users/ktoso/following{/other_user}","gists_url":"https://api.github.com/users/ktoso/gists{/gist_id}","starred_url":"https://api.github.com/users/ktoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktoso/subscriptions","organizations_url":"https://api.github.com/users/ktoso/orgs","repos_url":"https://api.github.com/users/ktoso/repos","events_url":"https://api.github.com/users/ktoso/events{/privacy}","received_events_url":"https://api.github.com/users/ktoso/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T23:57:39Z","updated_at":"2018-02-08T23:57:39Z","author_association":"OWNER","body":"Made it a repo so does not get lost, too sleepy to check it right now... Thanks for reporting @danellis "}}
{"actor":{"display_login":"ktoso"}}