一切都在本地主机,但在服务器上的显示和错误,如精
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
我写了一个库在斯卡拉与Neo4j的,并连接到PHP在Ubuntu操作系统 - 同为localhost(mymachine上)和服务器 - 其工作完美,并与任何问题,但现场服务器上其抛出一个错误。 我复制上述的日志信息。 请帮我在这。