带有消息'TSocket read 0 bytes'的未捕获异常'TTransportException'

时间:2013-08-05 04:50:40

标签: php scala thrift

在Localhost上一切正常但在服务器上显示和错误如

PHP message: PHP Fatal error:  Uncaught exception 'TTransportException' with message 'TSocket read 0 bytes' in /var/www/SH_MVC/library/thrift/transport/TSocket.php:263
Stack trace:
#0 /var/www/SH_MVC/library/thrift/transport/TTransport.php(87): TSocket->read(4)
#1 /var/www/SH_MVC/library/thrift/transport/TBufferedTransport.php(109): TTransport->readAll(4)
#2 /var/www/SH_MVC/library/thrift/protocol/TBinaryProtocol.php(300): TBufferedTransport->readAll(4)
#3 /var/www/SH_MVC/library/thrift/protocol/TBinaryProtocol.php(192): TBinaryProtocol->readI32(NULL)
#4 /var/www/SH_MVC/library/thrift/packages/user_node/User_nodeService.php(460): TBinaryProtocol->readMessageBegin(NULL, 0, 0)
#5 /var/www/SH_MVC/library/thrift/packages/user_node/User_nodeService.php(419): user_node_User_nodeServiceClient->recv_create_article()
#6 /var/www/SH_MVC/application/models/neo4j.php(26): user_node_User_nodeServiceClient->create_article('testing1', '0a6c7824a972eea...', 'checking-neo4j', 'checking neo4j&...', '[{"id":"text-co...', '7" while reading response header from upstream, client: 000.00.0.000

我在Scala上用Neo4j编写了一个库,并在ubuntu操作系统上连接到php - 与Localhost(mymachine)和Server相同 - 它的工作完美且没有任何问题,但在实时服务器上却抛出错误。我复制了上面的日志信息。请帮助我。

0 个答案:

没有答案