But when I get to my ActorSystem.Create() call, I get this error: Could not load type 'Akka.Util.RuntimeDetector' from assembly 'Akka, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null'.
Well, I realized some of my NuGet packages were not updated, so I made sure all my projects had the most recent versions and that removed the error. Now I'm having an issue where the client can't talk to the system because Akka thinks the address is incorrect. Not sure what I need to do in the worker role to get all the configuration right so a client can talk to the system.
How in the hell do you guys provision a cluster in Azure? I thinking multiple instances in a cloud service. We have to know the ports ahead of time to create the endpoint. But how do you assign a port to an instance? Maddening....
I'm using RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["UserActorEndpoint"] to get the Address and Port but even putting that into my HOCON configuration dynamically doesn't seem to work. The client still gets an error
akka.tcp://KeyWatcherListener@localhost:4545 ---> Akka.Remote.Transport.InvalidAssociationException: Association failure ---> Akka.Remote.Transport.AkkaProtocolException: The remote system explicitly disassociated (reason unknown).
That's the error I'm getting. Changing that to "127.0.0.1" doesn't matter (I'm doing this locally first)
what's your helios.tcp config look like?
var endpoint = RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["UserActorEndpoint"];
var config = ConfigurationFactory.ParseString($@"