You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Eric Pai (Jira)" <ji...@apache.org> on 2022/01/19 09:50:00 UTC

[jira] [Created] (IOTDB-2444) REST API /ping needs authorization and returns 500

Eric Pai created IOTDB-2444:
-------------------------------

             Summary: REST API /ping needs authorization and returns 500
                 Key: IOTDB-2444
                 URL: https://issues.apache.org/jira/browse/IOTDB-2444
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Others
            Reporter: Eric Pai
            Assignee: Eric Pai
             Fix For: master branch
         Attachments: image-2022-01-19-17-46-44-713.png, image-2022-01-19-17-48-50-258.png

The /ping API is used for liveness probing, so there's no need to check authorization.

Moreover, the return code should be 401 instead of 500, which caused by a NPE.

!image-2022-01-19-17-46-44-713.png!

!image-2022-01-19-17-48-50-258.png!

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)