Skip to content

Not reading from SQL #222

@specialcoconut

Description

@specialcoconut

Hello all!

I'm just trying to spin up a small instance of resgrid for training/exercises in the emergency services space - I've managed to get the web ui up and running with all the required dependencies looking OK in theory :)

The issue I have now is the web ui appears to be writing to the database but not reading the database. (e.g. I can make a call and it appears in the SQL database, but once the call is created it then does not appear in the calls list)

Running on truenas scale ElectricEel-24.10.2.1 as a set of docker containers, using the supplied yml file for installation.

Below are the errors produced from the docker-web-1 log file.

Thanks in advance, and any assistance with this would be greatly appreciated.

{"EventId":6,"LogLevel":"Error","Category":"Microsoft.AspNetCore.Session.DistributedSession","Message":"Session cache read exception, Key:b7967ee8-6732-8d9c-bbc8-e18dd8fef502","Exception":"System.ArgumentNullException: Value cannot be null. (Parameter \u0027configuration\u0027) at StackExchange.Redis.ConfigurationOptions.DoParse(String configuration, Boolean ignoreUnknown) in //src/StackExchange.Redis/ConfigurationOptions.cs:line 649 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Connect() at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) at Microsoft.AspNetCore.Session.DistributedSession.Load()","State":{"Message":"Session cache read exception, Key:b7967ee8-6732-8d9c-bbc8-e18dd8fef502","sessionKey":"b7967ee8-6732-8d9c-bbc8-e18dd8fef502","{OriginalFormat}":"Session cache read exception, Key:{sessionKey}"}}
{"EventId":6,"LogLevel":"Error","Category":"Microsoft.AspNetCore.Session.DistributedSession","Message":"Session cache read exception, Key:1fdea8c9-8837-f01c-0d01-a06fc51b18d8","Exception":"System.ArgumentNullException: Value cannot be null. (Parameter \u0027configuration\u0027) at StackExchange.Redis.ConfigurationOptions.DoParse(String configuration, Boolean ignoreUnknown) in /
/src/StackExchange.Redis/ConfigurationOptions.cs:line 649 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Connect() at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) at Microsoft.AspNetCore.Session.DistributedSession.Load()","State":{"Message":"Session cache read exception, Key:1fdea8c9-8837-f01c-0d01-a06fc51b18d8","sessionKey":"1fdea8c9-8837-f01c-0d01-a06fc51b18d8","{OriginalFormat}":"Session cache read exception, Key:{sessionKey}"}}
{"EventId":6,"LogLevel":"Error","Category":"Microsoft.AspNetCore.Session.DistributedSession","Message":"Session cache read exception, Key:8ba048e1-2993-7461-d6b1-143f91123373","Exception":"System.ArgumentNullException: Value cannot be null. (Parameter \u0027configuration\u0027) at StackExchange.Redis.ConfigurationOptions.DoParse(String configuration, Boolean ignoreUnknown) in //src/StackExchange.Redis/ConfigurationOptions.cs:line 649 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Connect() at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) at Microsoft.AspNetCore.Session.DistributedSession.Load()","State":{"Message":"Session cache read exception, Key:8ba048e1-2993-7461-d6b1-143f91123373","sessionKey":"8ba048e1-2993-7461-d6b1-143f91123373","{OriginalFormat}":"Session cache read exception, Key:{sessionKey}"}}
{"EventId":6,"LogLevel":"Error","Category":"Microsoft.AspNetCore.Session.DistributedSession","Message":"Session cache read exception, Key:dd4ab98d-608a-8db0-1668-09f8edea63d6","Exception":"System.ArgumentNullException: Value cannot be null. (Parameter \u0027configuration\u0027) at StackExchange.Redis.ConfigurationOptions.DoParse(String configuration, Boolean ignoreUnknown) in /
/src/StackExchange.Redis/ConfigurationOptions.cs:line 649 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Connect() at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) at Microsoft.AspNetCore.Session.DistributedSession.Load()","State":{"Message":"Session cache read exception, Key:dd4ab98d-608a-8db0-1668-09f8edea63d6","sessionKey":"dd4ab98d-608a-8db0-1668-09f8edea63d6","{OriginalFormat}":"Session cache read exception, Key:{sessionKey}"}}
{"EventId":6,"LogLevel":"Error","Category":"Microsoft.AspNetCore.Session.DistributedSession","Message":"Session cache read exception, Key:a754bf70-adf1-b2dc-9700-ea2d34e759aa","Exception":"System.ArgumentNullException: Value cannot be null. (Parameter \u0027configuration\u0027) at StackExchange.Redis.ConfigurationOptions.DoParse(String configuration, Boolean ignoreUnknown) in /_/src/StackExchange.Redis/ConfigurationOptions.cs:line 649 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Connect() at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) at Microsoft.AspNetCore.Session.DistributedSession.Load()","State":{"Message":"Session cache read exception, Key:a754bf70-adf1-b2dc-9700-ea2d34e759aa","sessionKey":"a754bf70-adf1-b2dc-9700-ea2d34e759aa","{OriginalFormat}":"Session cache read exception, Key:{sessionKey}"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions