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

eZ debug

Timing: Jan 17 2025 23:38:17
Script start
Timing: Jan 17 2025 23:38:17
Module start 'content'
Timing: Jan 17 2025 23:38:18
Module end 'content'
Timing: Jan 17 2025 23:38:18
Script end

Main resources:

Total runtime0.6330 sec
Peak memory usage4,096.0000 KB
Database Queries226

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0095 589.1875180.7813
Module start 'content' 0.00950.4979 769.9688830.1094
Module end 'content' 0.50740.1255 1,600.0781345.3047
Script end 0.6329  1,945.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.6872210.0002
Check MTime0.00160.2533210.0001
Mysql Total
Database connection0.00100.153110.0010
Mysqli_queries0.529283.59522260.0023
Looping result0.00260.41252240.0000
Template Total0.600094.820.3000
Template load0.00270.425820.0013
Template processing0.597294.350120.2986
Template load and register function0.00010.021710.0001
states
state_id_array0.00120.188010.0012
state_identifier_array0.00090.147420.0005
Override
Cache load0.00230.3705510.0000
Sytem overhead
Fetch class attribute can translate value0.00140.220990.0002
Fetch class attribute name0.00190.2956130.0001
XML
Image XML parsing0.00711.118690.0008
class_abstraction
Instantiating content class attribute0.00000.0037140.0000
General
dbfile0.00891.4100440.0002
String conversion0.00000.001130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs