Ends in:
7 DAYS
16 HRS
24 MIN
31 SEC
Ends in:
7 D
16 H
24 M
31 S
Open Closed

Administration micros service containerization error #5411


User avatar
0
smansuri created
  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): identity server separated
  • Exception message and stack trace: docker run -p 8089:80 adminstrationsvc --network=g1-net start [14:38:29 INF] Starting G1.health.AdministrationService.HttpApi.Host. [14:38:45 FTL] G1.health.AdministrationService.HttpApi.Host terminated unexpectedly! Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module G1.health.Shared.Hosting.Microservices.healthSharedHostingMicroservicesModule, G1.health.Shared.Hosting.Microservices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). UnableToConnect on redis_g1:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 5s ago, last-write: 5s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 15s ago, v: 2.2.4.27433 at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(ConfigurationOptions configuration, TextWriter log) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 1163 at StackExchange.Redis.ConnectionMultiplexer.Connect(ConfigurationOptions configuration, TextWriter log) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 1032 at StackExchange.Redis.ConnectionMultiplexer.Connect(String configuration, TextWriter log) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 1015 at G1.health.Shared.Hosting.Microservices.healthSharedHostingMicroservicesModule.ConfigureServices(ServiceConfigurationContext context) in /src/shared/G1.health.Shared.Hosting.Microservices/healthSharedHostingMicroservicesModule.cs:line 51 at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context) at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() --- End of inner exception stack trace --- at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction) at G1.health.AdministrationService.Program.Main(String[] args) in /src/services/administration/src/G1.health.AdministrationService.HttpApi.Host/Program.cs:line 27
  • Steps to reproduce the issue:" create a redis container in docker for desktop in linux mode. running administration service in docker gives the above error.

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It was not possible to connect to the redis server(s). UnableToConnect on redis_g1:6379

    You can test your connection using Redis CLI or the Redis management tool.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06