Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 19 23:39
    valdisz synchronize #3889
  • Oct 19 23:08
    edvinasz commented #2947
  • Oct 19 13:36
    Aaronontheweb commented #3973
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3995
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump BenchmarkDotNet from 0.10.… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] edited #3995
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3993
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump Google.Protobuf from 3.9.1… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3991
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump Microsoft.Extensions.Depen… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3989
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump ApiApprover from 3.0.1 to … (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3992
  • Oct 19 13:34
    dependabot-preview[bot] edited #3993
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3985
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump System.Reflection.Emit fro… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3986
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump FsCheck.Xunit from 2.9.0 t… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3983
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump NUnit from 3.6.1 to 3.12.0… (compare)

Jason Bock
@JasonBock
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
but when i try to introduce the lighthouse, the lighthouse starts throwing weird exceptions([ERROR][26/09/2016 13:23:26][Thread 0012][[akka://birch/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fbirchd%40127.0.0.1%3A62441-1/endpointWriter#780246330]] Dropping message [Akka.Actor.ActorSelectionMessage] for non-local recipient [[akka.tcp://birchd@127.0.0.1:4053/]] arriving at [akka.tcp://birchd@127.0.0.1:4053] inbound addresses [akka.tcp://birch@127.0.0.1:4053])
and my node never starts the coordinator
Bartosz Sypytkowski
@Horusiath
@uatec by default cluster sharding will assume, that every node in the cluster has cluster sharding capability. This includes lighthouse, which is not capable of such thing. You need to set config to limit cluster sharding to nodes having particular role and make sure only correct nodes have that role
something like:
akka.cluster.roles = [ "cluster-sharding" ]
akka.cluster.sharding.role = "cluster-sharding"
Bart de Boer
@boekabart
@alexvaluyskiy thanks
Robert Stiff
@uatec
@Horusiath yes, i've done that both in configuration and in code (when creating the clustershardingsettings
well, adding the sharding.roles in to the configuration file has stopped it from throwing errors over to the lighthouse, which is great
although it's not helping my shardregion figure out whether to spawn a coordinator
oh wait, it hasn't... pfff