Re: [akka-user] Aborting tcp connection in Akka 2.4.3 with Http().singleRequest()

2016-04-06 Thread xiaog zh
OK, thanks. I've found the reason why my requests never come back. Even though the server responses 404, I have to consume the response body. Or the pooled connections will never get released. On Wednesday, April 6, 2016 at 6:19:44 PM UTC+8, Konrad Malawski wrote: > > Firstly, it's a DEBUG

Re: [akka-user] Aborting tcp connection in Akka 2.4.3 with Http().singleRequest()

2016-04-06 Thread Konrad Malawski
Firstly, it's a DEBUG level message – it's nothing "bad" happening. Simply after some time of no data being passed through a connection is is being shut down – it's an "idle timeout", otherwise we may end up having thousands of connections open which are doing nothing. Please read the docs on

[akka-user] Aborting tcp connection in Akka 2.4.3 with Http().singleRequest()

2016-04-06 Thread xiaog zh
hi, I use `Http().singleRequest()` to contact with a upstream API server, and the server returns 404 all the time (when query non exists entities). And suddenly, roughly about 3 ~ 4 round request-response trips, I get such log with stack trace not formatted. And after this log, my requests