Coder Social home page Coder Social logo

akkadotnet-templates's People

Contributors

aaronontheweb avatar arkatufus avatar cumpsd avatar dependabot[bot] avatar eaba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

akkadotnet-templates's Issues

Cannot get it work

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 defaultakka.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] describedakka.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 defaultakka.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.

Fix `dependabot.yml`

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.

Additional templates

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.

  • #18
  • Basic Akka.Streams console application

Simplify templates?

Is your feature request related to a problem? Please describe.

I'm wondering if we should remove

  • Central package management
  • GitHub actions / all build infrastructure
  • NuGet.config
  • Persistence selector for WebApi template
  • Directory.Build.props

In the name of making it easier to use this template inside existing solutions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.