aykutalparslan / Ferrite

Experimental Telegram Server
GNU Affero General Public License v3.0
158 stars 25 forks source link

StackExchange.Redis.RedisConnectionException #445

Closed steven9463912 closed 2 years ago

steven9463912 commented 2 years ago

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

aykutalparslan commented 2 years ago

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

aykutalparslan commented 2 years ago

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

junko2013 commented 2 years ago

收到。。