Getting 'TTransportException' #16

Open
sumxyz opened this Issue May 17, 2012 · 2 comments

Projects

None yet

3 participants

@sumxyz
sumxyz commented May 17, 2012

Hi,

Am getting this error -

PHP Fatal error: Uncaught exception 'TTransportException' with message 'TSocket: timed out writing 54 bytes from 68.67.157.167:9160' in /var/www/html/Cassandra-PHP-Client-Library/thrift/transport/TSocket.php:299
Stack trace:
#0 /var/www/html/Cassandra-PHP-Client-Library/thrift/transport/TFramedTransport.php(175): TSocket->write('???2????????set...')
#1 /var/www/html/Cassandra-PHP-Client-Library/thrift/packages/cassandra/Cassandra.php(131): TFramedTransport->flush()
#2 /var/www/html/Cassandra-PHP-Client-Library/thrift/packages/cassandra/Cassandra.php(113): cassandra_CassandraClient->send_set_keyspace('DemdexProdKeysp...')
#3 /var/www/html/Cassandra-PHP-Client-Library/Cassandra.php(248): cassandra_CassandraClient->set_keyspace('DemdexProdKeysp...')
#4 /var/www/html/Cassandra-PHP-Client-Library/Cassandra.php(445): CassandraConnection->useKeyspace('DemdexProdKeysp...', NULL, NULL)
#5 /var/www/html/Cassandra-PHP-Client-Library/Cassandra.php(869): CassandraCluster->useKeyspace('DemdexProdKeysp...', NULL, NULL)
#6 /var/www/html/sari in /var/www/html/Cassandra-PHP-Client-Library/thrift/transport/TSocket.php on line 299

Owner

Does the keyspace you're trying to use exist? And is the provided example.php working?

Contributor

TSocket->write('???2????????set...')

Encoding issue? Or did the OP just mask out the real data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment