Getting 'TTransportException'
sumxyz opened this issue · 2 comments
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
Does the keyspace you're trying to use exist? And is the provided example.php working?
TSocket->write('???2????????set...')
Encoding issue? Or did the OP just mask out the real data?