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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 01:59:50
Script start
Timing: Jan 18 2025 01:59:50
Module start 'layout'
Timing: Jan 18 2025 01:59:50
Module start 'content'
Timing: Jan 18 2025 01:59:51
Module end 'content'
Timing: Jan 18 2025 01:59:51
Script end

Main resources:

Total runtime1.0401 sec
Peak memory usage4,096.0000 KB
Database Queries89

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.0625152.6250
Module start 'layout' 0.00780.0033 741.687539.4609
Module start 'content' 0.01111.0273 781.1484825.0313
Module end 'content' 1.03840.0016 1,606.179720.1563
Script end 1.0400  1,626.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3081160.0002
Check MTime0.00130.1248160.0001
Mysql Total
Database connection0.00100.093410.0010
Mysqli_queries0.956691.9687890.0107
Looping result0.00120.1178870.0000
Template Total1.002096.320.5010
Template load0.00190.184520.0010
Template processing1.000196.151520.5000
Template load and register function0.00020.018910.0002
states
state_id_array0.00100.093110.0010
state_identifier_array0.00220.211820.0011
Override
Cache load0.00170.1606510.0000
Sytem overhead
Fetch class attribute can translate value0.00090.086380.0001
Fetch class attribute name0.00150.1396130.0001
XML
Image XML parsing0.00530.512880.0007
class_abstraction
Instantiating content class attribute0.00000.0022140.0000
General
dbfile0.00440.4207330.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 6

Time used to render debug report: 0.0004 secs