akkadotnet / akkadotnet-templates Goto Github PK
View Code? Open in Web Editor NEWProduction-ready dotnet new templates for Akka.NET.
License: Apache License 2.0
Production-ready dotnet new templates for Akka.NET.
License: Apache License 2.0
Version Information
Version of Akka.NET? LAST
Which Akka.NET Modules? WebApiTemplate.App not modified
Describe the bug
Cluster not formed. I reduced the param "RequiredContactPointsNr" to 0 and to 1, but cluster never formed.
To Reproduce
Steps to reproduce the behavior:
Run the WebApiTemplate.App
Expected behavior
Cluster formed even with just one node
Actual behavior
Cluster not formed
[INFO][05/10/2023 04:02:25.535Z][Thread 0001][remoting (akka://AkkaWebApi)] Starting remoting info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:25.535Z][Thread 0001][remoting (akka://AkkaWebApi)] Starting remoting [INFO][05/10/2023 04:02:25.955Z][Thread 0001][remoting (akka://AkkaWebApi)] Remoting started; listening on addresses : [akka.tcp://AkkaWebApi@sviluppo1:8081] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:25.955Z][Thread 0001][remoting (akka://AkkaWebApi)] Remoting started; listening on addresses : [akka.tcp://AkkaWebApi@sviluppo1:8081] [INFO][05/10/2023 04:02:25.956Z][Thread 0001][remoting (akka://AkkaWebApi)] Remoting now listens on addresses: [akka.tcp://AkkaWebApi@sviluppo1:8081] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:25.956Z][Thread 0001][remoting (akka://AkkaWebApi)] Remoting now listens on addresses: [akka.tcp://AkkaWebApi@sviluppo1:8081] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:25.979Z][Thread 0001][Cluster (akka://AkkaWebApi)] Cluster Node [akka.tcp://AkkaWebApi@sviluppo1:8081] - Starting up... [INFO][05/10/2023 04:02:25.979Z][Thread 0001][Cluster (akka://AkkaWebApi)] Cluster Node [akka.tcp://AkkaWebApi@sviluppo1:8081] - Starting up... info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.012Z][Thread 0001][Cluster (akka://AkkaWebApi)] Cluster Node [akka.tcp://AkkaWebApi@sviluppo1:8081] - Started up successfully [INFO][05/10/2023 04:02:26.012Z][Thread 0001][Cluster (akka://AkkaWebApi)] Cluster Node [akka.tcp://AkkaWebApi@sviluppo1:8081] - Started up successfully info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.048Z][Thread 0001][ClusterBootstrap (akka://AkkaWebApi)] ClusterBootstrap loaded through 'akka.extensions' auto starting bootstrap. [INFO][05/10/2023 04:02:26.048Z][Thread 0001][ClusterBootstrap (akka://AkkaWebApi)] ClusterBootstrap loaded through 'akka.extensions' auto starting bootstrap. info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.076Z][Thread 0006][Cluster (akka://AkkaWebApi)] Cluster Node [akka.tcp://AkkaWebApi@sviluppo1:8081] - No seed-nodes configured, manual cluster join required [INFO][05/10/2023 04:02:26.076Z][Thread 0006][Cluster (akka://AkkaWebApi)] Cluster Node [akka.tcp://AkkaWebApi@sviluppo1:8081] - No seed-nodes configured, manual cluster join required info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.180Z][Thread 0008][AkkaManagement (akka://AkkaWebApi)] Binding Akka Management (HTTP) endpoint to: fe80::a782:1c37:2b36:b3c9%22:8558 [INFO][05/10/2023 04:02:26.180Z][Thread 0008][AkkaManagement (akka://AkkaWebApi)] Binding Akka Management (HTTP) endpoint to: fe80::a782:1c37:2b36:b3c9%22:8558 info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.187Z][Thread 0008][AkkaManagement (akka://AkkaWebApi)] Including HTTP management routes for ClusterBootstrap [INFO][05/10/2023 04:02:26.187Z][Thread 0008][AkkaManagement (akka://AkkaWebApi)] Including HTTP management routes for ClusterBootstrap info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.192Z][Thread 0008][ClusterBootstrap (akka://AkkaWebApi)] Using self contact point address: http://sviluppo1:8558/ [INFO][05/10/2023 04:02:26.192Z][Thread 0008][ClusterBootstrap (akka://AkkaWebApi)] Using self contact point address: http://sviluppo1:8558/ info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.290Z][Thread 0017][akka.tcp://AkkaWebApi@sviluppo1:8081/system/sharding/counter] counter: Idle entities will be passivated after [00:02:00] [INFO][05/10/2023 04:02:26.290Z][Thread 0017][akka.tcp://AkkaWebApi@sviluppo1:8081/system/sharding/counter] counter: Idle entities will be passivated after [00:02:00] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.348Z][Thread 0008][HttpExt (akka://AkkaWebApi)] HTTP Extension started [INFO][05/10/2023 04:02:26.348Z][Thread 0008][HttpExt (akka://AkkaWebApi)] HTTP Extension started info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.353Z][Thread 0008][AkkaManagement (akka://AkkaWebApi)] Bound Akka Management (HTTP) endpoint to: fe80::a782:1c37:2b36:b3c9%22:8558 [INFO][05/10/2023 04:02:26.353Z][Thread 0008][AkkaManagement (akka://AkkaWebApi)] Bound Akka Management (HTTP) endpoint to: fe80::a782:1c37:2b36:b3c9%22:8558 info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.367Z][Thread 0044][akka://AkkaWebApi/system/healthcheck-readiness-cluster] Message [CurrentClusterState] from [akka://AkkaWebApi/system/cluster/core/publisher#941467490] to [akka://AkkaWebApi/system/healthcheck-readiness-cluster#905071351] was unhandled. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. Message content: Akka.Cluster.ClusterEvent+CurrentClusterState [INFO][05/10/2023 04:02:26.367Z][Thread 0044][akka://AkkaWebApi/system/healthcheck-readiness-cluster] Message [CurrentClusterState] from [akka://AkkaWebApi/system/cluster/core/publisher#941467490] to [akka://AkkaWebApi/system/healthcheck-readiness-cluster#905071351] was unhandled. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. Message content: Akka.Cluster.ClusterEvent+CurrentClusterState info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.406Z][Thread 0008][ClusterBootstrap (akka://AkkaWebApi)] Initiating bootstrap procedure using akka.discovery method... [INFO][05/10/2023 04:02:26.406Z][Thread 0008][ClusterBootstrap (akka://AkkaWebApi)] Initiating bootstrap procedure using akka.discovery method... warn: Akka.Actor.ActorSystem[0] [WARNING][05/10/2023 04:02:26.448Z][Thread 0008][Discovery (akka://AkkaWebApi)] No default service discovery implementation configured in
akka.discovery.method. Make sure to configure this setting to your preferred implementation such as 'config' in your application.conf (from the akka-discovery module). Falling back to default config based discovery method [WARNING][05/10/2023 04:02:26.448Z][Thread 0008][Discovery (akka://AkkaWebApi)] No default service discovery implementation configured in
akka.discovery.method. Make sure to configure this setting to your preferred implementation such as 'config' in your application.conf (from the akka-discovery module). Falling back to default config based discovery method [INFO][05/10/2023 04:02:26.452Z][Thread 0008][Discovery (akka://AkkaWebApi)] Starting Discovery service using [config] method, class: [Akka.Discovery.Config.ConfigServiceDiscovery, Akka.Discovery] [WARNING][05/10/2023 04:02:26.466Z][Thread 0008][ConfigServiceDiscovery (akka://AkkaWebApi)] You are trying to use config based discovery service and the settings path [akka.discovery.config.services] described
akka.discovery.config.services-pathis empty. Make sure to fill this setting with pre-defined node addresses to make sure that a cluster can be formed. [INFO][05/10/2023 04:02:26.467Z][Thread 0008][ClusterBootstrap (akka://AkkaWebApi)] Bootstrap using default
akka.discoverymethod: ConfigServiceDiscovery info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.452Z][Thread 0008][Discovery (akka://AkkaWebApi)] Starting Discovery service using [config] method, class: [Akka.Discovery.Config.ConfigServiceDiscovery, Akka.Discovery] warn: Akka.Actor.ActorSystem[0] [WARNING][05/10/2023 04:02:26.466Z][Thread 0008][ConfigServiceDiscovery (akka://AkkaWebApi)] You are trying to use config based discovery service and the settings path [akka.discovery.config.services] described
akka.discovery.config.services-pathis empty. Make sure to fill this setting with pre-defined node addresses to make sure that a cluster can be formed. info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.467Z][Thread 0008][ClusterBootstrap (akka://AkkaWebApi)] Bootstrap using default
akka.discovery method: ConfigServiceDiscovery info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.488Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Locating service members. Using discovery [ConfigServiceDiscovery], join decider [LowestAddressJoinDecider], scheme [http] [INFO][05/10/2023 04:02:26.488Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Locating service members. Using discovery [ConfigServiceDiscovery], join decider [LowestAddressJoinDecider], scheme [http] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.493Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] [INFO][05/10/2023 04:02:26.493Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:26.504Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] [INFO][05/10/2023 04:02:26.504Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] warn: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[8] The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert. info: Microsoft.Hosting.Lifetime[14] Now listening on: https://localhost:5001 info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:5000 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: D:\C#COMP\AKKA\akkadotnet-templates\src\WebApiTemplate\src\WebApiTemplate.App info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:27.582Z][Thread 0009][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:27.582Z][Thread 0009][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] [INFO][05/10/2023 04:02:27.582Z][Thread 0009][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] [INFO][05/10/2023 04:02:27.582Z][Thread 0009][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:28.804Z][Thread 0044][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] [INFO][05/10/2023 04:02:28.804Z][Thread 0044][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:28.804Z][Thread 0044][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] [INFO][05/10/2023 04:02:28.804Z][Thread 0044][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:29.834Z][Thread 0008][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] [INFO][05/10/2023 04:02:29.834Z][Thread 0008][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:29.834Z][Thread 0008][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] [INFO][05/10/2023 04:02:29.834Z][Thread 0008][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:30.908Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:30.908Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] [INFO][05/10/2023 04:02:30.908Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Looking up [Lookup(akka-management, management, tcp)] [INFO][05/10/2023 04:02:30.908Z][Thread 0043][akka.tcp://AkkaWebApi@sviluppo1:8081/system/bootstrapCoordinator] Located service members based on: [Lookup(akka-management, management, tcp)]: [], filtered to [] info: Akka.Actor.ActorSystem[0] [INFO][05/10/2023 04:02:31.565Z][Thread 0045][SelfAwareJoinDecider (akka://AkkaWebApi)] Exceeded stable margins without locating seed-nodes, however this node sviluppo1:8558 is NOT the lowest address out of the discovered endpoints in this deployment, thus NOT joining self. Expecting node [] (out of []) to perform the self-join and initiate the cluster. [INFO][05/10/2023 04:02:31.565Z][Thread 0045][SelfAwareJoinDecider (akka://AkkaWebApi)] Exceeded stable margins without locating seed-nodes, however this node sviluppo1:8558 is NOT the lowest address out of the discovered endpoints in this deployment, thus NOT joining self. Expecting node [] (out of []) to perform the self-join and initiate the cluster.
Environment
Windows .NET 7.0
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
I'm wondering if we should remove
In the name of making it easier to use this template inside existing solutions.
We need to add some other templates to help keep things nice and low-friction for Akka.NET users - this might even make it cheaper for users to create reproductions for bugs in the main project.
The .template.config/ide.host.json file is used by Visual Studio to control where in the File > New > New File and File > New > New Project dialogs a given template is shown. This is also supported in Rider.
Looks like none of the individual templates are being updated via Dependabot, which leads me to suspect that dependabot.yml
might be misconfigured for this project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.