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

            avsej Sergey Avseyev created issue -
            avsej Sergey Avseyev made changes -
            Field Original Value New Value
            Description Analytics service might return "503 Service Unabailable" instead error code wrapped into JSON structure. Analytics service might return "503 Service Unavailable" instead error code wrapped into JSON structure.
            avsej Sergey Avseyev made changes -
            Link This issue relates to CCBC-1472 [ CCBC-1472 ]

            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
            raju Raju Suravarjjala made changes -
            Fix Version/s Neo [ 17615 ]
            jake.rawsthorne#1 Jake Rawsthorne [X] (Inactive) made changes -
            Labels situational-test
            dmitry.lychagin Dmitry Lychagin (Inactive) made changes -
            Labels situational-test situational-test triaged
            ray.cardillo Ray Cardillo made changes -
            Link This issue relates to CBD-4306 [ CBD-4306 ]
            till Till Westmann made changes -
            Rank Ranked higher
            till Till Westmann made changes -
            Rank Ranked higher
            till Till Westmann made changes -
            Rank Ranked higher
            till Till Westmann made changes -
            Rank Ranked higher
            till Till Westmann made changes -
            Rank Ranked higher
            till Till Westmann made changes -
            Assignee Till Westmann [ till ] Michael Blow [ michael.blow ]
            till Till Westmann made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            till Till Westmann made changes -
            Sprint CX Sprint 280 [ 1993 ]
            till Till Westmann made changes -
            Rank Ranked higher
            michael.blow Michael Blow made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            till Till Westmann made changes -
            Sprint CX Sprint 280 [ 1993 ] CX Sprint 280, CX Sprint 281 [ 1993, 2001 ]
            michael.blow Michael Blow made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

            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
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Assignee Michael Blow [ michael.blow ] Umang [ JIRAUSER24787 ]
            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.  
            umang.agrawal Umang made changes -
            Assignee Umang [ JIRAUSER24787 ] Sergey Avseyev [ avsej ]
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Assignee Sergey Avseyev [ avsej ] Umang [ JIRAUSER24787 ]
            till Till Westmann made changes -
            Link This issue relates to MB-50876 [ MB-50876 ]

            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 -

            Closing issue based on comment from Sergey Avseyev 

            umang.agrawal Umang added a comment - Closing issue based on comment from Sergey Avseyev  
            umang.agrawal Umang made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            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