2025-07-08 13:56:40,972 [.NET Signal Handler] INFO MCMS.Account.Startup - 【应用程序优雅关闭】 2025-07-08 13:57:39,432 [1] INFO RedisLogger - ConnectionMultiplexer(29083993)附加自定义事件 2025-07-08 13:57:41,191 [1] ERROR Spring.Objects.Factory.Support.DefaultListableObjectFactory - GetObjectInternal: error obtaining object &NHibernateSessionFactory 2025-07-08 13:57:41,229 [1] ERROR MCMS.Account.Startup - Error creating context 'main': LOADING Redis is loading the dataset in memory System.Configuration.ConfigurationErrorsException: Error creating context 'main': LOADING Redis is loading the dataset in memory ---> Spring.Objects.Factory.ObjectCreationException: Error creating object with name 'NHibernateSessionFactory' defined in 'assembly [MCMS.Account.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null], resource [MCMS.Account.Service.Config.Dao_MYSQL.xml] line 27' : Initialization of object failed : LOADING Redis is loading the dataset in memory ---> StackExchange.Redis.RedisServerException: LOADING Redis is loading the dataset in memory at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server, T defaultValue) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2103 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server, T defaultValue) in /_/src/StackExchange.Redis/RedisBase.cs:line 62 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1613 at NHibernate.Caches.StackExchangeRedis.DefaultRegionStrategy.InitializeVersion() at NHibernate.Caches.StackExchangeRedis.DefaultRegionStrategy..ctor(IConnectionMultiplexer connectionMultiplexer, RedisCacheRegionConfiguration configuration, IDictionary`2 properties) at NHibernate.Caches.StackExchangeRedis.DefaultCacheRegionStrategyFactory.Create(IConnectionMultiplexer connectionMultiplexer, RedisCacheRegionConfiguration configuration, IDictionary`2 properties) at NHibernate.Caches.StackExchangeRedis.RedisCacheProvider.BuildCache(RedisCacheRegionConfiguration regionConfiguration, IDictionary`2 properties) at NHibernate.Caches.StackExchangeRedis.RedisCacheProvider.BuildCache(String regionName, IDictionary`2 properties) at NHibernate.Cache.CacheFactory.BuildCacheBase(String name, Settings settings, IDictionary`2 properties) at NHibernate.Impl.SessionFactoryImpl.b__118_0(String cr) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at NHibernate.Impl.SessionFactoryImpl.GetCache(String cacheRegion) at NHibernate.Impl.SessionFactoryImpl.GetCacheConcurrencyStrategy(String cacheRegion, String strategy, Boolean isMutable, String entityName, Dictionary`2 caches) at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings, EventListeners listeners) at NHibernate.Cfg.Configuration.BuildSessionFactory() at Spring.Data.NHibernate.LocalSessionFactoryObject.NewSessionFactory(Configuration config) at Spring.Data.NHibernate.LocalSessionFactoryObject.AfterPropertiesSet() at Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InvokeInitMethods(Object target, String name, IConfigurableObjectDefinition definition) at Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.ConfigureObject(String name, RootObjectDefinition definition, IObjectWrapper wrapper) at Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InstantiateObject(String name, RootObjectDefinition definition, Object[] arguments, Boolean allowEagerCaching, Boolean suppressConfigure) --- End of inner exception stack trace --- at Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InstantiateObject(String name, RootObjectDefinition definition, Object[] arguments, Boolean allowEagerCaching, Boolean suppressConfigure) at Spring.Objects.Factory.Support.AbstractObjectFactory.CreateAndCacheSingletonInstance(String objectName, RootObjectDefinition objectDefinition, Object[] arguments) at Spring.Objects.Factory.Support.AbstractObjectFactory.GetObjectInternal(String name, Type requiredType, Object[] arguments, Boolean suppressConfigure) at Spring.Objects.Factory.Support.AbstractObjectFactory.GetObject(String name) at Spring.Objects.Factory.Support.DefaultListableObjectFactory.PreInstantiateSingletons() at Spring.Context.Support.AbstractApplicationContext.Refresh() at Spring.Context.Support.NetCoreContextInstantiator.InvokeContextConstructor(ConstructorInfo ctor) at Spring.Context.Support.ContextInstantiator.InstantiateContext() at Spring.Context.Support.ContextCreater.InstantiateContext(IApplicationContext parentContext, String contextName, Type contextType, Boolean caseSensitive, IList`1 resources) at Spring.Context.Support.ContextCreater.Create(IApplicationContext parent, IConfiguration netCoreConfigObject, String contextElement) --- End of inner exception stack trace --- at Spring.Context.Support.ContextCreater.Create(IApplicationContext parent, IConfiguration netCoreConfigObject, String contextElement) at Spring.Context.Support.ContextCreater.Create(String contextElement) at Spring.Extensions.DependencyInjection.ContextCreaterExtensions.WithSpringReturnContext(IServiceCollection services, IConfiguration configuration, String sectionName, String netCoreConfigObjectName) at Spring.Extensions.DependencyInjection.ContextCreaterExtensions.WithSpring(IServiceCollection services, IConfiguration configuration, String sectionName, String netCoreConfigObjectName) at MCMS.Account.Startup.ConfigureServices(IServiceCollection services) in E:\agent\_work\2\s\MCMS.Account\Startup.cs:line 63 2025-07-08 13:57:42,860 [1] INFO RedisLogger - ConnectionMultiplexer(29083993)附加自定义事件 2025-07-08 13:57:45,470 [1] DEBUG MCMS.Account.Startup - 项目运行环境(.NET 6.0.25):【账号微服务测试环境】 2025-07-08 13:57:46,034 [1] INFO MCMS.Account.Startup - 【应用程序启动成功】 2025-07-08 13:57:46,623 [28] WARN Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware - Failed to determine the https port for redirect.