Re: [akka-user] ActorSystem.shutdown() producing AbruptTerminationException

2015-09-10 Thread Akka Team
On Thu, Sep 10, 2015 at 4:27 PM, Matthew Adams wrote: > That was it, Endre. I added > > Http().shutdownAllConnectionPools() andThen { case _ => system.shutdown() > } > > and it terminated normally. Thanks for the RTFM. > No worries, current docs contain quite a lot of information, but it is har

Re: [akka-user] ActorSystem.shutdown() producing AbruptTerminationException

2015-09-10 Thread Matthew Adams
That was it, Endre. I added Http().shutdownAllConnectionPools() andThen { case _ => system.shutdown() } and it terminated normally. Thanks for the RTFM. -matthew On Thursday, September 10, 2015 at 4:44:19 AM UTC-5, Akka Team wrote: > > Hi Matthew > > You are using the request-based HTTP cl

Re: [akka-user] ActorSystem.shutdown() producing AbruptTerminationException

2015-09-10 Thread Akka Team
Hi Matthew You are using the request-based HTTP client API which is only a thin wrapper around the connection pool APIs. I recommend to take a look at the documentation of the various pools: http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala/http/client-side/host-level.html What

[akka-user] ActorSystem.shutdown() producing AbruptTerminationException

2015-09-09 Thread Matthew Adams
The sample code *object Main extends App {* * implicit val system = ActorSystem("akka-http-core")* * implicit val materializer = ActorMaterializer()* * val uri = Uri("http://maps.googleapis.com/maps/api/elevation/json?locations=27.988056,86.925278";)* * Http().singleRequest(HttpReques