Couchbase SDK 4.x Connection Error

Hi,
I recently installed Couchbase SDK 4.2 using node version ‘16.14.2’ and npm version ‘8.5.0’.
When I am trying to connect to my remote database server, it is throwing an error “request_canceled”.
Can someone help me? Please check the attached screenshots for the code I am using and for the error I am getting.


and please check the error logs got using “CBPPLOGLEVEL”=“trace”

Can someone help me out from this.

1 Like

@Praneeth_Bitra Did this get resolved?

@Couchbase

Hi @ppampana1, the issue is not resolved yet. I am waiting for the @Couchbase team to reply back.

Please use SDK Doctor to diagnose sdk connectivity issues. SDK Doctor | Couchbase Docs
The code snippets you’ve provided don’t show the values of the url etc. being used to make the connection.
(btw - screen-shot images are not searchable - it is preferred to have the actual text).

I think that’s expected. If not you will see unexpected error message on webpage or dialog box.Can you please check in .NET version. Code is prepopulated.

I think you can connect to server easily using 2-3 methods using command line statement. Please check it out in lab programs for reference.

Hi, @mreiche Thanks for the SDK Doctor suggestion. I really helped to understand the issue and to fix it.