Any solutions to this one yet? I'm getting the same error in a Play 2.4 app. During Global.onStop I call my subscribers onComplete function, but I still see the Processor actor terminated abruptly error. Any ideas?
On Thursday, April 30, 2015 at 2:55:32 PM UTC-6, Samuel Tardieu wrote: > > Hi. > > With akka http 1.0-RC2 (was similar in 1.0-RC1), one of my program signals > an intermittent error that I do not understand. > > The context: one HTTP GET request is sent out, the JSON response is > properly received, decoded and acted upon, and then the system terminates > with (system being my ActorSystem): > > Await.ready(Http().shutdownAllConnectionPools(), 5.seconds) > system.shutdown() > > The error only happens from time to time (I’d say once every three runs). > I have activated akka.actor.debug.{receive,autoreceive,lifecycle,fsm}. > > Any idea of what could be the cause? > > INFO] [04/30/2015 22:36:01.916] [run-main-0] [ActorSystem(default)] > Initiating orderly shutdown of all active host connections pools... > [DEBUG] [04/30/2015 22:36:01.921] [default-akka.actor.default-dispatcher-8] > [akka://default/system/deadLetterListener] stopped > [DEBUG] [04/30/2015 22:36:01.922] [default-akka.actor.default-dispatcher-5] > [akka://default/user/$a/flow-2-3-publisherSource-processor-mapConcat] stopped > [DEBUG] [04/30/2015 22:36:01.922] [default-akka.actor.default-dispatcher-6] > [akka://default/user/$a/flow-2-9-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.retryMerge-flexiMerge] > stopped > [DEBUG] [04/30/2015 22:36:01.922] [default-akka.actor.default-dispatcher-5] > [akka://default/user/$a/flow-2-2-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute] > stopped > [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-12] > [akka://default/user/$a/flow-2-4-publisherSource-Merge] stopped > [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-14] > [akka://default/user/$a/flow-2-1-publisherSource-Merge] stopped > [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-10] > [akka://default/user/$a/flow-2-11-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.RetrySplit-flexiRoute] > stopped > [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-12] > [akka://default/user/$a/flow-2-12-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute] > stopped > [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-14] > [akka://default/user/$a/flow-2-14-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute] > stopped > [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-10] > [akka://default/user/$a/flow-2-5-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute] > stopped > [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-12] > [akka://default/user/$a/flow-2-13-publisherSource-processor-mapConcat] stopped > [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-14] > [akka://default/user/$a/flow-2-15-publisherSource-processor-mapConcat] stopped > [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-10] > [akka://default/user/$a/flow-2-6-publisherSource-processor-mapConcat] stopped > [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-3] > [akka://default/user] stopping > [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-4] > [akka://default/user/SlotProcessor-0] stopped > [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-14] > [akka://default/user/SlotProcessor-3] stopped > [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-10] > [akka://default/user/SlotProcessor-1] stopped > [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-12] > [akka://default/user/SlotProcessor-2] stopped > [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-12] > [akka://default/user/$a/flow-3-16-actorPublisherSource-actorSubscriberSink] > stopped > [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-13] > [akka://default/user/$a/flow-2-8-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.Route-flexiRoute] > stopped > [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-11] > [akka://default/user/$a/flow-2-7-publisherSource-PoolConductor.retryMerge-flexiMerge-mapConcat] > stopped > [DEBUG] [04/30/2015 22:36:01.928] [default-akka.actor.default-dispatcher-8] > [akka://default/user/PoolInterfaceActor-0] stopped > [DEBUG] [04/30/2015 22:36:01.928] [default-akka.actor.default-dispatcher-9] > [akka://default/user/$a/flow-2-10-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.SlotSelector-flexiMerge] > stopped > [DEBUG] [04/30/2015 22:36:01.928] [default-akka.actor.default-dispatcher-14] > [akka://default/user/$a/flow-3-0-actorPublisherSource-actorPublisherSource] > stopped > [DEBUG] [04/30/2015 22:36:01.928] [default-akka.actor.default-dispatcher-9] > [akka://default/user/$a/flow-3-1-actorPublisherSource-Broadcast-map] stopped > [DEBUG] [04/30/2015 22:36:01.928] [default-akka.actor.default-dispatcher-8] > [akka://default/user/$a/flow-3-10-actorPublisherSource-Broadcast-stageFactory-stageFactory-splitWhen] > stopped > [DEBUG] [04/30/2015 22:36:01.929] [default-akka.actor.default-dispatcher-5] > [akka://default/user/$a/flow-3-3-actorPublisherSource-Broadcast-Broadcast] > stopped > [DEBUG] [04/30/2015 22:36:01.929] [default-akka.actor.default-dispatcher-9] > [akka://default/user/$a/flow-3-8-actorPublisherSource-Broadcast-ResponsePersingMerge-flexiMerge] > stopped > [DEBUG] [04/30/2015 22:36:01.929] [default-akka.actor.default-dispatcher-5] > [akka://default/user/$a/flow-3-15-actorPublisherSource-Broadcast-stageFactory-stageFactory-stageFactory] > stopped > [DEBUG] [04/30/2015 22:36:01.929] [default-akka.actor.default-dispatcher-9] > [akka://default/user/$a/flow-3-11-actorPublisherSource-Broadcast-stageFactory-stageFactory-collect] > stopped > [DEBUG] [04/30/2015 22:36:01.929] [default-akka.actor.default-dispatcher-9] > [akka://default/user/$a/flow-3-9-actorPublisherSource-Broadcast-Broadcast] > stopped > [DEBUG] [04/30/2015 22:36:01.930] [default-akka.actor.default-dispatcher-9] > [akka://default/user/$a/flow-3-2-actorPublisherSource-Broadcast-TerminationMerge-flexiMerge] > stopped > [DEBUG] [04/30/2015 22:36:01.930] [default-akka.actor.default-dispatcher-11] > [akka://default/user/$a/flow-3-4-actorPublisherSource-Broadcast-map-map-map] > stopped > [DEBUG] [04/30/2015 22:36:01.930] [default-akka.actor.default-dispatcher-9] > [akka://default/user/$a/flow-3-5-actorPublisherSource-Broadcast-map-map-renderer] > stopped > [DEBUG] [04/30/2015 22:36:01.930] [default-akka.actor.default-dispatcher-11] > [akka://default/user/$a/flow-3-6-actorPublisherSource-Broadcast-map-map-concatAll] > stopped > [DEBUG] [04/30/2015 22:36:01.930] [default-akka.actor.default-dispatcher-5] > [akka://default/user/$a/flow-3-13-actorPublisherSource-Broadcast-stageFactory-stageFactory-map-map-concatAll] > stopped > [DEBUG] [04/30/2015 22:36:01.931] [default-akka.actor.default-dispatcher-2] > [akka://default/user/$a] stopping > [DEBUG] [04/30/2015 22:36:01.932] [default-akka.actor.default-dispatcher-13] > [akka://default/user/$a/flow-3-12-actorPublisherSource-Broadcast-stageFactory-stageFactory-map-map-map] > stopped > [DEBUG] [04/30/2015 22:36:01.932] [default-akka.actor.default-dispatcher-8] > [akka://default/user/$a/flow-3-14-actorPublisherSource-Broadcast-stageFactory-stageFactory-mapConcat] > stopped > [DEBUG] [04/30/2015 22:36:01.933] [default-akka.actor.default-dispatcher-5] > [akka://default/user/$a/flow-7-4-publisherSource-prefixAndTail] stopped > [ERROR] [04/30/2015 22:36:01.934] [default-akka.actor.default-dispatcher-11] > [ActorSystem(default)] Outgoing request stream error > java.lang.IllegalStateException: Processor actor terminated abruptly > at akka.stream.impl.ActorProcessorImpl.postStop(ActorProcessor.scala:291) > at akka.actor.Actor$class.aroundPostStop(Actor.scala:477) > at > akka.stream.impl.ActorProcessorImpl.aroundPostStop(ActorProcessor.scala:248) > at > akka.actor.dungeon.FaultHandling$class.akka$actor$dungeon$FaultHandling$$finishTerminate(FaultHandling.scala:210) > at > akka.actor.dungeon.FaultHandling$class.terminate(FaultHandling.scala:172) > at akka.actor.ActorCell.terminate(ActorCell.scala:369) > at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:462) > at akka.actor.ActorCell.systemInvoke(ActorCell.scala:478) > at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:279) > at akka.dispatch.Mailbox.run(Mailbox.scala:220) > at akka.dispatch.Mailbox.exec(Mailbox.scala:231) > at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) > at > scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) > at > scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) > at > scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) > > [DEBUG] [04/30/2015 22:36:01.934] [default-akka.actor.default-dispatcher-11] > [akka://default/user/$a/flow-3-7-actorPublisherSource-Broadcast-map-map-errorLogger] > stopped > [DEBUG] [04/30/2015 22:36:01.936] [default-akka.actor.default-dispatcher-2] > [akka://default/user/$a] stopped > [DEBUG] [04/30/2015 22:36:01.938] [default-akka.actor.default-dispatcher-11] > [akka://default/user] stopped > [DEBUG] [04/30/2015 22:36:01.938] [default-akka.actor.default-dispatcher-5] > [akka://default/system/IO-TCP-STREAM/client-1-localhost%2F127.0.0.1%3A5984] > stopped > [DEBUG] [04/30/2015 22:36:01.940] [default-akka.actor.default-dispatcher-8] > [akka://default/system/IO-TCP/selectors/$a/0] stopped > [DEBUG] [04/30/2015 22:36:01.941] [default-akka.actor.default-dispatcher-11] > [akka://default/system] received AutoReceiveMessage > Envelope(Terminated(Actor[akka://default/user]),Actor[akka://default/user]) > [DEBUG] [04/30/2015 22:36:01.941] [default-akka.actor.default-dispatcher-5] > [akka://default/system/IO-TCP/selectors/$a] received AutoReceiveMessage > Envelope(Terminated(Actor[akka://default/system/IO-TCP/selectors/$a/0#366411710]),Actor[akka://default/system/IO-TCP/selectors/$a/0#366411710]) > [DEBUG] [04/30/2015 22:36:01.943] [default-akka.actor.default-dispatcher-11] > [EventStream] shutting down: StandardOutLogger started > > > > -- >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.