Skip to content

Uncaught exception 'Exception' with message 'Reading while at end of stream'  #59

@samuel4x4

Description

@samuel4x4

PHP Fatal error: Uncaught exception 'Exception' with message 'Reading while at end of stream' in my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response/DataStream.php:40
Stack trace:
#0 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response/DataStream.php(154): evseevnn\Cassandra\Protocol\Response\DataStream->read(29801)
#1 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response.php(131): evseevnn\Cassandra\Protocol\Response\DataStream->readString()
#2 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response.php(164): evseevnn\Cassandra\Protocol\Response->evseevnn\Cassandra\Protocol{closure}(Object(evseevnn\Cassandra\Protocol\Response\DataStream))
#3 my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response.php(50): evseevnn\Cassandra\Protocol\Response->getErrorData()
#4 my-project/vendor/evseevnn/php-cassandra-binary/src/Database.php(199): evseevnn\Cassandra\Pro in my-project/vendor/evseevnn/php-cassandra-binary/src/Protocol/Response/DataStream.php on line 40

It happens when I'm trying to insert for example 200 batches of 1200 entries each.

My environment:

  • PHP 5.5.0
  • cqlsh 4.1.1
  • Cassandra 2.0.11
  • CQL spec 3.1.1
  • Thrift protocol 19.39.0
  • Java 1.7.0_71

Do you have any idea if this is a bug, or how can I fix it?
Thanks a lot!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions