Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48154

Analytics server returns errors as plain text instead of JSON

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown
    • CX Sprint 280, CX Sprint 281

    Description

      Analytics service might return "503 Service Unavailable" instead error code wrapped into JSON structure.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            umang.agrawal Umang added a comment -

            Closing issue based on comment from Sergey Avseyev 

            umang.agrawal Umang added a comment - Closing issue based on comment from Sergey Avseyev  

            The change looks good, and also I see that MB-50876 also added "status" property into result.

            avsej Sergey Avseyev added a comment - The change looks good, and also I see that MB-50876 also added "status" property into result.
            umang.agrawal Umang added a comment -

            Sergey Avseyev I tried reproducing it by having a 2 node cluster and restarting the cbas service while running cbas queries in the loop, but I am unable to reproduce this issue. It seems you found this issue while running one of your tests, can you please rerun that test again and verify whether this issue has been fixed or not.

             

            umang.agrawal Umang added a comment - Sergey Avseyev I tried reproducing it by having a 2 node cluster and restarting the cbas service while running cbas queries in the loop, but I am unable to reproduce this issue. It seems you found this issue while running one of your tests, can you please rerun that test again and verify whether this issue has been fixed or not.  

            Build couchbase-server-7.1.0-2242 contains cbas-core commit c639178 with commit message:
            MB-48154: return errors as JSON

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-2242 contains cbas-core commit c639178 with commit message: MB-48154 : return errors as JSON

            The scenario that we saw this is in was a 4 node cluster running queries in a loop. Then the couchbase service is restarted on all nodes. The plaintext response was received from 172.23.111.131

            jake.rawsthorne#1 Jake Rawsthorne [X] (Inactive) added a comment - The scenario that we saw this is in was a 4 node cluster running queries in a loop. Then the couchbase service is restarted on all nodes. The plaintext response was received from 172.23.111.131

            People

              umang.agrawal Umang
              avsej Sergey Avseyev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty