hero
hero copied to clipboard
全部设置好了,运行时经常报以下错误
配置如下:
错误如下:
Surging.Hero.FileServiceHost Warning: 0 : [2021-01-27 08:42:47.239 GMT WARNING ClientCnxn !!!Session 0x100012944f101c8 for server {hero.zoo1=>172.23.0.11:2181}, unexpected error, closing socket connection and attempting reconnect]
Exc level 0: org.apache.zookeeper.ClientCnxn+SessionExpiredException: Unable to reconnect to ZooKeeper service, session 0x100012944f101c8 has expired
at org.apache.zookeeper.ClientCnxn.onConnected(Int32 _negotiatedSessionTimeout, Int64 _sessionId, Byte[] _sessionPasswd, Boolean isRO)
at org.apache.zookeeper.ClientCnxnSocket.readConnectResult()
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO()
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(Int32 waitTimeOut)
at org.apache.zookeeper.ClientCnxn.startSendTask()
此异常最初是在此调用堆栈中引发的:
Rabbit.Zookeeper.Implementation.ZookeeperClient.RetryUntilConnected<T>(System.Func<System.Threading.Tasks.Task<T>>)
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.TaskAwaiter<TResult>.GetResult()
Rabbit.Zookeeper.Implementation.ZookeeperClient.ExistsAsync(string)
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.TaskAwaiter<TResult>.GetResult()
...
[调用堆栈已截断]
检查服务中心配置是否正确
你说的服务中心配置指的是??我检查了全部配置,都OK的,请指教