- 9.0.1
- MVC
- Core
- ABP Framework 5.1.1
Aşağıdaki Redis ile ilgili satırları açtığımda ( dokümandaki belirtildiği gibi) şöyle bir hata alıyorum :
Configuration.Caching.UseRedis(options => { options.ConnectionString = _appConfiguration["Abp:RedisCache:ConnectionString"]; options.DatabaseId = _appConfiguration.GetValue<int>("Abp:RedisCache:DatabaseId"); });
Hata :
Container recruitans17_0_bcfcabe3 couldn't be started: Logs = 2020-08-21T22:35:11.539543357Z _____
2020-08-21T22:35:11.539574357Z / _ \ __________ _________ ____
2020-08-21T22:35:11.539580457Z / /\ ___ / | _ __ _/ __ \
2020-08-21T22:35:11.539584257Z / | / /| | /| | /\ /
2020-08-21T22:35:11.539589457Z _|__ /_____ _/ || ___ >
2020-08-21T22:35:11.539593257Z / / /
2020-08-21T22:35:11.539596757Z A P P S E R V I C E O N L I N U X
2020-08-21T22:35:11.539600057Z
2020-08-21T22:35:11.539603257Z Documentation: http://aka.ms/webapp-linux
2020-08-21T22:35:11.539606557Z Dotnet quickstart: https://aka.ms/dotnet-qs
2020-08-21T22:35:11.539609857Z ASP .NETCore Version: 3.1.6
2020-08-21T22:35:11.539613257Z Note: Any data outside '/home' is not persisted
2020-08-21T22:35:11.695585404Z Running oryx create-script -appPath /home/site/wwwroot -output /opt/startup/startup.sh -defaultAppFilePath /defaulthome/hostingstart/hostingstart.dll -bindPort 8080 -userStartupCommand ''
2020-08-21T22:35:11.709889481Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2020-08-21T22:35:11.710414380Z Could not find operation ID in manifest. Generating an operation id...
2020-08-21T22:35:11.710808680Z Build Operation ID: a91b74c1-11b1-4396-96dd-8a8e97edc4c3
2020-08-21T22:35:13.010357777Z Writing output script to '/opt/startup/startup.sh'
2020-08-21T22:35:13.377966983Z Trying to find the startup DLL name...
2020-08-21T22:35:13.378800181Z Found the startup D name: Recruitans.Web.Mvc.dll
2020-08-21T22:35:13.378812881Z Running the command: dotnet "Recruitans.Web.Mvc.dll"
2020-08-21T22:35:27.023062417Z Application startup exception: Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not proxy Abp.Configuration.SettingManager
2020-08-21T22:35:27.023720417Z ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
2020-08-21T22:35:27.023732617Z ---> Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not instantiate Abp.Runtime.Caching.Redis.AbpRedisCache
2020-08-21T22:35:27.024512517Z ---> System.Exception: Could not instantiate Abp.Runtime.Caching.Redis.AbpRedisCache.
2020-08-21T22:35:27.024524317Z ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
2020-08-21T22:35:27.024529017Z ---> System.ArgumentException: is empty
2020-08-21T22:35:27.024533417Z at StackExchange.Redis.ConfigurationOptions.DoParse(String configuration, Boolean ignoreUnknown) in //src/StackExchange.Redis/ConfigurationOptions.cs:line 634
2020-08-21T22:35:27.024537717Z at StackExchange.Redis.ConfigurationOptions.Parse(String configuration) in //src/StackExchange.Redis/ConfigurationOptions.cs:line 419
2020-08-21T22:35:27.024541817Z at StackExchange.Redis.ConnectionMultiplexer.PrepareConfig(Object configuration, Boolean sentinel) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 907
2020-08-21T22:35:27.027533217Z at StackExchange.Redis.ConnectionMultiplexer.Connect(String configuration, TextWriter log) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 1020
2020-08-21T22:35:27.027545917Z at Abp.Runtime.Caching.Redis.AbpRedisCacheDatabaseProvider.CreateConnectionMultiplexer()
2020-08-21T22:35:27.027550317Z at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) 2020-08-21T22:35:27.027554117Z at System.Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
2020-08-21T22:35:27.027557817Z at System.Lazy1.CreateValue() 2020-08-21T22:35:27.027561317Z at System.Lazy
1.get_Value()
2020-08-21T22:35:27.027564917Z at Abp.Runtime.Caching.Redis.AbpRedisCacheDatabaseProvider.GetDatabase()