Description
When I execute this command
/opt/couchbase/bin/cbq -u Administrator -p password -s="select curl('POST', 'http://172.23.106.24:8093/query/service', {'data' : 'statement=select * from default', 'user':'Administrator:password','connect-timeout':10})" inside my VM, sometimes I get the correct result which is an empty result, but other times I get this panic. It seems like the higher I make the connect-timeout the more the panic appears. Also no matter how high I make the connection-timeout I do not ever get the results of select * from default (without the connect-timeout option specified the results from select * from default will appear correctly)
{
"requestID": "80563ad3-ea7b-4e08-90bf-539f7fd1cf0b",
"signature": {
"$1": "object"
},
"results": [
],
"errors": [
{
"code": 5001,
"msg": "Panic: not supported converstion to c long"
}
],
"status": "stopped",
"metrics": {
"elapsedTime": "3.305539ms",
"executionTime": "3.281305ms",
"resultCount": 0,
"resultSize": 0,
"errorCount": 1
}
}