Reputation: 51
ABP Framework version: v3.3 User Interface: Angular
1& connectHandler) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 868 at StackExchange.Redis.ConnectionMultiplexer.ConnectImplAsync(Object configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 818 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.ConnectAsync(CancellationToken token) at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefreshAsync(String key, Boolean getData, CancellationToken token) at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token) at Volo.Abp.Caching.DistributedCache
2.GetAsync(TCacheKey key, Nullable1 hideErrors, Boolean considerUow, CancellationToken token) 2020-11-10 17:08:37.259 +02:00 [WRN] Value cannot be null. (Parameter 'configuration') System.ArgumentNullException: Value cannot be null. (Parameter 'configuration') at StackExchange.Redis.ConnectionMultiplexer.PrepareConfig(Object configuration) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 850 at StackExchange.Redis.ConnectionMultiplexer.CreateMultiplexer(Object configuration, TextWriter log, EventHandler
1& connectHandler) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 868
at StackExchange.Redis.ConnectionMultiplexer.ConnectImplAsync(Object configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 818
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.ConnectAsync(CancellationToken token)
at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache
2.<>c__DisplayClass52_0.<g__SetRealCache|0>d.MoveNext()
2020-11-10 17:08:37.273 +02:00 [WRN] Value cannot be null. (Parameter 'configuration')
System.ArgumentNullException: Value cannot be null. (Parameter 'configuration')
at StackExchange.Redis.ConnectionMultiplexer.PrepareConfig(Object configuration) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 850
at StackExchange.Redis.ConnectionMultiplexer.CreateMultiplexer(Object configuration, TextWriter log, EventHandler1& connectHandler) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 868 at StackExchange.Redis.ConnectionMultiplexer.ConnectImplAsync(Object configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 818 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.ConnectAsync(CancellationToken token) at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefreshAsync(String key, Boolean getData, CancellationToken token) at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token) at Volo.Abp.Caching.DistributedCache
2.GetAsync(TCacheKey key, Nullable1 hideErrors, Boolean considerUow, CancellationToken token) 2020-11-10 17:08:37.329 +02:00 [WRN] Value cannot be null. (Parameter 'configuration') System.ArgumentNullException: Value cannot be null. (Parameter 'configuration') at StackExchange.Redis.ConnectionMultiplexer.PrepareConfig(Object configuration) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 850 at StackExchange.Redis.ConnectionMultiplexer.CreateMultiplexer(Object configuration, TextWriter log, EventHandler
1& connectHandler) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 868
at StackExchange.Redis.ConnectionMultiplexer.ConnectImplAsync(Object configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 818
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.ConnectAsync(CancellationToken token)
at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache
2.<>c__DisplayClass52_0.<g__SetRealCache|0>d.MoveNext()Steps needed to reproduce the problem.
Upvotes: 1
Views: 796
Reputation: 51
To fix this problem
I had to remove the "Redis" appsettings.json config section in both the API.Host and the Identity Server Project: "Redis": { "Configuration": "127.0.0.1" },
Once I removed that the solution then worked fine.
Closing: Thanks once again for an AMAZING framework ;)
Upvotes: 2