Closed raboof closed 3 weeks ago
AFAICT I've consumed all response entities.
In this code https://codeberg.org/eicas/admin-sync/src/branch/main/Zettle.scala#L62-L63
if (r.status != StatusCodes.OK)
throw new IllegalStateException(s"Zettle returned status ${r.status}")
you are not consuming the response, if the status is not OK...
while true (sorry for the mess, not a great example :laughing: ), in that case I'd expect the script to abort with that IllegalStateException
, which I don't see.
Adding debug logging, I do see the requests getting completely consumed
After upgrading both Pekko and Pekko HTTP to 1.1.0-M1, however, I can't reproduce the issue anymore. Let's close for now.
Getting a
Pool shutdown unexpectedly
error when gracefully stopping the actor system. We should probably document what can trigger this in https://pekko.apache.org/docs/pekko-http/current/troubleshooting ?AFAICT I've consumed all response entities.
(the code is at https://codeberg.org/eicas/admin-sync/src/branch/main/Zettle.scala - warning, quick hacks ahead :) )