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

Unresponsive REST API on startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.6.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • 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

          People

            The One The One
            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