A very simple node.js sdk query return null

env:couchbase server 5.0 beta 2
node.js version: 8.2.1
node.js sdk version: 2.3.6
bucket content:


code:

result:

pls help me, why I can’t return data?

Hey @angular,

Have you tested that you are able to contact the N1QL endpoint directly from your applications server? We have seen some cases where unusual network behaviour can cause an unknown error. It may be work running sdk-doctor from your application server to diagnose any sort of issues that might exist with the cluster. You can find the sdk binaries here: https://github.com/couchbaselabs/sdk-doctor/releases, and information on how to use it here: https://github.com/couchbaselabs/sdk-doctor .

Cheers, Brett

hi @brett19:

I'll try it.thank you!