Hi,

I am using the akka http scaladsl library to do a HTTP calls against a 
server. I am running a test where I have 15 threads running concurrently 
each making around 250 GET calls(15*250). Trying to run this test for three 
hours but I see that after two and half hours of execution I could see
Detail: akka.stream.StreamTcpException: Connection failed. exception being 
thrown.

Initially I thought the servers isn't accepting the incoming requests. But, 
ran the same test directly against the server and could see no issues.
Code snippet to connect to the server -

connectionFlow= 
Http(context.system).outgoingConnectionTls(req.uri.authority.host.address(), 
port)
Source.single(req.withUri(req.uri.toRelative)).via(connectionFlow).runWith(Sink.head)
 
- Here, req is the HttpRequest.

Could someone please help me out why is that StreamTcpException exception 
is thrown?

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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