Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2444

REST API /ping needs authorization and returns 500

    XMLWordPrintableJSON

Details

    Description

      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.

       

      Attachments

        1. image-2022-01-19-17-48-50-258.png
          298 kB
          Eric Pai
        2. image-2022-01-19-17-46-44-713.png
          141 kB
          Eric Pai

        Activity

          People

            ericpai Eric Pai
            ericpai Eric Pai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: