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

Unauthorized 401 after running cluster run for a while

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Ionic
    • Columnar 1.0.0
    • analytics
    • Untriaged
    • 0
    • Unknown

    Description

      After having the cluster running for a while, all incoming requests (other than the UI) report an unauthorized failure. Example:

       

      ╰─$ curl --location 'localhost:9000/_p/cbas/analytics/admin/active_requests' -u couchbase:couchbase --verbose
      * Host localhost:9000 was resolved.
      * IPv6: ::1
      * IPv4: 127.0.0.1
      *   Trying [::1]:9000...
      * Connected to localhost (::1) port 9000
      * Server auth using Basic with user 'couchbase'
      > GET /_p/cbas/analytics/admin/active_requests HTTP/1.1
      > Host: localhost:9000
      > Authorization: Basic Y291Y2hiYXNlOmNvdWNoYmFzZQ==
      > User-Agent: curl/8.6.0-DEV
      > Accept: */*
      > 
      < HTTP/1.1 401 Unauthorized
      < Cache-Control: no-cache,no-store,must-revalidate
      < Connection: keep-alive
      < Content-Type: application/json; charset=UTF-8
      < Date: Wed, 24 Jul 2024 09:10:17 GMT
      < Expires: Thu, 01 Jan 1970 00:00:00 GMT
      < Pragma: no-cache
      < Server: Couchbase Server
      < Transfer-Encoding: chunked
      < X-Content-Type-Options: nosniff
      < X-Frame-Options: DENY
      < X-Permitted-Cross-Domain-Policies: none
      < X-XSS-Protection: 1; mode=block
      < 
      * Leftovers after chunking: 11 bytes
      * Connection #0 to host localhost left intact
      {"errors":[{"code":20000,"msg":"Unauthorized user."}],"status":"errors"}% 

      Attachments

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

        Activity

          People

            michael.blow Michael Blow
            Hussain.Towaileb Hussain Towaileb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty