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, Action
1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 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)
-
0
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.