Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-225

Unresponsive REST API on startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: SyncGateway
    • Security Level: Public
    • Labels:
      None
    • Story Points:
      3

      Description

      Issue reported on forums:
      https://forums.couchbase.com/t/sync-gateway-admin-service-not-available-after-restart-of-server/19341/6

      Based on the logs there, it looks like Sync Gateway successfully connects to the bucket, but then hangs when trying to retrieve/validate the design docs. This doesn't timeout/fail/otherwise report an error on the Sync Gateway side. This might be a gocb issue, where gocb is retrying or not setting a timeout on the view request, and so ends up stuck indefinitely.

      Seems likely that Couchbase Server is also being restarted along with SG, and that this has to do with attempting to retrieve design docs when the bucket is reachable but the view engine isn't quite ready.

      Migrated from: https://github.com/couchbase/sync_gateway/issues/3875

        Attachments

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

          Activity

          Hide
          adamf Adam Fraser added a comment -

          This may already be addressed with uptake of the latest gocb in Cobalt.  Given that it's uncommon and a workaround is available, closing unless we hear of a repro on Cobalt. 

          Show
          adamf Adam Fraser added a comment - This may already be addressed with uptake of the latest gocb in Cobalt.  Given that it's uncommon and a workaround is available, closing unless we hear of a repro on Cobalt. 

            People

            Assignee:
            The One The One
            Reporter:
            ben.brooks Ben Brooks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty