Client-Side Timeout exceeded (lcb_set_get_callback error) in 4.61 ver

Hello! I am have some problem. After update couchbase server since 4.5 to 4.61 version, appear next error during first connection:

Client-Side timeout exceeded for operation. Inspect network conditions or increase the timeout (0x17)
Failed to get entry for key DiameterSession 

Error invoked by function:

lcb_set_get_callback(instance, CouchbaseGetEntryCbk);

Connection implement:

lcb_error_t err;
struct lcb_create_st create_options;
struct lcb_create_io_ops_st io_opts;
io_opts.version = 0;
io_opts.v.v0.type = LCB_IO_OPS_DEFAULT;
io_opts.v.v0.cookie = NULL;

memset(&create_options, 0, sizeof(create_options));
err = lcb_create_io_ops(&, &io_opts);
if (err != LCB_SUCCESS)
       return err;
} = serverAddress.c_str();    
create_options.v.v0.bucket = bucketName.c_str();
create_options.v.v0.passwd = password.c_str();
err = lcb_create(&instance, &create_options);

Why in newer version error occurs?

I can’t think of a reason why it should change in behavior between 4.5 and 4.6; however I’d recommend you use version 3 of the create structure, with the connection string. In general, if you can, please update your couchbase code to use the new ‘v3’ API which was released in 2014 :slight_smile:

You can make the library dump logs if you set LCB_LOGLEVEL=5 in the environment. This might give you some more information.