Service n1ql is either not configured or cannot be reached. Check logs for details

Greeting.

We are getting this error from the Couchbase.NET SDK 3.3.4.

Couchbase.ServiceNotAvailableException: Service n1ql is either not configured or cannot be reached. Check logs for details.

The query service is running as the same statement being run by the SDK runs fine in the Query Builder. Also, port 8093 is open as are all the indexing ports.

This happens when running Couchbase in Docker as well as a stand-alone server.

Any ideas?

Is this part of an integration test suite or some other case where you just launched Couchbase before trying to bootstrap the SDK? I’ve seen this error before in those cases and had to add waits for Couchbase to be fully ready before bootstrapping.

The same in SDK 3.3.5 with on-premise instance.
Can not execute any queries, the same queries work in Console.

Hi @vsol

It’s likely a connectivity issue. Can you:

Jeff