You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Nikolay Izhikov <ni...@apache.org> on 2021/12/06 17:03:15 UTC

Re: RE: Failed to find security context for subject with given ID

Hello y.

We are searching for the root casue of your issues.
Investigation shows, that we are using String#getBytes() call that is
locale dependent and use that bytes for login hash.
Therefore hash can be different on nodes it started with different default
locale.

Can you, please confirm - are you using login with the Chinese characters?


пт, 19 нояб. 2021 г. в 12:13, y <ht...@163.com>:

>
> *Ignite Version:2.11.0.  Here are some important configuration.*
>
> <property name="authenticationEnabled" value="true"/>
>
> <property name="dataStorageConfiguration">
>
> <bean class="org.apache.ignite.configuration.DataStorageConfiguration">
>
> <property name="writeThrottlingEnabled" value="true"/>
>
> <property name="checkpointFrequency" value="15000"/>
>
> <!--property name="lockWaitTime" value="2000"/>
>
> <property name="checkpointThreads" value="1"/>
>
> <property name="checkpointWriteOrder" value="SEQUENTIAL"/-->
>
> <property name="defaultDataRegionConfiguration">
>
> <bean class="org.apache.ignite.configuration.DataRegionConfiguration">
>
> <property name="name" value="Default_Region"/>
>
> <property name="maxSize" value="#{8L * 1024 * 1024 * 1024}"/>
>
> <property name="persistenceEnabled" value="false"/>
>
> </bean>
>
> </property>
>
> <property name="dataRegionConfigurations">
>
> <lis
>
> <bean class="org.apache.ignite.configuration.DataRegionConfiguration">
>
> <property name="name" value="500MB_Region"/>
>
> <!-- 2 GB initial size. -->
>
> <property name="initialSize" value="#{2L * 1024 * 1024 * 1024}"/>
>
> <!-- 4 GB maximum size. -->
>
> <property name="maxSize" value="#{4L * 1024 * 1024 * 1024}"/>
>
> <!-- increace the buffer size to 2 GB. -->
>
> <property name="checkpointPageBufferSize" value="#{2L * 1024 * 1024 *
> 1024}"/>
>
> <!-- enable persistence. -->
>
> <property name="persistenceEnabled" value="true"/>
>
> </bean>
>
> </list>
>
> </property>
>
> </bean>
> </property>
>
> *Using binary mode to* *insert data**.*
>
> At 2021-11-19 15:07:01, "Mikhail Petrov" <pm...@gmail.com> wrote:
>
> Pavel, at first glance these are not related issues.
>
> Tianyue Hu, could you please specify the version of Ignite you are using,
> the server nodes configuration, and which Ignite mechanism you are using to
> insert data?
> --
> Mikhail
>
> On 2021/11/19 06:37:47 y wrote:
> > Hello Igniters:
> >
> >
> > I start multiple nodes on one server.When I did data insertion, I got
> the following error:Failed to find security context for subject with given
> ID . And then the node stopped. Would you please help?
> >
> > Thanks!
> > Tianyue Hu
> >
> >
>
>
>
>
>