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

Cbindex : seeing errors "TLS handshake timeout

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: User Error
    • Neo
    • Neo
    • secondary-index
    • Untriaged
    • 1
    • Unknown

    Description

      Build: 7.1.0-1472

      Seeing error when we explicitly set CBAUTH_REVRPC_URL

      [root@localhost ~]# echo $CBAUTH_REVRPC_URL
       
      [root@localhost ~]# /opt/couchbase/bin/cbindex -auth=Administrator:password -server 172.23.109.177:8091 -type create -bucket bucket-1 -fields 'city' -using plasma -index myindex1 -with {\"defer_build\":true} -use_tls -cacert root.pem
      Index created: name: "myindex1", ID: 566018314137585054, WITH clause used: "{\"defer_build\":true}" 

      [root@localhost ~]# export CBAUTH_REVRPC_URL=https://Administrator:password@172.23.104.146:8091/query
      [root@localhost ~]# echo $CBAUTH_REVRPC_URL
      https://Administrator:password@172.23.104.146:8091/query
       
       
      [root@localhost ~]# /opt/couchbase/bin/cbindex -auth=Administrator:password -server 172.23.109.177:8091 -type create -bucket bucket-1 -fields 'city' -using plasma -index myindex1 -with {\"defer_build\":true} -use_tls -cacert root.pem
      2021-10-14T00:47:37.844-07:00 [Fatal] MetakvGet: Failed to fetch /indexing/info/versionToken from metakv: Get https://172.23.104.146:8091/_metakv/indexing/info/versionToken: net/http: TLS handshake timeout
      2021-10-14T00:47:37.845-07:00 [Error] Fail to get indexer version from metakv.  Internal Error = Get https://172.23.104.146:8091/_metakv/indexing/info/versionToken: net/http: TLS handshake timeout
      2021-10-14T00:47:38.774-07:00 [Error] CommandListener: metakv notifier failed (Get https://172.23.104.146:8091/_metakv/indexing/ddl/commandToken/?feed=continuous: net/http: TLS handshake timeout)..Restarting 1
      2021-10-14T00:47:47.846-07:00 [Fatal] MetakvSet Failed to set /indexing/info/versionToken: Put https://172.23.104.146:8091/_metakv/indexing/info/versionToken: net/http: TLS handshake timeout
      2021-10-14T00:47:47.846-07:00 [Error] Fail to post indexer version to metakv.  Internal Error = Put https://172.23.104.146:8091/_metakv/indexing/info/versionToken: net/http: TLS handshake timeout
      2021-10-14T00:47:47.846-07:00 [Error] MetadataProvider: fail to post indexer version. Error = Put https://172.23.104.146:8091/_metakv/indexing/info/versionToken: net/http: TLS handshake timeout
      2021-10-14T00:47:50.775-07:00 [Error] CommandListener: metakv notifier failed (Get https://172.23.104.146:8091/_metakv/indexing/ddl/commandToken/?feed=continuous: net/http: TLS handshake timeout)..Restarting 2 

      It's not impacting anything functionally 

      Attachments

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

        Activity

          Can you give it a try with the below. We must not use https with revrpc its not yet supported. Also later when using https we should be using 18091.

          export CBAUTH_REVRPC_URL=http://Administrator:password@172.23.104.146:8091/query

          sai.teja Sai Krishna Teja added a comment - Can you give it a try with the below. We must not use https with revrpc its not yet supported. Also later when using https we should be using 18091. export CBAUTH_REVRPC_URL= http://Administrator:password@172.23.104.146:8091/query

          People

            vikas.chaudhary Vikas Chaudhary
            vikas.chaudhary Vikas Chaudhary
            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