Open Closed

Unable to run HttpApi.Host - Redis error occured #5187


User avatar
0
smwasimraja@gmail.com created

<br> If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • StackExchange.Redis.RedisConnectionException HResult=0x80131500 Message=It was not possible to connect to the redis server(s). UnableToConnect on 127.0.0.1:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 4s ago, v: 2.2.4.27433 Source=StackExchange.Redis StackTrace: at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(ConfigurationOptions configuration, TextWriter log) at StackExchange.Redis.ConnectionMultiplexer.Connect(ConfigurationOptions configuration, TextWriter log) at StackExchange.Redis.ConnectionMultiplexer.Connect(String configuration, TextWriter log) at Hollow.HollowHttpApiHostModule.<>c__DisplayClass9_0.b__0(IServiceProvider sp) in C:\Systense\idm\Hollow\aspnet-core\src\Hollow.HttpApi.Host\HollowHttpApiHostModule.cs:line 184 at Autofac.Extensions.DependencyInjection.AutofacRegistration.<>c__DisplayClass3_0.b__0(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Delegate.DelegateActivator.b__2_0(ResolveRequestContext ctxt, Action1 next) at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next)
  • Steps to reproduce the issue:"
  • 1. Set HttpApi.Host as startup
  • 2. Run application using F5 in VStudio
  • Error Occured


1 Answer(s)
  • User Avatar
    0
    nlachmuthDev created

    Did you start a local redis via docker? When you create a seprated identity/openiddict server you need a redis running.

    Here is the documentation for tiered solutions: https://docs.abp.io/en/commercial/latest/getting-started-running-solution?UI=NG&DB=EF&Tiered=Yes

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11