Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15104

camel-couchbase connection error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • 2.23.2
    • None
    • None
    • None
    • Couchbase cluster installed using the Operator on Openshift 4.3

      Couchbase version 6.5.1

      Camel couchbase component used inside Fuse 7.6 running on SpringBoot

    • Unknown

    Description

      I'm trying to connect to a CB cluster while configuring the connector in the following way:

      .to("couchbase:http://{{couchbase.server}}/{{couchbase.bucket}}?operation=CCB_PUT&password={{bucket.pass}}")

       

      with application properties:

      couchbase.server=cb-cluster.unicredit.svc:8091
      couchbase.bucket=my-bucket
      bucket.pass=password

       

      after noticing that the most recent authentication mode (RBAC) with username and password is not really supported but the client is automatically calling the SASL authentication mode. So had to create a user with the same bucket name as its username.

       

      The result of the connection initialization in logs is:

      2020-05-22 15:35:13.552 INFO net.spy.memcached.auth.AuthThread: Authenticated to cb-cluster.unicredit.svc/10.128.0.81:11210
      2020-05-22 15:35:13.580 WARN com.couchbase.client.vbucket.provider.BucketConfigurationProvider: Could not parse config, retrying bootstrap.
      java.text.ParseException: JSONObject["proxy"] not found.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lucamaf Luca Ferrari
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: