Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-682

[gocbcore.v8] Connections to server timing out with v8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0.1
    • None
    • library
    • 1
    • SDK5: Docs, Pathfind Antorized

    Description

      This could likely be due to the change in the auth handling between v7 and v8.

      Here's a test program that captures an FTS scenario ..

      https://gist.github.com/abhinavdangeti/cb080931b0f70059e567d68bf5ce17da

      http_access_internal shows that the connection is initiated ..

      ::1 - Administrator [03/Jan/2020:14:05:17 -0800] "RPCCONNECT /cbft-cbauth HTTP/1.1" 200 0 - Go-http-client/1.1 

      Possibly related warning messages on memcached.log ..

      2020-01-03T14:05:17.638401-08:00 INFO 46: HELO [{"a":"gocbcore/v8.0.0-beta.1","i":"da901d24eb3a3a74/536dd20992c4fdb3"}] XATTR, Select bucket, AltRequestSupport, SyncReplication [ 127.0.0.1:58700 - 127.0.0.1:12000 (not authenticated) ]
      2020-01-03T14:05:17.638474-08:00 INFO 46: select_bucket failed - Not authenticated. {"cid":"da901d24eb3a3a74/536dd20992c4fdb3/3","connection":"[ 127.0.0.1:58700 - 127.0.0.1:12000 (not authenticated) ]","bucket":"travel-sample"}
       
      2020-01-03T14:05:17.638537-08:00 WARNING 46 - Client [ 127.0.0.1:58700 - 127.0.0.1:12000 (not authenticated) ] not aware of extended error code (no access). Disconnecting
      2020-01-03T14:05:17.638551-08:00 WARNING 46: Delay shutdown: refcount: 1 ewb: false pendingData: 12786
      2020-01-03T14:05:17.638553-08:00 WARNING 46: Delay shutdown: refcount: 1 ewb: false pendingData: 12786
      2020-01-03T14:05:17.638555-08:00 WARNING 46: Delay shutdown: refcount: 1 ewb: false pendingData: 12786

      Attachments

        Issue Links

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

          Activity

            People

              charles.dixon Charles Dixon
              abhinav Abhi Dangeti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty