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

            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