Details
-
Task
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
I am trying to connect to a Data+Query+Index Node using the sample node.js client library.
sample client script: https://github.com/couchbaselabs/devguide-examples/blob/master/nodejs/query-create-index.js
On running a simple create index script, I hit the below error, which seems to come from https://github.com/couchbase/couchnode/blob/c2eae98afca14c1a0298248c036b9c7e05db2d9c/lib/bucket.js#L681
/Users/ketaki/SA/client_sdk/devguide-examples/nodejs/query-create-index.js:18
if (err) throw err;
^
Error: An unknown N1QL error occured. This is usually related to an out-of-memory condition.
at /Users/ketaki/node_modules/couchbase/lib/bucket.js:680:15
I checked the query.log files, there are no errors on the query.log but this is at INFO level.
I checked the memory on the server , there is 11gb free space
[root@ip-10-0-49-186 logs]# free -g
total used free shared buff/cache available
Mem: 15 1 11 0 2 13
Swap: 0 0 0
[root@ip-10-0-49-186 logs]#
The server is fine with < 20% CPU and there is no other operation on this cluster.
Attached is the verbose client side logs, which shows the below error
46 14879ms [I0] {22635/50f} [WARN] (lcbio - L:103) FIXME: Unknown iops/os error code 60. Using NETWORK_ERROR
47 14879ms [I0] {22635/50f} [INFO] (lcbio - L:112) Translating errno=60, lcb=0x10 to NETWORK_ERROR
48 14879ms [I0] {22635/50f} [ERROR] (connection - L:141) <ec2-34-209-199-75.us-west-2.compute.amazonaws.com:8093> (SOCK=0x10371c510) Failed to establish connection: LCB_NETWORK_ERROR (0x10), os errno=60
49 14879ms [I0] {22635/50f} [DEBUG] (lcbio_mgr - L:271) <ec2-34-209-199-75.us-west-2.compute.amazonaws.com:8093> (HE=0x103863a00) Received result for I=0x10371c250,C=0x0; E=0x10
50 14879ms [I0] {22635/50f} [ERROR] (http-io - L:227) Connection to failed with Err=0x10
51 14879ms [I0] {22635/50f} [TRACE] (http-io - L:227) <ec2-34-209-199-75.us-west-2.compute.amazonaws.com:8093> POST http://http://ec2-34-209-168- 150.us-west-2.compute.amazonaws.com:8093/query/service/query/service. Body=79 bytes