Do you have any more thoughts on this. I still don’t have a resolution.
I have found that I don’t get the error when connecting to a different server on the same local network. It’s only when I run the command from a server on a different network that it hangs before giving the unknown error.
Also, the command to get the bucket worked successfully, so I assume that it can see the server, open Couchbase and read the bucket.
Very sorry for the late reply. I missed brett’s reply with a pre-christmas work rush.
Anyway, back on this now and have tried using curl to read the view. curl does work properly and returns the correct number of rows. However, the SDK version mentioned in the first post still does not hangs. There are currently only three rows in the database.
I don’t really want to post the curl command that I’m using (with our server and bucket details). However, I can send it in a private message, along with my code using the SDK, if there’s a chance you could look at it?
Thanks a lot and aologise again for the late response.
This is now resolved. I didn’t have the node name set correctly in couchbase. Looking at the “Server Nodes” page, it was showing the internal network IP address, which I think it defaults to. I changed this to the external DNS host name using the curl command http://localhost:8091/node/controller/rename and my query command started working as expected.