Getting 'Apache_Solr_HttpTransportException' with message ''0' Status: Communication Error' on new server

247 views
Skip to first unread message

Anneliese Dehner

unread,
Sep 2, 2016, 5:28:30 PM9/2/16
to PHP Solr Client
Hi there,

Last night my web host moved my Omeka installation to a new server. I'm connecting to an OpenSolr index from this server. I can ping the server (with my OpenSolr index) from my new server. The OpenSolr index and core appear to be working fine, and the schema/config files are unchanged. But since the server move, php cannot connect to the OpenSolr server. Instead I get the following error:

exception 'Apache_Solr_HttpTransportException' with message ''0' Status: Communication Error' in /home/annelies/public_html/janeaddams/plugins/SolrSearch/lib/solr-php-client/Service.php:338

What could have changed in the new server setup to sever the connection?

Thanks for any insights you may have.

Anneliese

Donovan Jimenez

unread,
Sep 2, 2016, 5:38:34 PM9/2/16
to php-sol...@googlegroups.com
a 0 status means it could not make the tcp connection for some reason. Since you're able to ping, its probably not DNS or routing. But it could be outbound firewall (do you have to ask your web host to make certain outbound tcp connections), or ip access white list at opensolr (did you setup access only for your previous host ip and now need to update it).

You can troubleshoot by trying direct http requests to the index from the host (browser, netcat, curl, wget, etc).

--
You received this message because you are subscribed to the Google Groups "PHP Solr Client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-solr-client+unsubscribe@googlegroups.com.
To post to this group, send email to php-solr-client@googlegroups.com.
Visit this group at https://groups.google.com/group/php-solr-client.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages