diff --git a/akka-docs/rst/java/http/client-side/host-level.rst b/akka-docs/rst/java/http/client-side/host-level.rst index 889e52d553..7dea5e82dd 100644 --- a/akka-docs/rst/java/http/client-side/host-level.rst +++ b/akka-docs/rst/java/http/client-side/host-level.rst @@ -144,6 +144,11 @@ It's also possible to trigger the immediate termination of *all* connection pool time by calling ``Http.get(system).shutdownAllConnectionPools()``. This call too produces a ``CompletionStage`` which is fulfilled when all pools have terminated. +.. note:: + When encoutering unexpected ``akka.stream.AbruptTerminationException`` exceptions during ``ActorSystem`` **shutdown** + please make sure that active connections are shut down before shutting down the entire system, this can be done by + calling the ``Http.get(system).shutdownAllConnectionPools()`` method, and only once its CompletionStage completes, + shutting down the actor system. Example ------- diff --git a/akka-docs/rst/scala/http/client-side/host-level.rst b/akka-docs/rst/scala/http/client-side/host-level.rst index 01675807b9..745f1e3f16 100644 --- a/akka-docs/rst/scala/http/client-side/host-level.rst +++ b/akka-docs/rst/scala/http/client-side/host-level.rst @@ -143,6 +143,11 @@ It's also possible to trigger the immediate termination of *all* connection pool time by calling ``Http().shutdownAllConnectionPools()``. This call too produces a ``Future[Unit]`` which is fulfilled when all pools have terminated. +.. note:: + When encoutering unexpected ``akka.stream.AbruptTerminationException`` exceptions during ``ActorSystem`` **shutdown** + please make sure that active connections are shut down before shutting down the entire system, this can be done by + calling the ``Http().shutdownAllConnectionPools()`` method, and only once its Future completes, shutting down the actor system. + Example -------