I rebulding solr server after VPS crash, so I'm not completely newbie, but this time something went wrong and I can't manage the problem:

I configuring Apache Solr to use with Drupal. Acoording to may manuals Solr server URI should look like xx.xx.xx.xx:8983/solr/corename

but my Solr ULR looks like


However, Drupal reports "The Solr server could be reached", but when indexing I get errors:

  1. SearchApiException while deleting items from server New SOLR server: "400" Status: Bad Request HTTP Status 400 - HTTP method POST is not supported by this URL The request sent by the client was syntactically incorrect.

  2. SearchApiException: Could not index items since important pending server tasks could not be perfor


System info: Ubuntu 14, solr 4.7.2, tomcat 7

  • You did not say which Solr module for Drupal you are using.
    – mona lisa
    Commented Oct 3, 2015 at 23:43
  • I wonder why it has been accepted an answer given a year later than another one, and that essentially says the same thing as the older one.
    – apaderno
    Commented Oct 8, 2015 at 5:58

3 Answers 3


The URL that the Drupal modules need is different than the one on which you browse the Solr server as an admin. Thus, for you, assuming 8983 is server port, it should be:


  • Thank you, this helped me to solve my problem.
    – drupalfan
    Commented Jun 14, 2022 at 9:07

The solution is to put "/solr/corename" in Solr path field ignoring "#/~cores/" part of URL on the Drupal Searh API server configuration page. Then you should press "Clear all indexed data" button on index page, then reindex.


For Solr 4.x the server's path should also contain the Solr core name.

E.g. when using default example application, set the path to /solr/collection1 instead of /solr, then it should work.

Related: Upgrade - The Solr server could not be reached at d.o.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.