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

cbbackupmgr is trying to connect on non-TLS port 9102 when taking backup

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Critical
    • None
    • 6.6.5
    • tools
    • Enterprise Edition 6.6.4 build 9947
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      Steps to reproduce:

      1. Create a 4 node cluster kv-index-index-n1ql and load all sample buckets
      2. Enable N2N encryption and set TLS level to strict

        ./couchbase-cli setting-autofailover -c localhost:8091 -u Administrator -p password --enable-auto-failover=0
        ./couchbase-cli node-to-node-encryption -c localhost:8091 -u Administrator -p password --enable
        curl -v -X POST -u Administrator:password http://10.112.205.101:8091/internalSettings -d 'canEnableStrictEncryption=true'
        curl -v -u Administrator:password -X POST http://localhost:8091/settings/security -d 'clusterEncryptionLevel=strict'

      1. Create back repository using cbbackupmgr and create backup

        [root@node1-cb660-centos7 ~]# /opt/couchbase/bin/cbbackupmgr config --archive /data/backups --repo example
        Backup repository `example` created successfully in archive `/data/backups`[root@node1-cb660-centos7 ~]# /opt/couchbase/bin/cbbackupmgr backup -c 127.0.0.1 -u Administrator -p password -a /data/backups -r example
        Backing up to '2021-12-15T07_39_02.94611836Z'
        Transferring GSI indexes for 'beer-sample'                                                                                                                                                                                                   0 items / 0B
        [===============================================================================================================================================================================================================================================] 100.00%
        Error backing up cluster: Indexer error: dial tcp 10.112.205.101:9102: connect: connection refused

      1. cbbackupmgr is connecting on non-TLS port, i.e 9102

      Attachments

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

        Activity

          People

            owend Daniel Owen
            hemant.rajput Hemant Rajput
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty