徐蒙恩

Results 11 comments of 徐蒙恩

非常感谢您的回复,连接串改成:mymaster,allowadmin=true,preheat=1 后 又有新的报错: 【255.255.255.255:19736/0】恢复检查时间:2019/12/27 11:49:55 [11:49:50]:System.Exception: Redis Sentinel Master is switching:Connection was not opened at CSRedis.CSRedisClient.GetAndExecute[T](RedisClientPool pool, Func`2 handler, Int32 jump, Int32 errtimes) at CSRedis.CSRedisClient.ExecuteScalar[T](String key, Func`3 hander) at CSRedis.CSRedisClient.HSet(String...

![image](https://user-images.githubusercontent.com/37646958/71499953-cea33380-289d-11ea-8d7f-b3059e7ceec3.png)

请问这个哨兵连接未打开的报错是哨兵的配置文件设置的有问题么,配置文件: port 26379 bind 127.0.0.1 sentinel myid 57ac1ecb2246136aff2ff728ba6c565ab13d522b sentinel monitor master 127.0.0.1 6380 1 sentinel down-after-milliseconds master 5000 sentinel config-epoch master 13

这个是最新的报错: 【255.255.255.255:19736/0】恢复检查时间:2019/12/27 11:49:55 [11:49:50]:System.Exception: Redis Sentinel Master is switching:Connection was not opened at CSRedis.CSRedisClient.GetAndExecute[T](RedisClientPool pool, Func`2 handler, Int32 jump, Int32 errtimes) at CSRedis.CSRedisClient.ExecuteScalar[T](String key, Func`3 hander) at CSRedis.CSRedisClient.HSet(String key, String...

已经搞定了。第一次玩Redis,非常非常感谢您的耐心回复。

> 可以看下 FreeRedis 感谢您的回复,请问有更详细的说明文档么

I just found out that if I open it with vs2019, it's OK ![image](https://user-images.githubusercontent.com/37646958/132790375-f67dc587-3a73-4dea-8549-1618960f1d5d.png)

感谢您的回复,当我下载了全新的sqlserver 2017 时又出现了新的错误: The version of SQL Server in use does not support datatype 'datetime2'. 请问您当前使用的是哪个版本的数据库呢

我也遇到同样问题,请问这个问题fix了么

感谢您的回复,之前不是static的,而是在方法里每次调用时进行切换,但会在运行一段时间后报这个错误(这个链接点进去竟然是FreeSql,哈哈~) System.TimeoutException: 【[redis-dev.default.svc.cluster.local:6379/8](http://redis-dev.default.svc.cluster.local:6379/8)】ObjectPool.Get() timeout 10 seconds, see: https://github.com/dotnetcore/FreeSql/discussions/1081 at FreeRedis.Internal.ObjectPool.ObjectPool`1.Get(Nullable`1 timeout) at FreeRedis.RedisClient.PoolingAdapter.GetRedisSocket(CommandPacket cmd) at FreeRedis.RedisClient.GetDatabase(Nullable`1 index) at SJZY.Expand.ABP.Core.Language.LanguageHelper.GetLanguageHashValues(Type tType, String language) at SJZY.Expand.ABP.Core.Language.LanguageHelper.LanguageConversion[T](List`1 data) at SJZY.CAMS.WorkOrder.Sea.Application.Services.Fcl.WorkOrder.WorkOrderSeaFclService.GetSeaFclInOutPageListAsync(GetWorkOrderSeaFclPageInputDto input) in /var/lib/jenkins/workspace/camsapi-dev/src/WorkOrder/Sea/SJZY.CAMS.WorkOrder.Sea.Application/Services/Fcl/WorkOrder/WorkOrderSeaFclService.cs:line...