Spring

 View Only

 Spring boot gemfire security Exception

Vaidhyanathan Pranatharthiharan's profile image
Vaidhyanathan Pranatharthiharan posted Jul 17, 2020 02:21 AM

Hi ,

 

We are using spring boot gemfire locator and server . We have our own Oauth token based security implementation for gemfire security . All we have done is just provide the custom security manager class in the security-manger property .

 

For e.g in production when we bring down locators , we see that starting few of the locators throw the below error :-

Caused by: org.apache.geode.security.GemFireSecurityException: Security check failed. Authentication error. Please check your credentials.

    at org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.attemptToJoin(GMSJoinLeave.java:454) ~[geode-core-9.5.3.jar!/:?]

    at org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.join(GMSJoinLeave.java:338) ~[geode-core-9.5.3.jar!/:?]

    at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.join(GMSMembershipManager.java:658)

    at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.joinDistributedSystem(GMSMembershipManager.java:747

 

I feel it doesnt even enter the custom security class . This error is not consistent .This goes away when we stop and start the locators again .Is there any other gemfire property that needs to be set for authentication so that the security authentication is always consistent.

Juan Ramos's profile image
Juan Ramos

Hello Vaidhyanathan,

 

Thanks for contacting the Support Community!.

It's hard to tell what's happening from just that snippet of code, can you please open a Support Ticket and attach all the relevant artefacts (logs, statistics, configuration files and the smallest reproducible scenario, if possible) so one of our engineers can assist you further?.

Best regards.