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

Querying a view yields "unknown error"

    XMLWordPrintable

Details

    • Untriaged
    • Ubuntu 64-bit
    • 1
    • Yes

    Description

      Both curl and the console face an issue when interrogating a view with a start key on my buckets (HTTP 1.0 or 1.1). When not using a start key, everything is fine.

      Here is curl's trace:

      curl -vv -g --http1.0 http://user:password@127.0.0.1:8092/mybucket/_design/myview/_view/v?stale=false\&startkey=\"\"\&endkey=1620094441\&limit=11

      • Trying 127.0.0.1:8092...
      • Connected to 127.0.0.1 (127.0.0.1) port 8092 (#0)
      • Server auth using Basic with user 'user'
        > GET /mybucket/_design/myview/_view/v?stale=false&startkey=""&endkey=1620094441&limit=11 HTTP/1.0
        > Host: 127.0.0.1:8092
        > Authorization: Basic YnVja2V0dXNlcjp0aWxpc3NlIQ==
        > User-Agent: curl/7.75.0
        > Accept: /
        >
      • Mark bundle as not supporting multiuse
      • HTTP 1.0, assume close after body
        < HTTP/1.0 500 Internal Server Error
        < X-XSS-Protection: 1; mode=block
        < X-Permitted-Cross-Domain-Policies: none
        < X-Frame-Options: DENY
        < X-Content-Type-Options: nosniff
        < Server: MochiWeb/1.0 (Any of you quaids got a smint?)
        < Date: Wed, 05 May 2021 02:34:18 GMT
        < Content-Type: text/plain;charset=utf-8
        < Content-Length: 43
        < Cache-Control: must-revalidate
        < {"error":"unknown_error","reason":"undef"}
      • Closing connection 0

      Attachments

        1. rovaniemi.zip
          50.51 MB
        2. views.log.gz
          441 kB

        Issue Links

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

          Activity

            Awesome, thanks Chris Hillery!

            malarky Chris Malarky added a comment - Awesome, thanks Chris Hillery !

            Just adding a note that this build (6.6.2-9598) was superseded by 6.6.2-9600 in CBD-4129.

            malarky Chris Malarky added a comment - Just adding a note that this build (6.6.2-9598) was superseded by 6.6.2-9600 in CBD-4129.

            Build couchbase-server-7.0.2-6503 contains tlm commit 8d855f6 with commit message:
            MB-46126: Use jemalloc cb5 (without TLS initial-exec)

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.2-6503 contains tlm commit 8d855f6 with commit message: MB-46126 : Use jemalloc cb5 (without TLS initial-exec)

            Build couchbase-server-7.1.0-1140 contains tlm commit 8d855f6 with commit message:
            MB-46126: Use jemalloc cb5 (without TLS initial-exec)

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1140 contains tlm commit 8d855f6 with commit message: MB-46126 : Use jemalloc cb5 (without TLS initial-exec)

            Build couchbase-lite-core-3.1.0-205 contains tlm commit 8d855f6 with commit message:
            MB-46126: Use jemalloc cb5 (without TLS initial-exec)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-core-3.1.0-205 contains tlm commit 8d855f6 with commit message: MB-46126 : Use jemalloc cb5 (without TLS initial-exec)

            People

              ritam.sharma Ritam Sharma
              vincent.lextrait Vincent Lextrait
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty