Open zhaoguoping opened 3 years ago
【127.0.0.1:6379/0】恢复检查时间:2021/8/28 18:25:54
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
Application startup exception
System.Exception: 【127.0.0.1:6379/0】NOAUTH Authentication required.
---> FreeRedis.RedisServerException: NOAUTH Authentication required.
at FreeRedis.RedisResult.ThrowOrValue[TValue](Func2 value) at FreeRedis.RedisClient.<>c.<Ping>b__74_0(RedisResult rt) at FreeRedis.RedisClient.SingleInsideAdapter.<>c__DisplayClass5_0
1.1 func) at FreeRedis.RedisClient.SingleInsideAdapter.AdapterCall[TValue](CommandPacket cmd, Func
2 parse)
at FreeRedis.RedisClient.Call[TValue](CommandPacket cmd, Func2 parse) at FreeRedis.RedisClient.Ping(String message) at FreeRedis.Internal.RedisClientPoolPolicy.PrevReheatConnectionPool(ObjectPool
1 pool, Int32 minPoolSize)
--- End of inner exception stack trace ---
at FreeRedis.Internal.ObjectPool.ObjectPool1.GetFree(Boolean checkAvailable) at FreeRedis.Internal.ObjectPool.ObjectPool
1.Get(Nullable1 timeout) at FreeRedis.RedisClient.PoolingAdapter.GetRedisSocket(CommandPacket cmd) at FreeRedis.RedisClient.PubSub.Subscribe(Boolean psub, String[] channels, Action
3 handler)
at FreeRedis.RedisClient.Subscribe(String channel, Action`2 handler)
at ImServer..ctor(ImServerOptions options) in E:\New\YFSOFT.Net\YFSOFT.ImCore\ImServer.cs:line 62
at ImServerExtenssions.<>cDisplayClass1_0.1.<AdapterCall>b__0() at FreeRedis.RedisClient.LogCall[T](CommandPacket cmd, Func
1 func)
at FreeRedis.RedisClient.SingleInsideAdapter.AdapterCall[TValue](CommandPacket cmd, Func2 parse) at FreeRedis.RedisClient.Call[TValue](CommandPacket cmd, Func
2 parse)
at FreeRedis.RedisClient.Ping(String message)
at FreeRedis.Internal.RedisClientPoolPolicy.PrevReheatConnectionPool(ObjectPool1 pool, Int32 minPoolSize) --- End of inner exception stack trace --- at FreeRedis.Internal.ObjectPool.ObjectPool
1.GetFree(Boolean checkAvailable)
at FreeRedis.Internal.ObjectPool.ObjectPool1.Get(Nullable
1 timeout)
at FreeRedis.RedisClient.PoolingAdapter.GetRedisSocket(CommandPacket cmd)
at FreeRedis.RedisClient.PubSub.Subscribe(Boolean psub, String[] channels, Action3 handler) at FreeRedis.RedisClient.Subscribe(String channel, Action
2 handler)
at ImServer..ctor(ImServerOptions options) in E:\New\YFSOFT.Net\YFSOFT.ImCore\ImServer.cs:line 62
at ImServerExtenssions.<>c__DisplayClass1_0.
在本地windows10 下,调试成功,当发布到windows server 2016上时,报了以上错误。。 这个支持最新版本的.net5.0和最新版本的.net core 3.1吗?
.NET SDK (反映任何 global.json): Version: 5.0.400 Commit: d61950f9bf
运行时环境: OS Name: Windows OS Version: 10.0.14393 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\5.0.400\
Host (useful for support): Version: 5.0.9 Commit: 208e377a53
.NET SDKs installed: 3.1.412 [C:\Program Files\dotnet\sdk] 5.0.400 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
NOAUTH Authentication required.
你 redis-server 没有密码
这个im支持发布在windows server 2016上吗?