Hi Mint,

the exception is not only thrown in the Endpoint.scala but also published
to the event stream. So you could subscribe to event stream
<http://stackoverflow.com/questions/23005344/akka-implement-a-custom-deadletterlistener-actor/23007158#23007158>
for AssociationErrorEvent events and look for the cause of the exception.


On Mon, Jul 7, 2014 at 6:20 PM, Mint <[email protected]> wrote:

> Hello Patrik,
>
> After having corrected a bug in our code for aggregation message
> serialization.  Everything works much better!! Thanks to akka, we can
> distribute our service easily. You guys do really a good job!!
>
> I have debugged into the code of akka to detect this, perhaps there's a
> way to log the exception message more explicitly? I see in the code of
> Endpoint.scala the real background exception is encapsulated and never
> logged.
>
> Thanks,
>
> Mint
>
> 在 2014年7月4日星期五UTC+2下午5时42分41秒,Patrik Nordwall写道:
>
>> First of all, use latest released version. That is 2.3.4. Then we can
>> talk :-)
>> /Patrik
>>
>>
>> On Fri, Jul 4, 2014 at 5:05 PM, Mint <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I'm writing code using akka cluster to distribute our internal analytics
>>> tool.
>>> At the beginning things go quite well when I have one analytic client
>>> and 2 till 3 analytic remote workers. But every time I try to add one more
>>> remote nodes to the cluster(totally one client node and 4 remote worker
>>> nodes in the cluster), I get  warning Association with remote system
>>> [akka.tcp:/analytics-cluster@host:port] has failed, address is now
>>> gated for [5000] ms. Reason is: [Failed to write message to the transport].
>>>  Query execution failed because result came from the 4th worker node cannot
>>> be delivered to client.
>>>
>>> So could you guys tell me how I should configure the application so that
>>> it can handle more than 4 remote workers and how can I get the internal
>>> exception stack to know what is the really reason that the message cannot
>>> be delivered(I have already enable log-received-messages= on
>>> log-sent-messages=on, with global log level to DEBUG) ?
>>>
>>> Thanks a lot and any advice can help me a lot.
>>>
>>> Mint
>>>
>>> --
>>> >>>>>>>>>> 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.
>>>
>>
>>
>>
>> --
>>
>> Patrik Nordwall
>> Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
>> Twitter: @patriknw
>>
>>   --
> >>>>>>>>>> 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.
>



-- 
Martynas Mickevičius
Typesafe <http://typesafe.com/> – Reactive
<http://www.reactivemanifesto.org/> Apps on the JVM

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