In a secured grid with XAP Manager for HA (3 manager servers defined) enabled, if you pick the wrong gsm, an error is returned.
2018-05-24 18:20:07,842 GSM SEVERE [com.gigaspaces.grid.gsm] - Failed to deploy [mySpace]; Caused by: org.jini.rio.core.OperationalStringException: Failed to redirect deployment request of [mySpace to GSM pid host[ip-172-31-4-23.us-east-2.compute.internal/172.31.4.23]
Caused by: com.gigaspaces.security.AuthenticationException: Authentication request is invalid - you are not logged in.
There seems to be one gsm which is the "active" one. If the wrong gsm is picked in the gs-ui or gs-webui, you get the above error. If user chooses the wrong host from which to run: gs.sh deploy -user xxx -password xxx pu.jar, he will get the same error.