I am trying to make a N1QL query. I am successful in getting cluster connection. But it is failed when I am trying to execute the query. In the nginx error log I am getting this error-
[error] 17518#17518: *7703 FastCGI sent in stderr: "PHP message: [cb,WARN] (lcbio_mgr L:483
I:3887268011) <localhost:8093>
(HE=0x56542f856a50) Pooled socket is dead. Continuing to next one" while reading response
header from upstream, client: xxxxxxxxxxxxxxxx........
I’ve thought of firewall issue and tried disabling firewall. Also tried enabling ports in firewall and none worked. I am using Couchbase Server Enterprise Edition 6.6.1 build 9213. Here is the code I am using for cluster connection-
$connectionString = "couchbase://localhost";
$options = new \Couchbase\ClusterOptions();
$options->credentials('USERNAME', 'PASSWORD');
$cluster = new \Couchbase\Cluster($connectionString, $options);
new \Couchbase\QueryOptions();
$options->namedParameters($queryParams);
$cluster->query($query, $options);
What can I try to solve this?