evseevnn-zz / php-cassandra-binary

PHP library for Cassandra database via a binary protocol.
http://evseevnn.github.io/php-cassandra-binary/
MIT License
69 stars 33 forks source link

API not work for me #74

Open thalissondev-xx opened 8 years ago

thalissondev-xx commented 8 years ago

API does not work for me, I try to make connection but is carrying up to timeout error, debugging api, I realized that the fetchData method of the Connection class, this code

while (strlen ($ data) <$ length) {
$ Data = socket_read ($ this-> connection, $ length).;
}

socket_read returns empty, then the infinite loop.

I'm trying to make the connection in ec2 my localhost;