These are chat archives for akkadotnet/akka.net

24th
Mar 2018
Onur Gumus
@OnurGumus
Mar 24 2018 01:17
In a cluster, if a node is temporarily down and comes back alive after it is quarantined, it cannot rejoin to the cluster. What should I do for this case ?
Joshua Garnett
@joshgarnett
Mar 24 2018 01:36
Restart the node
Onur Gumus
@OnurGumus
Mar 24 2018 01:36
How can I detect that is quarantined?
Joshua Garnett
@joshgarnett
Mar 24 2018 01:37
I’m pretty sure events are generated
Onur Gumus
@OnurGumus
Mar 24 2018 01:37
Perhaps but can't find
hmm we have this Akka.Remote.QuarantinedEvent
@joshgarnett how do I restart a node without killing the process ?
Joshua Garnett
@joshgarnett
Mar 24 2018 01:39
That’s what I mean
You have to restart the process
Of the node that was quarantined
Onur Gumus
@OnurGumus
Mar 24 2018 01:39
Oh ok
Onur Gumus
@OnurGumus
Mar 24 2018 01:52
@joshgarnett well you can actually just restart the system without killing the process
Joshua Garnett
@joshgarnett
Mar 24 2018 01:52
Fair enough, in my experience if you were quarantined it was probably for a good reason and it’s makes sense to just do a full restart of the process.
Everyone’s use case is different though
Onur Gumus
@OnurGumus
Mar 24 2018 01:53
I agree that is debatable
but it is an option.
Onur Gumus
@OnurGumus
Mar 24 2018 05:59
From the following disassociation message, what can I deduce?
{"@t":"2018-03-23T11:13:46.3025809Z","@mt":"Association with remote system {0} has failed; address is now gated for {1} ms. Reason is: [{2}]","@l":"Warning","0":"akka.tcp://SmartGateSystem@localhost:9083","1":5000,"2":"Akka.Remote.EndpointDisassociatedException: Disassociated\r\n at Akka.Remote.EndpointWriter.PublishAndThrow(Exception reason, LogLevel level, Boolean needToThrow)\r\n at Akka.Remote.EndpointWriter.Unhandled(Object message)\r\n at Akka.Actor.ReceiveActor.ExecutePartialMessageHandler(Object message, PartialAction1 partialAction)\r\n at Akka.Actor.ReceiveActor.OnReceive(Object message)\r\n at Akka.Actor.UntypedActor.Receive(Object message)\r\n at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)\r\n at Akka.Actor.ActorCell.ReceiveMessage(Object message)\r\n at Akka.Actor.ActorCell.ReceivedTerminated(Terminated t)\r\n at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)\r\n at Akka.Actor.ActorCell.Invoke(Envelope envelope)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Akka.Actor.ActorCell.HandleFailed(Failed f)\r\n at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)","Thread":"0014","LogSource":"[akka://SmartGateSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FSmartGateSystem%40localhost%3A9083-21#899920873]","Timestamp":"2018-03-23T11:13:46.2955809Z","SourceContext":"akka://SmartGateSystem/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FSmartGateSystem%40localhost%3A9083-21","ApplicationSession":"bd4970e6-13cf-4d8b-b182-4cc438c736a4"}
`
Roman Golenok
@shersh
Mar 24 2018 20:50

Hi guys, I'm running Lighthouse with configs

 remote {
            log-remote-lifecycle-events = DEBUG
            dot-netty.tcp {
              hostname = "127.0.0.1"
              port = 3333
            }
          }

But it's unreachable from non local clients.
if I change hostname to "0.0.0.0" I see errors like
dropping message for non-local recipient

So how I should change config for remote actor for using it's from outside of localhost?