This is just a stab in the dark, but does the actor that receives the ask() request use futures in it's receive function? I'm wondering if maybe you're closing over sender() improperly, causing some replies to go to the wrong actor.
On Saturday, May 10, 2014 2:35:43 AM UTC-6, Giovanni Ruggiero wrote: > > > What puzzles us is that the ask() message gets responded. It's the > returned Future that times out. > Another strange thing is that after the first time out, all following > requests fail in the same manner. > > 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.
