Apache SOLR HttpTransportException

Sometimes I get exception messages from a client server telling me something with SOLR, it doesn't work correctly:

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

or

 Uncaught exception 'Apache_Solr_HttpTransportException' with message ''404' Status: Not Found' in C:\xxxxxxxxx\php\Apache\Solr\Service.php:338 

Unfortunately, we do not have access to this machine. All we get are those exceptions caused by their system.

Regardless of the fact that this is a Windows server, what could be the reason for these messages? I expect 404 to mean there are disconnected connections, but what about 0?

Thanks in advance!

+6
source share
1 answer

IMHO, you get "0" because not a single http operation was performed because the connection was not established. 0 should be the default value.

0
source

Source: https://habr.com/ru/post/958837/


All Articles