Ferrite icon indicating copy to clipboard operation
Ferrite copied to clipboard

StackExchange.Redis.RedisConnectionException

Open steven9463912 opened this issue 2 years ago • 1 comments

immagine

StackExchange.Redis.RedisConnectionException: 'It was not possible to connect to the redis server(s). Error connecting right now. To allow this multiplexer to continue retrying until it's able to connect, use abortConnect=false in your connection string or AbortOnConnectFail=false; in your code.'

StackExchange.Redis.RedisConnectionException
  HResult=0x80131500
  Messaggio=It was not possible to connect to the redis server(s). Error connecting right now. To allow this multiplexer to continue retrying until it's able to connect, use abortConnect=false in your connection string or AbortOnConnectFail=false; in your code.
  Origine=StackExchange.Redis
  Analisi dello stack:
   in StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(ConfigurationOptions configuration, TextWriter log, Nullable`1 serverType)
   in StackExchange.Redis.ConnectionMultiplexer.Connect(ConfigurationOptions configuration, TextWriter log)
   in StackExchange.Redis.ConnectionMultiplexer.Connect(String configuration, TextWriter log)
   in Ferrite.Data.RedisCache..ctor(String config, IMTProtoTime time) in D:\git\TelegramFolder\Ferrite\Ferrite.Data\RedisCache.cs: riga 50
   in Ferrite.Program.<>c.<BuildContainer>b__1_13(IComponentContext _) in D:\git\TelegramFolder\Ferrite\Ferrite\Program.cs: riga 148
   in Autofac.RegistrationExtensions.<>c__DisplayClass41_0`1.<Register>b__0(IComponentContext c, IEnumerable`1 p)
   in Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
   in Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   in Autofac.Core.Activators.Delegate.DelegateActivator.<ConfigurePipeline>b__2_0(ResolveRequestContext ctxt, Action`1 next)
   in Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   in Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
   in Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   in Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
   in Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)

I tried to run the server but got this error

steven9463912 avatar Aug 18 '22 09:08 steven9463912

You need to have Redis, Cassandra, MinIO and ElasticSearch running on the local machine. You can find the passwords in the Program.cs

aykutalparslan avatar Aug 18 '22 09:08 aykutalparslan

This infrastructure is not needed anymore. Details are in the README.

aykutalparslan avatar Sep 25 '22 20:09 aykutalparslan

收到。。

junko2013 avatar Sep 25 '22 20:09 junko2013