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

Json encoder/decoder throws Server error during processing:{what,{ucs,{bad_utf8_character_code}}},mochijson2,json_encode_array,2},

    Details

      Description

      Setup:
      ----------
      1. Setup a 10:10 node xdcr replication on 2 buckets, with bidirectional xdcr and unidirectional xdcr on the buckets.
      2. XCDR is working as expected.

      Unable to read any information from server, getting error
      Server error during processing: ["web request failed",

      {path,"/pools/default/tasks"}

      ,

      {type,exit}

      ,
      {what,{ucs,

      {bad_utf8_character_code}

      }},
      {trace,
      [

      {xmerl_ucs,from_utf8,1}

      ,

      {mochijson2,json_encode_string,2}

      ,

      {mochijson2,'-json_encode_array/2-fun-0-', 3}

      ,

      {lists,foldl,3}, {mochijson2,json_encode_array,2}, {mochijson2, '-json_encode_proplist/2-fun-0-',3},{lists,foldl,3}

      ,

      {mochijson2,json_encode_proplist,2}

      ]}] (repeated 11 times)

      Unable to get any task definitions
      http://ec2-175-41-184-132.ap-southeast-1.compute.amazonaws.com:8091/pools/default/tasks
      http://ec2-122-248-222-144.ap-southeast-1.compute.amazonaws.com:8091/pools/default/tasks

      Seeing this after running the cluster for 1-2 days, not seen similar errors on the begining of the test.

      [Dont have cluster ssh access currently and will upload logs shortly.]
      The clusters are accessible at
      http://ec2-175-41-184-132.ap-southeast-1.compute.amazonaws.com:8091/
      http://ec2-177-71-147-19.sa-east-1.compute.amazonaws.com:8091/

      @Abhinav - Can we add the complete diags on this one?

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

        Activity

        ketaki Ketaki Gangal created issue -
        ketaki Ketaki Gangal made changes -
        Field Original Value New Value
        Assignee Junyi Xie [ junyi ] Aliaksey Artamonau [ aliaksey artamonau ]
        junyi Junyi Xie (Inactive) made changes -
        Component/s ns_server [ 10019 ]
        Component/s cross-datacenter-replication [ 10136 ]
        ketaki Ketaki Gangal made changes -
        Assignee Aliaksey Artamonau [ aliaksey artamonau ] Aaron Miller [ aaron ]
        Component/s ns_server [ 10019 ]
        Hide
        ketaki Ketaki Gangal added a comment -

        Checked w/ Alk.A moving this back to ns_server.

        Also bug http://www.couchbase.com/issues/browse/MB-5925 shows a similar error, need to check.

        Show
        ketaki Ketaki Gangal added a comment - Checked w/ Alk.A moving this back to ns_server. Also bug http://www.couchbase.com/issues/browse/MB-5925 shows a similar error, need to check.
        ketaki Ketaki Gangal made changes -
        Component/s ns_server [ 10019 ]
        Component/s storage-engine [ 10175 ]
        Aliaksey Artamonau Aliaksey Artamonau made changes -
        Assignee Aaron Miller [ aaron ] Aliaksey Artamonau [ aliaksey artamonau ]
        Show
        abhinav Abhinav Dangeti added a comment - https://s3.amazonaws.com/bugdb/MB-7092/ec2-122-248-222-144.ap-southeast-1.compute.amazonaws.com-8091-diag.txt.gz https://s3.amazonaws.com/bugdb/MB-7092/ec2-175-41-184-132.ap-southeast-1.compute.amazonaws.com-8091-diag.txt.gz https://s3.amazonaws.com/bugdb/MB-7092/ec2-177-71-147-19.sa-east-1.compute.amazonaws.com-8091-diag.txt.gz https://s3.amazonaws.com/bugdb/MB-7092/ec2-54-232-10-39.sa-east-1.compute.amazonaws.com-8091-diag.txt.gz
        Hide
        steve Steve Yen added a comment -

        blocker'ed per bug scrub mtg

        Show
        steve Steve Yen added a comment - blocker'ed per bug scrub mtg
        steve Steve Yen made changes -
        Priority Critical [ 2 ] Blocker [ 1 ]
        Show
        Aliaksey Artamonau Aliaksey Artamonau added a comment - http://review.couchbase.org/22278
        Aliaksey Artamonau Aliaksey Artamonau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        kzeller kzeller added a comment -

        RN: Errors had occurred performing replication via XDCR due to improper
        handling of non- UTF-8 characters. We now handle errors due to
        non- UTF-8 characters and can continue replication via XDCR for
        JSON documents containing non- UTF-8.

        Show
        kzeller kzeller added a comment - RN: Errors had occurred performing replication via XDCR due to improper handling of non- UTF-8 characters. We now handle errors due to non- UTF-8 characters and can continue replication via XDCR for JSON documents containing non- UTF-8.
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Aliaksey Artamonau Aliaksey Artamonau
            Reporter:
            ketaki Ketaki Gangal
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes