10 maj 2014 kl. 10:35 skrev Giovanni Ruggiero <[email protected]>:

> 
> What puzzles us is that the ask() message gets responded. It's the returned 
> Future that times out.

If the Future times out, then the reason for that is that no reply was sent 
within the timeout window. Are you sending to the right ActorRef?

> Another strange thing is that after the first time out, all following 
> requests fail in the same manner.

Are you using a CircuitBreaker? Does your actor block or get stuck?

Regards,

Roland

> 
> Thanks
> 
> Giovanni 
> 
> On Thursday, May 8, 2014 11:07:06 PM UTC+2, Akka Team wrote:
> Sometimes things take time, and somethings messages can also be lost (Akka 
> does at-most-once delivery), so an ask() timing out is something that you 
> will need to expect and handle, even if it should happen rarely.
> 
> Regards,
> 
> Roland
> 
> 
> 
> On Thu, May 8, 2014 at 3:08 PM, Giovanni Ruggiero <[email protected]> 
> wrote:
> 
> No, this happens with several actors, not related to db connections.
> One thing we have observed is that happens after the Play application has 
> been idle for a long period.
> 
> Thanks
> Giovanni
> 
> 
> On Thursday, May 8, 2014 12:25:47 AM UTC+2, Muki wrote:
> Hi,
> I have similar problems with play. The error appears very rarely, which makes 
> it hard to track.
>  Do you build a database connection inside your actor?
> 
> Cheers,
> Muki
> 
> 
> 
> -- 
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> Akka Team
> Typesafe - The software stack for applications that scale
> Blog: letitcrash.com
> Twitter: @akkateam
> 
> -- 
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


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

Reply via email to