Dmitriy Borunov created IGNITE-17234:
----------------------------------------

             Summary: "version" and "probe" REST commands should not require 
authentication
                 Key: IGNITE-17234
                 URL: https://issues.apache.org/jira/browse/IGNITE-17234
             Project: Ignite
          Issue Type: Improvement
          Components: rest
            Reporter: Dmitriy Borunov
            Assignee: Dmitriy Borunov


*Actual:*

/ignite?cmd=version and /ignite?cmd=probe both return:
{code:java}
{"successStatus":2,"error":"Failed to authenticate remote client (secure 
session SPI not set?): GridRestRequest [destId=null, 
clientId=3fbf0a38-4d80-42f3-9f77-a0ba7e2da396, addr=/127.0.0.1:54649, 
cmd=<cmd>, authCtx=null]","sessionToken":null,"response":null} {code}
*Expected:*
{code:java}
{"successStatus":0,"error":null,"sessionToken":null,"response":"grid has 
started"} {code}
These two commands should not require authentication because it could cause a 
timeout due to system cache usage (transactions + pme ). These commands may be 
blocked for some time or timed out. It can be interpreted as a cluster failure.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to