Sorry, this fell through the cracks.

Mathias/Johannes, have you seen this?

Regards,

Roland

> 25 mar 2015 kl. 03:53 skrev Paul Cleary <[email protected]>:
> 
> I have gone back to Spray 1.3.2 for the time being as this is a stopper for 
> me.
> 
> I spent a lot of time trying to sort through this Akka Http issue and threw 
> in the towel.
> 
> On Tuesday, March 24, 2015 at 8:23:01 AM UTC-4, Paul Cleary wrote:
> One other note with this issue, it seems when I get it, the java process 
> never dies, and starts hogging all of my CPU.  Perhaps there is some kind of 
> out-of-control looping that is going on?
> 
> On Monday, March 23, 2015 at 9:26:06 AM UTC-4, Paul Cleary wrote:
> I am trying to put together a route that does a decode with Gzip, and then 
> uses an entity(as.
> 
> With gzip decoding on, my route is not running.  If I remove Gzip, then 
> everything works fine.
> 
> Here is the error I am getting:
> Request was neither completed nor rejected within 1 second 
> (RouteTest.scala:53)
> 
> Here is the route:
> 
> // this is the route, "spanRouter" is an actor ref, does nothing right now
> path("spans") {
>   post {
>     decodeRequestWith(Gzip) {
>       entity(as[Span]) { span =>
>         complete {
>           spanRouter ! span
>           Future.successful(HttpResponse(StatusCodes.Accepted))
>         }
>       }
>     }
>   }
> }
> 
> // and here is the test
> def compress(json:String) = 
> Gzip.newCompressor.compress(ByteString(json.getBytes))
> ...
> 
> val compressedBody = HttpEntity(ContentTypes.`application/json`, 
> compress(json))
> Post("/spans", 
> compressedBody).withHeaders(`Content-Encoding`(HttpEncodings.gzip)) ~> 
> underTest ~> check {
>   status shouldEqual StatusCodes.Accepted
>   probe.receiveOne(3.seconds)
> }
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
> >>>>>>>>>> <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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/akka-user 
> <http://groups.google.com/group/akka-user>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe <http://typesafe.com/> – Reactive apps on the JVM.
twitter: @rolandkuhn
 <http://twitter.com/#!/rolandkuhn>

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to