Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Apache SOLR HttpTransportException_Php_Apache_Exception_Solr - Fatal编程技术网

Php Apache SOLR HttpTransportException

Php Apache SOLR HttpTransportException,php,apache,exception,solr,Php,Apache,Exception,Solr,偶尔,我会收到来自客户服务器的异常邮件,告诉我SOLR出现了一些问题: Uncaught exception 'Apache_Solr_HttpTransportException' with message ''0' Status: Communication Error' in C:\xxxxxxxxx\php\Apache\Solr\Service.php:338 或 很遗憾,我们无法访问这台机器。我们只收到由他们的系统触发的异常邮件 不管它是windows服务器,这些消息的原因可能是什

偶尔,我会收到来自客户服务器的异常邮件,告诉我SOLR出现了一些问题:

Uncaught exception 'Apache_Solr_HttpTransportException' with message ''0' Status: Communication Error' in C:\xxxxxxxxx\php\Apache\Solr\Service.php:338

很遗憾,我们无法访问这台机器。我们只收到由他们的系统触发的异常邮件

不管它是windows服务器,这些消息的原因可能是什么?我希望404意味着存在连接中断,但是0呢


提前谢谢

IMHO,您将获得“0”,因为由于未建立连接,因此未执行任何http操作。0应该是默认值。

我整个下午都在寻找第二个异常的解决方案!还不走运!好问题!
Uncaught exception 'Apache_Solr_HttpTransportException' with message ''404' Status: Not Found' in C:\xxxxxxxxx\php\Apache\Solr\Service.php:338