You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2020/05/22 16:35:00 UTC

[jira] [Commented] (CAMEL-15104) camel-couchbase connection error

    [ https://issues.apache.org/jira/browse/CAMEL-15104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114219#comment-17114219 ] 

Andrea Cosentino commented on CAMEL-15104:
------------------------------------------

The component uses an old java client that won't work with newest couchbase. There is an issue for upgrading to newer client

> camel-couchbase connection error
> --------------------------------
>
>                 Key: CAMEL-15104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15104
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.23.2
>         Environment: 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
>            Reporter: Luca Ferrari
>            Priority: Major
>
> I'm trying to connect to a CB cluster while configuring the connector in the following way:
> {code:java}
> .to("couchbase:http://{{couchbase.server}}/{{couchbase.bucket}}?operation=CCB_PUT&password={{bucket.pass}}"){code}
>  
> with application properties:
> {code:java}
> couchbase.server=cb-cluster.unicredit.svc:8091
> couchbase.bucket=my-bucket
> bucket.pass=password{code}
>  
> 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:
> {code:java}
> 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.{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)