Which version of Ignite are you using? And can you share more information about your configuration. Do you have a security plugin, for example?
> On 14 Oct 2022, at 05:17, xin <[email protected]> wrote: > > There are 6 server nodes and 4 client nodes in the cluster. When the cluster > is first started, servers 5 and 6 cannot find the security context of client > 4. After the cluster restarts, server 6 cannot find the client 2 security > context. > > There is only this kind of exception in the log, there are no other > exceptions. Why can't the security context be found? > > All nodes are restarted sequentially. This problem occurs in the production > environment and is not reproduced in the test environment. > > 2022 Aug 09 20:53:51:378 GMT +08 cep-data-010.ds-cache6 ERROR > [sys-stripe-41-#42%cep-data-010.ds-cache6%] - [org.apache.ignite] Failed to > obtain a security context. java.lang.IllegalStateException: Failed to find > security context for subject with given ID : > be1fded5-1450-4fc6-b16f-1c580899db2f at > org.apache.ignite.internal.processors.security.IgniteSecurityProcessor.withContext(IgniteSecurityProcessor.java:167) > at > org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1908) > at > org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1530) > at > org.apache.ignite.internal.managers.communication.GridIoManager.access$5300(GridIoManager.java:243) > at > org.apache.ignite.internal.managers.communication.GridIoManager$9.execute(GridIoManager.java:1423) > at > org.apache.ignite.internal.managers.communication.TraceRunnable.run(TraceRunnable.java:55) > at > org.apache.ignite.internal.util.StripedExecutor$Stripe.body(StripedExecutor.java:637) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125) at > java.base/java.lang.Thread.run(Thread.java:834) > 2022 Aug 09 20:53:51:383 GMT +08 cep-data-010.ds-cache6 INFO > [disco-event-worker-#351%cep-data-010.ds-cache6%] - [org.apache.ignite] Added > new node to topology: TcpDiscoveryNode > [id=be1fded5-1450-4fc6-b16f-1c580899db2f, > consistentId=cep-master-017.ds-realtrail2, addrs=ArrayList [192.168.229.9], > sockAddrs=HashSet [cep-master-017/192.168.229.9:0], discPort=0, order=16, > intOrder=16, lastExchangeTime=1660049631321, loc=false, > ver=2.13.0#20220420-sha1:551f6ece, isClient=true] > 2022 Aug 09 20:53:51:389 GMT +08 cep-data-010.ds-cache6 ERROR > [sys-stripe-41-#42%cep-data-010.ds-cache6%] - [org.apache.ignite] Critical > system error detected. Will be handled accordingly to configured handler > [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, > super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet > [SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], > failureCtx=FailureContext [type=SYSTEM_WORKER_TERMINATION, > err=java.lang.IllegalStateException: Failed to find security context for > subject with given ID : be1fded5-1450-4fc6-b16f-1c580899db2f]] > > > 从 Windows 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>发送
