Forums / Extensions / eZ Find / error.log sendHTTPRequest

error.log sendHTTPRequest

Author Message

laurent le cadet

Thursday 21 February 2008 6:46:57 am

Hi, I have this error frequently in the ez error log file :

[ Jan 04 2008 16:01:54 ] [zoneindustrie.alfanwt.net] eZSolr::sendHTTPRequest():
curl error: 7

Someone know what that mean ?

Regards.

Laurent

Kåre Køhler Høvik

Friday 14 March 2008 8:51:34 am

Hi

The eZ Find PHP code is not able to connect correctly to the java process. ( start.jar )

Kåre Høvik

Ali Nebi

Monday 26 May 2008 5:25:36 am

Hi,

we have the same problem: eZSolr::sendHTTPRequest(): curl error: 7.

We have started on rhel 5 solr with these parameters:

-Dezfind -Xms512M -Xmx512M

My question is:

Is -Dezfind a valid parameter for the server?
I think it is not valid and it is one of the reason to get this error.
Maybe i'm wrong.

What is the correct way to run solr with EZ?

Iguana Information Technologies, SL - http://www.iguanait.com

Martin Le Bas

Friday 04 July 2008 12:32:05 am

I have the same problem too.
Did you find a solution ?

thanks,

Martin

Alexander Petrov

Tuesday 17 August 2010 5:33:59 am

I had the same problem on one hosting. Seems it caused by missing Apache webserver (maybe lighttpd or else used).

Gerard Ouiller

Thursday 16 September 2010 1:46:58 am

I have exactly the same problem. did you find a solution ?

Gwenal Le Bihan

Monday 06 June 2011 3:56:25 am

Hello,

you can try that :

if you have access of php.ini then make these parameters true
allow_url_fopen = On
allow_url_include = On

It worked for me (multicore configuration and solr on a separate server, hence http://192.168.1.x/solr/xxx_admin in solr.ini)

Gwen

Gaetano Giunta

Monday 06 June 2011 2:10:42 pm

Please never, EVER, set allow_url_include = On in your php.ini.

There is no code in eZ that needs it. If there was, I'd just remove it and kick the developer.

And it is  abig security hole.

Principal Consultant International Business
Member of the Community Project Board

Gaetano Giunta

Monday 06 June 2011 2:15:09 pm

@Ali: using -Dezfind is actually harmless: it is a parameter that is unused by the java process, but that you can use when you grep through the ouput of the ps command, to distinguish the java process running ezfind from other java processes.

If eZ Publish can not connect to Solr, the easy way to debug the problem is to connect to solr using a browser: http.//solr.server.address:8983/solr/admin. If the browser can connect, and eZ Publish can not, you should check the parameters in solr.ini in eZP to see if the address of the solr server is right. If it is, use a network sniffer, such as wireshark, to analyze the traffic between eZP and Solr

Principal Consultant International Business
Member of the Community Project Board