Skip to content
This repository was archived by the owner on Aug 4, 2020. It is now read-only.
This repository was archived by the owner on Aug 4, 2020. It is now read-only.

TTransportException: TSocket read 0 bytes #115

@micrub

Description

@micrub

While using TBufferedTransport instead of default TFramedTransport like in following example :

$framed = false;
$pool = new ConnectionPool($keyspace,$servers,null,5,5000,5000,10000,null,$framed);
$cf = new ColumnFamily($pool,'User');
$result = $cf->get('1056');
[Thu Jan 31 14:42:09 2013] [error] [client 127.0.0.1] Error connecting to 10.0.0.221: TTransportException: TSocket read 0 bytes

P.S. Also I get same behavior achieved while changing from :

$this->client = new CassandraClient(new \TBinaryProtocolAccelerated($transport));

to

$this->client = new CassandraClient(new \TBinaryProtocol($transport));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions