Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 08:35

    Aaronontheweb on dev

    Fix build script to be able to … (compare)

  • 08:35
    Aaronontheweb closed #3924
  • 08:28
    Aaronontheweb synchronize #3927
  • 08:28
    Aaronontheweb synchronize #3924
  • 08:28

    Aaronontheweb on dev

    added updated Windows Release p… Merge pull request #3869 from A… Fixed Akka.Remote.ResendUnfulfi… and 6 more (compare)

  • 08:28
    Aaronontheweb closed #3932
  • 08:22
    Aaronontheweb opened #3932
  • 08:16

    Aaronontheweb on 1.3.15

    (compare)

  • 08:14

    Aaronontheweb on master

    Fixed Akka.Remote.ResendUnfulfi… added v1.4.0-beta2 release note… added Akka.NET v1.3.15 release … and 2 more (compare)

  • 08:14
    Aaronontheweb closed #3931
  • 08:11
    Aaronontheweb synchronize #3931
  • 07:59
    Aaronontheweb commented #3905
  • 07:58
    Aaronontheweb edited #3931
  • 07:57
    Aaronontheweb commented #3889
  • 07:54
    Aaronontheweb synchronize #3931
  • 07:49
    Aaronontheweb opened #3931
  • 07:41
    Aaronontheweb closed #3930
  • 07:41
    Aaronontheweb commented #3930
  • 07:34
    Aaronontheweb opened #3930
  • 07:22
    Aaronontheweb synchronize #3924
Arsene T. Gandote
@Tochemey
Thank you
Robert Stiff
@uatec
aloha
Jason Bock
@JasonBock
Hey, got a question about hosting an actor system in Azure. I tried following this: http://getakka.net/docs/deployment-scenarios/Azure%20PaaS%20Worker%20Role.
But when I get to my ActorSystem.Create() call, I get this error: Could not load type 'Akka.Util.RuntimeDetector' from assembly 'Akka, Version=1.1.1.27, Culture=neutral, PublicKeyToken=null'.
Any ideas?
Jason Bock
@JasonBock
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.
Chris Martin
@trbngr
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....
Jason Bock
@JasonBock
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)
Chris Martin
@trbngr
what's your helios.tcp config look like?
Jason Bock
@JasonBock
        var endpoint = RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["UserActorEndpoint"];
        var config = ConfigurationFactory.ParseString($@"
akka {{
actor {{
provider = ""Akka.Remote.RemoteActorRefProvider, Akka.Remote""
}}
remote {{
helios.tcp {{
port = {endpoint.IPEndpoint.Port}
hostname = {endpoint.IPEndpoint.Address}
}}
}}
}}
");
Chris Martin
@trbngr
I'm assuming single instance.
Jason Bock
@JasonBock
sorry for the formatting
Chris Martin
@trbngr
cool
Jason Bock
@JasonBock
this.system = ActorSystem.Create("KeyWatcherListener", config);
That's what I do in my worker role, and that works (at least it doesn't fail)
but the client app gets the exception when it tries to talk to the system.
Chris Martin
@trbngr
so you get a unique port per instance?
Chris Martin
@trbngr
I see now. I was setting up NAT with public-hostname which may just need to be the IPAddress
and not the public IP of the cloud service
Chris Martin
@trbngr
BTW: my config
Jason Bock
@JasonBock
This is just using the local Azure compute emulator
Chris Martin
@trbngr
Using that config ^ works locally for me
Jason Bock
@JasonBock
Ok...I'll give it a whirl
BTW the port isn't dynamic, it's what I assigned it to in the endpoint configuration screen (4545)
what is the URI that you use to connect to the system locally?
Chris Martin
@trbngr
Right....Just an oversight on my part. Azure is such a pain. Or maybe it's .NET.
I have zero problems in AWS w/ Scala Akka ;)
btw. My local config is single instance. I suppose I should test multi there too
Chris Martin
@trbngr
RoleEnvironment.CurrentRoleInstance.InstanceEndpoints will not work in the cloud. It gives back the private IP of the machine. Back to using the public IP of the cloud service. Now how do I get some dynamic ports working?
What we need is the ability to join a cloudservice to a VNet. ugh....azure.....
Chris Martin
@trbngr
Of course that doesn't work. sigh.
Chris Martin
@trbngr
That doesn't work with ARM VNets. Which I'm using to host my lighthouse VMs.
Chris Martin
@trbngr
The answer lies somewhere with InstanceInputEndpoint/AllocatePublicPortFrom/FixedPortRange but I'm too frustrated to dig further.
Chris Martin
@trbngr
@JasonBock Sorry I just noticed that I missed this what is the URI that you use to connect to the system locally?. I just use localhost locally.
Jason Bock
@JasonBock
OK, thanks for checking. That's what I used, and still no dice :(
Peter Bergman
@peter-bannerflow
@trbngr I use a cloud service (web role) together with VMs and they are all on the same VNet. Seem to work fine. I think I had to use classic VMs + classic VNet to get it working. As for config, I use the private subnet IP of the box as hostname.
Bart de Boer
@boekabart
So with 1.1.2 out the door ... is Akka.Pers.SQLite now supported for Mono ?
I recall when I tried a while back, the loading of the actual SQLite.dll was (obviously) a problem on macOS
Chris Martin
@trbngr
@peter-bannerflow thanks. I'll give it another whirl tomorrow. Private IP works when I can connect to the vnet 🤑
Arsene T. Gandote
@Tochemey
This message was deleted
Alex Valuyskiy
@alexvaluyskiy
@boekabart Sqlite is not supported on Mono
read these instructions if you want to run it on mono https://system.data.sqlite.org/index.html/doc/trunk/www/build.wiki#mono
Robert Stiff
@uatec
hey
so i'm trying to use cluster sharding, and i've followed the documentation and i simply get "Trying to register to coordinator at [], but no acknowledgement. Total 2 buffered messages.", but it never instantiates my actor
Bartosz Sypytkowski
@Horusiath
@uatec did you setup a persistent backend?
Robert Stiff
@uatec
@Horusiath not yet, but i'm not bothered about persistence yet
from the documentation, that shouldn't matter
i have established that have a single node cluster pointing directly to itself works