Skip to content

Thrift-pool: Connection closed #22

@guptanishank

Description

@guptanishank

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);
}); 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions