Hello,

I'm facing this issue not always but few times (and I want to handle this 
in my code):

*[ERROR] [11/16/2017 15:42:42.908] [myactor-threadpool-dispatcher-7] 
[TaskInvocation] TCP idle-timeout encountered on connection to [*
*api.XYZ.com**:443], no bytes passed in the last 50 seconds 
(akka.stream.scaladsl.TcpIdleTimeoutException: TCP idle-timeout encountered 
on connection to [api.XYZ.com:443], no bytes passed in the last 50 seconds)*
*[DEBUG] [11/16/2017 15:43:12.925] 
[configurator-akka.actor.default-dispatcher-6] 
[configurator/Pool(shared->https://**api.XYZ.com**:443)] Shutting down host 
connection pool immediately*

Note that : I'm calling API for more than 10k results. Some of the calls 
return huge JSON response. *Server kills any long running call if it runs 
more than 60 seconds. *I'm using resp.entity.withoutSizeLimit

How can I handle above condition in the code, so that It keeps running 
further without shutting down and process requests (Any way I can log it 
and keep it running further)?


Regards,
Aditya Borde

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to