I am getting this error immediately after connection is created.
Here is my code:
var options = {
transport: thrift.TBufferedTransport,
protocol: thrift.TBinaryProtocol,
path: "/data",
timeout:10000
};
var thrift_client = thriftPool(thrift, thClientService, {host: "hostname", port: 80 }, options);
thrift_client.getData(id, function(err, data){
if(errr){
console.log(error);
}
console.log(data);
});
I am getting this error immediately after connection is created.