You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Ferrari (Jira)" <ji...@apache.org> on 2020/05/22 15:58:00 UTC
[jira] [Created] (CAMEL-15104) camel-couchbase connection error
Luca Ferrari created CAMEL-15104:
------------------------------------
Summary: 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
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)