Open Closed

abp studioda mikroservis mimarisinde servisleri çalıştıramıyoruz #9596


User avatar
0
caginsozgen created

Karşılaştığım Genel Sorun:

ABP Framework’ün “Microservice” şablonunu kullanarak yeni bir çözüm oluşturdum ve birkaç ek servis ekledim.

ABP Studio’da “Default” profiliyle ▶️ dediğimde hiçbir servis konsol penceresi açılmadan çalışmaya başlamıyor.

Ek olarak, tek Web servisinide çalıştırmayı denedim; uygulama hemen “Application shutting down… Exited with code: 1” hatası verip kapanıyor.

Bu “exited with code: 1” durumu loglarda hiçbir detaylı hata ya da stack trace göstermiyor; starting loading şkelind ekalıyor ve abp studioyu kapatmadan durduramıyorum.


7 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hello,

    Could you please provide more details so that we can reproduce the issue? For example:

    • A screenshot of your Solution Runner window
    • A screenshot of your running Docker containers
    • Any relevant solution configuration details of your solution -

    You can access solution configuration like below:

    These informations will help us investigate the problem more effectively.

    Best regards,
    Berkan Şaşmaz
    Developer Advocate https://www.berkansasmaz.com

  • User Avatar
    0
    caginsozgen created

    Hi,

    I created a new solution, and without making any changes, when I hit Run from the Solution Runner, no services start—they just stay in a loading state, as you can see in the screenshot. I can’t even run a single service; I’ve tried that too. All the details are below. If you need more information, please let me know. What could be causing this problem?

    Solution Configuration information:

    • Template: microservice
    • Created ABP Studio Version: 1.0.2
    • Current ABP Studio Version: 1.0.2
    • Multi-Tenancy: Yes
    • UI Framework: mvc
    • Theme: leptonx
    • Theme Style: system
    • Theme Menu Placement: side
    • Run Install Libs: Yes
    • Database Provider: ef
    • Database Management System: postgresql
    • Mobile Framework: none
    • Public Website: No
    • Social Login: Yes
    • Include Tests: Yes
    • Dynamic Localization: Yes
    • Kubernetes Configuration: Yes
    • Grafana Dashboard: Yes
    • Use Local References: No
    • Optional Modules:
      • GDPR
      • FileManagement
      • TextTemplateManagement
      • AuditLogging
      • Chat
      • OpenIddictAdmin
    • Selected Languages: Türkçe, English, English (United Kingdom), 简体中文, Español, العربية, हिन्दी, Português (Brasil), Français, Русский, Deutsch (Deuthschland), Italiano, Čeština, Magyar, Română (România), Svenska, Suomi, Slovenčina, Íslenska, 繁體中文
    • Default Language: Türkçe
    • Create Command: abp new NucleusSoftware.ECTS -t microservice --ui-framework mvc --database-provider ef --database-management-system postgresql --theme leptonx --skip-migrator --without-cms-kit --dont-run-bundling -no-language-management -chat -file-management

    Solution runner screen shot:

    Service list screen shot:

    Solution runner default profile file:

    Default.abprun.json: { "folders": { "items": { "services": { "execution": { "order": 2 } }, "apps": { "execution": { "order": 0 } }, "gateways": { "execution": { "order": 1 } } } }, "applications": { "NucleusSoftware.ECTS.AuthServer": { "type": "dotnet-project", "path": "../../../apps/auth-server/NucleusSoftware.ECTS.AuthServer/NucleusSoftware.ECTS.AuthServer.csproj", "launchUrl": "http://localhost:44302", "kubernetesService": ".-authserver$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "apps", "execution": { "order": 3 } }, "NucleusSoftware.ECTS.SaasService": { "type": "dotnet-project", "path": "../../../services/saas/NucleusSoftware.ECTS.SaasService/NucleusSoftware.ECTS.SaasService.csproj", "launchUrl": "http://localhost:44309", "folder": "services", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "kubernetesService": ".-saas$", "execution": { "order": 4 } }, "NucleusSoftware.ECTS.AuditLoggingService": { "type": "dotnet-project", "path": "../../../services/audit-logging/NucleusSoftware.ECTS.AuditLoggingService/NucleusSoftware.ECTS.AuditLoggingService.csproj", "launchUrl": "http://localhost:44377", "folder": "services", "kubernetesService": ".-auditlogging$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "execution": { "order": 0 } }, "NucleusSoftware.ECTS.GdprService": { "type": "dotnet-project", "path": "../../../services/gdpr/NucleusSoftware.ECTS.GdprService/NucleusSoftware.ECTS.GdprService.csproj", "launchUrl": "http://localhost:44312", "folder": "services", "kubernetesService": ".-gdpr$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "execution": { "order": 1 } }, "NucleusSoftware.ECTS.FileManagementService": { "type": "dotnet-project", "path": "../../../services/file-management/NucleusSoftware.ECTS.FileManagementService/NucleusSoftware.ECTS.FileManagementService.csproj", "launchUrl": "http://localhost:44361", "folder": "services", "kubernetesService": ".-filemanagement", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "execution": { "order": 2 } }, "NucleusSoftware.ECTS.LanguageService": { "type": "dotnet-project", "path": "../../../services/language/NucleusSoftware.ECTS.LanguageService/NucleusSoftware.ECTS.LanguageService.csproj", "launchUrl": "http://localhost:44393", "folder": "services", "kubernetesService": ".-language", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "execution": { "order": 3 } }, "NucleusSoftware.ECTS.ChatService": { "type": "dotnet-project", "path": "../../../services/chat/NucleusSoftware.ECTS.ChatService/NucleusSoftware.ECTS.ChatService.csproj", "launchUrl": "http://localhost:44303", "folder": "services", "kubernetesService": ".-chat$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "execution": { "order": 3 } }, "NucleusSoftware.ECTS.WebGateway": { "type": "dotnet-project", "path": "../../../gateways/web/NucleusSoftware.ECTS.WebGateway/NucleusSoftware.ECTS.WebGateway.csproj", "launchUrl": "http://localhost:44335", "kubernetesService": ".-webgateway$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "gateways", "execution": { "order": 2 } }, "NucleusSoftware.ECTS.Web": { "type": "dotnet-project", "path": "../../../apps/web/NucleusSoftware.ECTS.Web/NucleusSoftware.ECTS.Web.csproj", "launchUrl": "http://localhost:44318", "kubernetesService": ".-web$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "apps", "execution": { "order": 2 } }, "NucleusSoftware.ECTS.AdministrationService": { "type": "dotnet-project", "path": "../../../services/administration/NucleusSoftware.ECTS.AdministrationService/NucleusSoftware.ECTS.AdministrationService.csproj", "launchUrl": "http://localhost:44306", "kubernetesService": ".-administration$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services", "execution": { "order": 6 } }, "NucleusSoftware.ECTS.IdentityService": { "type": "dotnet-project", "path": "../../../services/identity/NucleusSoftware.ECTS.IdentityService/NucleusSoftware.ECTS.IdentityService.csproj", "launchUrl": "http://localhost:44353", "kubernetesService": ".-identity$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services", "execution": { "order": 5 } }, "NucleusSoftware.ECTS.UserReportService": { "type": "dotnet-project", "path": "../../../services/user-report/NucleusSoftware.ECTS.UserReportService/NucleusSoftware.ECTS.UserReportService.csproj", "launchUrl": "http://localhost:44360", "kubernetesService": ".-userreport$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.UserManagementService": { "type": "dotnet-project", "path": "../../../services/user-management/NucleusSoftware.ECTS.UserManagementService/NucleusSoftware.ECTS.UserManagementService.csproj", "launchUrl": "http://localhost:44382", "kubernetesService": ".-usermanagement$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.SchedulerService": { "type": "dotnet-project", "path": "../../../services/scheduler/NucleusSoftware.ECTS.SchedulerService/NucleusSoftware.ECTS.SchedulerService.csproj", "launchUrl": "http://localhost:44397", "kubernetesService": ".-scheduler$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.ReferenceDataService": { "type": "dotnet-project", "path": "../../../services/reference-data/NucleusSoftware.ECTS.ReferenceDataService/NucleusSoftware.ECTS.ReferenceDataService.csproj", "launchUrl": "http://localhost:44339", "kubernetesService": ".-referencedata$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.NotificationService": { "type": "dotnet-project", "path": "../../../services/notification/NucleusSoftware.ECTS.NotificationService/NucleusSoftware.ECTS.NotificationService.csproj", "launchUrl": "http://localhost:44326", "kubernetesService": ".-notification$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.FileStorageService": { "type": "dotnet-project", "path": "../../../services/file-storage/NucleusSoftware.ECTS.FileStorageService/NucleusSoftware.ECTS.FileStorageService.csproj", "launchUrl": "http://localhost:44325", "kubernetesService": ".-filestorage$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.PhaseService": { "type": "dotnet-project", "path": "../../../services/phase/NucleusSoftware.ECTS.PhaseService/NucleusSoftware.ECTS.PhaseService.csproj", "launchUrl": "http://localhost:44316", "kubernetesService": ".-phase$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.SettlementReportService": { "type": "dotnet-project", "path": "../../../services/settlement-report/NucleusSoftware.ECTS.SettlementReportService/NucleusSoftware.ECTS.SettlementReportService.csproj", "launchUrl": "http://localhost:44310", "kubernetesService": ".-settlementreport$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.CheckReportService": { "type": "dotnet-project", "path": "../../../services/check-report/NucleusSoftware.ECTS.CheckReportService/NucleusSoftware.ECTS.CheckReportService.csproj", "launchUrl": "http://localhost:44368", "kubernetesService": ".-checkreport$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.ReconcilliationService": { "type": "dotnet-project", "path": "../../../services/reconcilliation/NucleusSoftware.ECTS.ReconcilliationService/NucleusSoftware.ECTS.ReconcilliationService.csproj", "launchUrl": "http://localhost:44364", "kubernetesService": ".-reconcilliation$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.SettlementService": { "type": "dotnet-project", "path": "../../../services/settlement/NucleusSoftware.ECTS.SettlementService/NucleusSoftware.ECTS.SettlementService.csproj", "launchUrl": "http://localhost:44352", "kubernetesService": ".-settlement$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.CheckReturnService": { "type": "dotnet-project", "path": "../../../services/check-return/NucleusSoftware.ECTS.CheckReturnService/NucleusSoftware.ECTS.CheckReturnService.csproj", "launchUrl": "http://localhost:44322", "kubernetesService": ".-checkreturn$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.CheckImageService": { "type": "dotnet-project", "path": "../../../services/check-image/NucleusSoftware.ECTS.CheckImageService/NucleusSoftware.ECTS.CheckImageService.csproj", "launchUrl": "http://localhost:44379", "kubernetesService": ".-checkimage$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" }, "NucleusSoftware.ECTS.CheckSubmissionService": { "type": "dotnet-project", "path": "../../../services/check-submission/NucleusSoftware.ECTS.CheckSubmissionService/NucleusSoftware.ECTS.CheckSubmissionService.csproj", "launchUrl": "http://localhost:44304", "kubernetesService": ".*-checksubmission$", "healthCheckEndpoint": "/health-status", "healthUiEndpoint": "/health-ui", "folder": "services" } },

    "containers": { "serviceName": "ECTS-Containers", "files": { "../../docker/containers/elasticsearch.yml": {}, "../../docker/containers/grafana.yml": {}, "../../docker/containers/kibana.yml": {}, "../../docker/containers/postgresql.yml": {}, "../../docker/containers/prometheus.yml": {}, "../../docker/containers/rabbitmq.yml": {}, "../../docker/containers/redis.yml": {} } }, "metadata": {} }

  • User Avatar
    0
    caginsozgen created

    Hello,

    Have you had a chance to check?

    Thanks

  • User Avatar
    0
    caginsozgen created

    Hello,

    Have you had a chance to check?

    Thanks

  • User Avatar
    0
    caginsozgen created

    Hello,

    Have you had a chance to check?

    Thanks

  • User Avatar
    0
    caginsozgen created

    Hello,

    Have you had a chance to check?

    Thanks

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hello,

    Sorry for the late reply — it was delayed due to public holidays.

    I was not able to reproduce the issue on macOS, but I have observed the terminal opening problem a few times on Windows when running a service. I will open an internal issue to track this.

    Ek olarak, tek Web servisinide çalıştırmayı denedim; uygulama hemen “Application shutting down… Exited with code: 1” hatası verip kapanıyor. Bu “exited with code: 1” durumu loglarda hiçbir detaylı hata ya da stack trace göstermiyor; starting loading şkelind ekalıyor ve abp studioyu kapatmadan durduramıyorum.

    If you could share the log records related to the service not starting when you run it individually, it might help us better understand the problem. Also, when you right-click and try to stop the service, I assume it does not stop either — is that correct?


    When I tried to reproduce the issues using the information you provided, I was not able to reproduce them. However, if possible, please share your solution via email at support@abp.io, including your ticket number. This will help us investigate the issue more effectively and provide a quicker resolution.


    Best regards, Berkan Şaşmaz

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 01, 2025, 08:37