[TYPO3-Solr] Indexing fails? Check your url...

Markus Bucher markusbucher at gmx.de
Wed Jan 4 14:24:19 CET 2012


Hi there,

I just experienced an error I like to share with you.

If you can connect to your solr server, can commit, delete, optimize 
index, but indexing itself produces no requests, check your URL. It must 
be accessible with curl.

We are using DNS records like this for development:

bucher.project.development.ourcompany.local

which lead to errors when trying to curl them:

  $ curl bucher.project.development.ourcompany.local
curl: (6) Couldn't resolve host 
'bucher.project.development.ourcompany.local'


Then you should add this dns to the webserver's hosts-file:

127.0.0.1	localhost
127.0.1.1       development.ourcompany.local
127.0.1.1	bucher.project.development.ourcompany.local


Hope this helps some of you not wasting much time finding this error...

Markus


More information about the TYPO3-project-solr mailing list