Not Able to Connect with Open Studio for Big Data as well as and Couchbase Server


#1

Hello All,

I want to move data from MySQL to Couchbase server using Talend. I have a new installation for Couchbase with the portal having the username Administrator and the password administrator. I also have Xampp installed with data in the data database.

Using Talend, I have setup the MySql connection, set up the credentials and schema and mapped the JSON.

When I run this job however, I get this error:

WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Connection 
problems with URI http://127.0.0.1:8091/pools ...skipping
java.io.IOException: Server returned HTTP response code: 401 for URL: http://127.0.0.1:8091/pools
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:344)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:144)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:126)
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:233)
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:256)
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:222)
at local_project.couchbasedummy_0_1.couchbasedummy.tCouchbaseOutput_1_MidProcess(couchbasedummy.java:1420)
at local_project.couchbasedummy_0_1.couchbasedummy$1ThreadXMLField_tCouchbaseOutput_1_In.run(couchbasedummy.java:619)
Exception in component tCouchbaseOutput_1_Out (couchbasedummy)
java.lang.NullPointerException
.....
.....

can you guy’s please help and let me know what is the problem

Thanks


#2

My guess is you’re using Couchbase Server 5.x? Chances are it’s related to the RBAC feature in 5.x, which locks down some of the URIs.

The most modern Talend connector shouldn’t use that though. Also, note that generally you would have a user other than the Couchbase user.

Which version of Talend/Couchbase do you have?