Hi guys, 

I have a spray route where I declare one of my actors.

Sometimes, I can see when I got heavy load on the machines, some of the 
requests may fail with the following message:

Caused by: akka.pattern.AskTimeoutException: Ask timed out on 
[ActorSelection[Anchor(akka://default/), Path(/user/my-actor)]] after [8000 
ms]. Sender[null] sent message of type "my.company.messages.Request".

The problem is if I take the same request and try to send it again, it 
works, only sometimes this happens and I have no idea how to solve that.

The actor indeed is doing a lot of things with lots of futures inside until 
it returns a value to the spray route.

Inside the actor, I create a val called replyTo in order to keep the value 
of the sender.

Any ideas on why sometimes I get this error?

Cheers,
Thiago

-- 
>>>>>>>>>>      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