Connection issues

Hi there!
I got this error today and I can’t get rig of if. Can you help me please?

I’m using PHP SDK and Couchbase 4.5 community edition.

[cb,EROR] (htconfig L:345 I:5) Not scheduling HTTP provider since no nodes have been configured for HTTP bootstrap
[cb,EROR] (bootstrap L:129 I:5) Failed to bootstrap client=0x55f4342f30f0. Error=LCB_CONNECT_ERROR (0x18), Message=No more bootstrap providers remain

Best, Maciej

[cb,INFO] (pcbc/bucket L:182) New lcb_t instance has been initialized. I=0x563cd2f70a60
[cb,DEBG] (confmon L:83 I:1) Preparing providers (this may be called multiple times)
[cb,DEBG] (confmon L:90 I:1) Provider CCCP is ENABLED
[cb,DEBG] (confmon L:90 I:1) Provider HTTP is ENABLED
[cb,INFO] (confmon L:177 I:1) Provider ‘CCCP’ failed
[cb,DEBG] (confmon L:211 I:1) Will try next provider in 0us
[cb,EROR] (htconfig L:345 I:1) Not scheduling HTTP provider since no nodes have been configured for HTTP bootstrap
[cb,INFO] (confmon L:177 I:1) Provider ‘HTTP’ failed
[cb,EROR] (bootstrap L:129 I:1) Failed to bootstrap client=0x563cd2f70a60. Error=LCB_CONNECT_ERROR (0x18), Message=No more bootstrap providers remain

full log above

Could you show how your connection string look like?

Does it work with localhost?

$cluster = new \Couchbase\Cluster("couchbase://127.0.0.1");
$bucket = $cluster->openBucket("default");

There is also tool for diagnosing Couchbase connections: https://github.com/couchbaselabs/sdk-doctor
Its output might have some clues about what might be wrong. Could you try to run it and paste output here? You can download pre-built binary for your platform here: https://github.com/couchbaselabs/sdk-doctor/releases

Ancient thread, but I ran into this same thing. In my case it was because I had a connection string with the IP address of the Couchbase server and some options but had omitted the “?” to separate the two. Adding that has progressed me to a sasl auth error, but it’s progress.