php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58953 solr client only connects when endpoint is localhost
Submitted: 2009-11-17 22:29 UTC Modified: 2010-04-23 23:00 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: jason at xlntads dot com Assigned: iekpo (profile)
Status: No Feedback Package: solr (PECL)
PHP Version: 5.3.0 OS: centos linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jason at xlntads dot com
New email:
PHP Version: OS:

 

 [2009-11-17 22:29 UTC] jason at xlntads dot com
Description:
------------
query only returns when solr server happens to be on localhost when using an IP address.

Reproduce code:
---------------
this code: 

<?php
ini_set('display_errors','1');
define('SOLR_SERVER_HOSTNAME', 'examp.leip.add.ress');
define('SOLR_SECURE', false);
define('SOLR_SERVER_PORT', ((SOLR_SECURE) ? 8443 : 8983));
define('SOLR_SERVER_TIMEOUT', 10);
$options = array(
    'hostname' => SOLR_SERVER_HOSTNAME,
    'port'     => SOLR_SERVER_PORT,
	'secure'   => SOLR_SECURE,
	'timeout'  => SOLR_SERVER_TIMEOUT
);
$client = new SolrClient($options);
$query = new SolrQuery('packettest');
$query->setFacet(true);
$query->addFacetField('envpart')->setFacetMinCount(2);
$updateResponse = $client->query($query);
$response_array = $updateResponse->getResponse();
$facet_data = $response_array->facet_counts->facet_fields;
print_r($facet_data);
?>

on the local server returns the expected result.

solr_string_alloc() [Re]allocated 64 bytes at 0x25aa390 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 262 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aa530 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 264 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aa5e0 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 265 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aa630 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 266 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aa680 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 267 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aa6d0 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 268 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aa720 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 334 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aac18 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 403 
solr_string_alloc() [Re]allocated 64 bytes at 0x25aac68 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 412 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab248 in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab430 in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab5d0 in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in zim_SolrQuery_setFacetMinCount(), /tmp/pear/temp/solr/php_solr_query.c Line 737 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab8d8 in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 
solr_string_free_ex() Releasing 64 bytes at 0x25ab6e8 in zim_SolrQuery_setFacetMinCount(), /tmp/pear/temp/solr/php_solr_query.c Line 748 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 457 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 459 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 461 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 
solr_string_free_ex() Releasing 64 bytes at 0x25ab6e8 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 457 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 459 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 461 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 
solr_string_free_ex() Releasing 64 bytes at 0x25ab6e8 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 496 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 497 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 498 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 
solr_string_free_ex() Releasing 64 bytes at 0x25ab6e8 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 457 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 459 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 461 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab9f0 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 
solr_string_free_ex() Releasing 64 bytes at 0x25ab6e8 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 58 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 61 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 62 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 63 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 64 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 65 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 66 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae338 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 69 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 70 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae3d8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 71 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae428 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 72 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae478 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 73 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae338 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 76 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 77 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae3d8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 78 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae428 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 79 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae478 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 80 
solr_string_alloc() [Re]allocated 196 bytes at 0x25ae4c8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 82 
solr_string_alloc() [Re]allocated 196 bytes at 0x25ae5a0 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 83 
solr_string_alloc() [Re]allocated 203 bytes at 0x25ae258 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 84 
solr_string_alloc() [Re]allocated 200 bytes at 0x25ae678 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 85 
solr_string_alloc() [Re]allocated 195 bytes at 0x25ae750 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 86 
solr_string_free_ex() Releasing 64 bytes at 0x25ab6e8 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 88 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 207 bytes at 0x25ae828 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 207 bytes at 0x25ae828 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 207 bytes at 0x25ae828 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 396 bytes at 0x25ae908 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 279 
solr_string_alloc() [Re]allocated 545 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ab6e8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 285 
solr_string_alloc() [Re]allocated 545 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 545 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae478 in solr_curl_write_header(), /tmp/pear/temp/solr/solr_functions_client.c Line 241 
solr_string_alloc() [Re]allocated 545 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae478 in solr_curl_write_header(), /tmp/pear/temp/solr/solr_functions_client.c Line 241 
solr_string_alloc() [Re]allocated 698 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 221 bytes at 0x25ab738 in solr_curl_write_header(), /tmp/pear/temp/solr/solr_functions_client.c Line 241 
solr_string_alloc() [Re]allocated 698 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 221 bytes at 0x25ab738 in solr_curl_write_header(), /tmp/pear/temp/solr/solr_functions_client.c Line 241 
solr_string_alloc() [Re]allocated 221 bytes at 0x25ab738 in solr_curl_write_header(), /tmp/pear/temp/solr/solr_functions_client.c Line 241 
solr_string_alloc() [Re]allocated 698 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 1330 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 737 bytes at 0x25aeff0 in solr_curl_write(), /tmp/pear/temp/solr/solr_functions_client.c Line 218 
solr_string_alloc() [Re]allocated 1330 bytes at 0x25aeaa8 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 64 bytes at 0x25ae388 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_int(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 887 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_int(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 889 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_int(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 891 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_int(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 887 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_int(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 889 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_int(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 891 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 921 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 923 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 925 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 927 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 929 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 921 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 923 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 925 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 927 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 929 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 192 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 921 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 923 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 925 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 927 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 929 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 921 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 923 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 925 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 927 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 929 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 921 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 923 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 925 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 927 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 929 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 921 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 923 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 925 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 927 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 929 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 921 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 923 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 925 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 927 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_string(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 929 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 770 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 771 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 772 
solr_string_alloc() [Re]allocated 324 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 773 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 775 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 776 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 778 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 779 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 782 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 783 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 784 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 785 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 786 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 788 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 789 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 790 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 793 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 794 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 795 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 796 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 797 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 799 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 800 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 801 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 805 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 806 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 807 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 808 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 809 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 842 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_encode_result(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 845 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 453 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 536 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 538 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 540 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 542 
solr_string_alloc() [Re]allocated 585 bytes at 0x25afe78 in solr_write_variable_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 544 
solr_string_alloc() [Re]allocated 724 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 574 
solr_string_alloc() [Re]allocated 724 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 576 
solr_string_alloc() [Re]allocated 724 bytes at 0x25afe78 in solr_write_object_opener(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 578 
solr_string_alloc() [Re]allocated 724 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_alloc() [Re]allocated 724 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_alloc() [Re]allocated 724 bytes at 0x25afe78 in solr_encode_object(), /tmp/pear/temp/solr/solr_functions_helpers.c Line 979 
solr_string_free_ex() Releasing 724 bytes at 0x25afe78 in zim_SolrResponse_getResponse(), /tmp/pear/temp/solr/php_solr_response.c Line 297 
SolrObject Object
(
    [envpart] => SolrObject Object
        (
        )

)
About to connect() to 66.230.207.130 port 8983 (#0)
  Trying 66.230.207.130... connected
Connected to 66.230.207.130 (66.230.207.130) port 8983 (#0)
POST /solr/select/?wt=xml&version=2.2&indent=on HTTP/1.1
User-Agent: PHP Solr Client 0.9.7
Host: 66.230.207.130:8983
Accept: */*
Accept-Charset: utf-8
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 60

q=packettest&facet=true&facet.field=envpart&facet.mincount=2HTTP/1.1 200 OK
Date: Wed, 18 Nov 2009 03:18:36 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 609

<?xml version="1.0" encoding="UTF-8"?>
<response>

<lst name="responseHeader">
 <int name="status">0</int>
 <int name="QTime">8</int>
 <lst name="params">
  <str name="facet">true</str>
  <str name="indent">on</str>
  <str name="facet.mincount">2</str>
  <str name="q">packettest</str>
  <str name="facet.field">envpart</str>
  <str name="wt">xml</str>
  <str name="version">2.2</str>
 </lst>
</lst>
<result name="response" numFound="0" start="0"/>
<lst name="facet_counts">
 <lst name="facet_queries"/>
 <lst name="facet_fields">
  <lst name="envpart"/>
 </lst>
 <lst name="facet_dates"/>
</lst>
</response>
Connection #0 to host 66.230.207.130 left intact
solr_string_free_ex() Releasing 64 bytes at 0x25ab248 in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922 
solr_string_free_ex() Releasing 64 bytes at 0x25ab430 in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922 
solr_string_free_ex() Releasing 64 bytes at 0x25ab5d0 in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922 
solr_string_free_ex() Releasing 64 bytes at 0x25ab8d8 in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922 
solr_string_free_ex() Releasing 64 bytes at 0x25aa720 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 452 
solr_string_free_ex() Releasing 64 bytes at 0x25aac18 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 454 
solr_string_free_ex() Releasing 64 bytes at 0x25aac68 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 463 
solr_string_free_ex() Releasing 64 bytes at 0x25aa390 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 464 
solr_string_free_ex() Releasing 196 bytes at 0x25ae4c8 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 466 
solr_string_free_ex() Releasing 196 bytes at 0x25ae5a0 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 467 
solr_string_free_ex() Releasing 203 bytes at 0x25ae258 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 468 
solr_string_free_ex() Releasing 200 bytes at 0x25ae678 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 469 
solr_string_free_ex() Releasing 195 bytes at 0x25ae750 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 470 
solr_string_free_ex() Releasing 64 bytes at 0x25aa530 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 472 
solr_string_free_ex() Releasing 64 bytes at 0x25aa5e0 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 473 
solr_string_free_ex() Releasing 64 bytes at 0x25aa630 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 474 
solr_string_free_ex() Releasing 64 bytes at 0x25aa680 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 475 
solr_string_free_ex() Releasing 64 bytes at 0x25aa6d0 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 476 
solr_string_free_ex() Releasing 396 bytes at 0x25ae908 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 434 
solr_string_free_ex() Releasing 64 bytes at 0x25ab9f0 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 435 
solr_string_free_ex() Releasing 64 bytes at 0x25ab6e8 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 436 
solr_string_free_ex() Releasing 221 bytes at 0x25ab738 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 437 
solr_string_free_ex() Releasing 737 bytes at 0x25aeff0 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 438 
solr_string_free_ex() Releasing 1330 bytes at 0x25aeaa8 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 439 


Expected result:
----------------
should return same output as local instance

Actual result:
--------------
solr_string_alloc() [Re]allocated 64 bytes at 0x95f57ec in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 262 solr_string_alloc() [Re]allocated 64 bytes at 0x95f5834 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 264 solr_string_alloc() [Re]allocated 64 bytes at 0x95f587c in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 265 solr_string_alloc() [Re]allocated 64 bytes at 0x95f58c4 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 266 solr_string_alloc() [Re]allocated 64 bytes at 0x95f590c in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 267 solr_string_alloc() [Re]allocated 64 bytes at 0x95f5954 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 268 solr_string_alloc() [Re]allocated 64 bytes at 0x95f599c in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 334 solr_string_alloc() [Re]allocated 64 bytes at 0x95f5d0c in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 403 solr_string_alloc() [Re]allocated 64 bytes at 0x95f5d54 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 412 solr_string_alloc() [Re]allocated 64 bytes at 0x95f60ac in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 solr_string_alloc() [Re]allocated 64 bytes at 0x95f61b0 in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6294 in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in zim_SolrQuery_setFacetMinCount(), /tmp/pear/temp/solr/php_solr_query.c Line 737 solr_string_alloc() [Re]allocated 64 bytes at 0x95f63d0 in solr_add_or_set_normal_param(), /tmp/pear/temp/solr/solr_functions_params.c Line 261 solr_string_free_ex() Releasing 64 bytes at 0x95f6314 in zim_SolrQuery_setFacetMinCount(), /tmp/pear/temp/solr/php_solr_query.c Line 748 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 457 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 459 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 461 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 solr_string_free_ex() Releasing 64 bytes at 0x95f6314 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 457 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 459 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 461 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 solr_string_free_ex() Releasing 64 bytes at 0x95f6314 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 496 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 497 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 498 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 solr_string_free_ex() Releasing 64 bytes at 0x95f6314 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 457 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 459 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_normal_param_value_fetch(), /tmp/pear/temp/solr/solr_functions_params.c Line 461 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 127 solr_string_alloc() [Re]allocated 64 bytes at 0x95f647c in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 128 solr_string_free_ex() Releasing 64 bytes at 0x95f6314 in solr_http_build_query(), /tmp/pear/temp/solr/php_solr_client.c Line 129 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 58 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 61 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 62 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 63 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 64 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 65 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 66 solr_string_alloc() [Re]allocated 64 bytes at 0x95f64dc in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 69 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6524 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 70 solr_string_alloc() [Re]allocated 64 bytes at 0x95f656c in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 71 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6620 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 72 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6668 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 73 solr_string_alloc() [Re]allocated 64 bytes at 0x95f64dc in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 76 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6524 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 77 solr_string_alloc() [Re]allocated 64 bytes at 0x95f656c in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 78 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6620 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 79 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6668 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 80 solr_string_alloc() [Re]allocated 196 bytes at 0x95f66b0 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 82 solr_string_alloc() [Re]allocated 196 bytes at 0x95f80d0 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 83 solr_string_alloc() [Re]allocated 203 bytes at 0x95f819c in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 84 solr_string_alloc() [Re]allocated 200 bytes at 0x95f8270 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 85 solr_string_alloc() [Re]allocated 195 bytes at 0x95f8340 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 86 solr_string_free_ex() Releasing 64 bytes at 0x95f6314 in solr_client_init_urls(), /tmp/pear/temp/solr/php_solr_client.c Line 88 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 solr_string_alloc() [Re]allocated 202 bytes at 0x95f840c in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 solr_string_alloc() [Re]allocated 202 bytes at 0x95f840c in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 solr_string_alloc() [Re]allocated 202 bytes at 0x95f840c in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 solr_string_alloc() [Re]allocated 418 bytes at 0x95f84e0 in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 279 solr_string_alloc() [Re]allocated 557 bytes at 0x95f868c in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 solr_string_alloc() [Re]allocated 557 bytes at 0x95f868c in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_curl_write_header(), /tmp/pear/temp/solr/solr_functions_client.c Line 241 solr_string_alloc() [Re]allocated 64 bytes at 0x95f6314 in solr_curl_write_header(), /tmp/pear/temp/solr/solr_functions_client.c Line 241 solr_string_alloc() [Re]allocated 557 bytes at 0x95f868c in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297 solr_string_alloc() [Re]allocated 557 bytes at 0x95f868c in solr_curl_debug_callback(), /tmp/pear/temp/solr/solr_functions_client.c Line 297
Warning: SolrClient::query() [solrclient.query]: Solr HTTP Error : 'a timeout was reached' in /var/www/dev/app/webroot/solrtest.php on line 32

Warning: SolrClient::query() [solrclient.query]: Operation timed out after 10 seconds with 0 bytes received in /var/www/dev/app/webroot/solrtest.php on line 0

Fatal error: Uncaught exception 'SolrClientException' with message 'Unsuccessful query request : Response Code 100. (null)' in /var/www/dev/app/webroot/solrtest.php:32 Stack trace: #0 /var/www/dev/app/webroot/solrtest.php(32): SolrClient->query(Object(SolrQuery)) #1 {main} thrown in /var/www/dev/app/webroot/solrtest.php on line 32
solr_string_free_ex() Releasing 64 bytes at 0x95f599c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 452 solr_string_free_ex() Releasing 64 bytes at 0x95f5d0c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 454 solr_string_free_ex() Releasing 64 bytes at 0x95f5d54 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 463 solr_string_free_ex() Releasing 64 bytes at 0x95f57ec in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 464 solr_string_free_ex() Releasing 196 bytes at 0x95f66b0 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 466 solr_string_free_ex() Releasing 196 bytes at 0x95f80d0 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 467 solr_string_free_ex() Releasing 203 bytes at 0x95f819c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 468 solr_string_free_ex() Releasing 200 bytes at 0x95f8270 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 469 solr_string_free_ex() Releasing 195 bytes at 0x95f8340 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 470 solr_string_free_ex() Releasing 64 bytes at 0x95f5834 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 472 solr_string_free_ex() Releasing 64 bytes at 0x95f587c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 473 solr_string_free_ex() Releasing 64 bytes at 0x95f58c4 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 474 solr_string_free_ex() Releasing 64 bytes at 0x95f590c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 475 solr_string_free_ex() Releasing 64 bytes at 0x95f5954 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 476 solr_string_free_ex() Releasing 418 bytes at 0x95f84e0 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 434 solr_string_free_ex() Releasing 64 bytes at 0x95f647c in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 435 solr_string_free_ex() Releasing 64 bytes at 0x95f6314 in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 437 solr_string_free_ex() Releasing 557 bytes at 0x95f868c in solr_free_handle(), /tmp/pear/temp/solr/solr_functions_client.c Line 439 solr_string_free_ex() Releasing 64 bytes at 0x95f60ac in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922 solr_string_free_ex() Releasing 64 bytes at 0x95f61b0 in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922 solr_string_free_ex() Releasing 64 bytes at 0x95f6294 in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922 solr_string_free_ex() Releasing 64 bytes at 0x95f63d0 in solr_normal_param_value_free(), /tmp/pear/temp/solr/solr_functions_params.c Line 922

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-17 22:35 UTC] jason at xlntads dot com
I am able to make ping requests work from the remote client:

remoteip -  -  [18/Nov/2009:02:37:49 +0000] "HEAD /solr/admin/ping/?wt=xml&version=2.2&indent=on HTTP/1.1" 200 0 "-" "PHP Solr Client 0.9.7"
 [2009-11-18 09:16 UTC] jason at xlntads dot com
further debugging shows that using the same linked curl lib to generate the request from the command line works.

/usr/local/bin/curl -d "q=packettest&facet=true&facet.field=envpart&facet.mincount=2" http://66.230.207.130:8983/solr/select/?wt=xml&version=2.2&indent=on

generates the response:

<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">3</int><lst name="params"><str name="facet">true</str><str name="facet.field">envpart</str><str name="facet.mincount">2</str><str name="wt">xml</str><str name="q">packettest</str></lst></lst><result name="response" numFound="0" start="0"/><lst name="facet_counts"><lst name="facet_queries"/><lst name="facet_fields"><lst name="envpart"/></lst><lst name="facet_dates"/></lst>
</response>
 [2009-11-18 09:25 UTC] jason at xlntads dot com
Ive also added some debugging code to solr_make_request in solr_functions_client.c and found that CURLINFO_EFFECTIVE_URL IS returning the correct url for the last request "http://66.230.207.130:8983/solr/select/?wt=xml&version=2.2&indent=on", though it still seems to timeout. (the ip shown above is firewalled, so it would not work as a test for yourself unfortunately).
 [2009-11-18 09:57 UTC] iekpo@php.net
Hi Jason,

Which version of the extension are you using?

I have been able to connect to remote IP addresses with no problems before.

Also, please could you disable the debug messages because the memory allocation messages are a bit distracting.

If you are checking for connection debug information the 0.9.7 version of the package has a SolrClient::getDebug() method that retrieves all the request and response headers and body.

That is all we need.

So please remove the solr-debug option during compilation and try again.

Another thing is that depending on the network and firewall policies certain connections may not be possible, I had some issues with setting up and connecting to to some Godaddy Tomcat servers housing some Solr installations.

I had to set up a proxy server to get around the issue.

Please keep me posted.

Thanks.
 [2009-11-18 10:01 UTC] iekpo@php.net
Also from a different computer, try the following to see if it works

telnet 66.230.207.130 8983

I had some issues on Godaddy dedicated servers where I was unable to connect to the Socket from outside of the network.

However, on the same computer telnet 66.230.207.130 8983 works.

I am guessing this might be the same issue you are experiencing
 [2009-11-18 10:10 UTC] jason at xlntads dot com
Hi, im actually connecting to a jetty instance on a 
dedicated server with powermedium,  I am using the latest 
0.9.7 version of the plugin. on my 2 test machines i'm using 
the newest version of libcurl compiled from source, so I'm 
currently building a test case in C using only the libcurl c 
api to see if there are any issues with post requests (as 
nothing else really makes sense at this point).

like stated before, ping (HEAD) requests DO work, and I am 
able to see them in my remote logs.... seems only POST and 
maybe GET based requests are not working.

I will also disable the extra debugging info in my next 
post, as it is VERY distracting :)

Thanks again for the quick response :)
 [2009-11-18 10:13 UTC] jason at xlntads dot com
telnet is working, at least connect is, haven't tried 
manually building a http post at this point:

telnet 66.230.207.130 8983

Trying 66.230.207.130...
Connected to 66.230.207.130 (66.230.207.130).
Escape character is '^]'.
 [2009-11-18 10:22 UTC] jason at xlntads dot com
here is the result of getdebug:

About to connect() to 66.230.207.130 port 8983
  Trying 66.230.207.130... connected
Connected to 66.230.207.130 (66.230.207.130) port 8983
POST /solr/select/?wt=xml&version=2.2&indent=on HTTP/1.1
User-Agent: PHP Solr Client 0.9.7
Host: 66.230.207.130:8983
Accept: */*
Accept-Charset: utf-8
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 60
Expect: 100-continue

HTTP/1.1 100 Continue
Operation timed out after 10 seconds with 0 bytes received
Closing connection #0
 [2009-11-18 10:32 UTC] jason at xlntads dot com
seems jetty may not know what to do with code 100:

here is a workaround:

http://paininthetech.com/2008/12/29/php-curl-disable-100-
continue-expectation


I am guessing the curl_easy_setopt translation of this will 
fix the issue
 [2009-11-18 10:36 UTC] iekpo@php.net
Jason,

Please try the following code snippet on a different computer and then on the same computer where the Jetty server is installed.

<?php
ini_set('display_errors','1');

define('SOLR_SERVER_HOSTNAME', '66.230.207.130');
define('SOLR_SECURE', false);
define('SOLR_SERVER_PORT', ((SOLR_SECURE) ? 8443 : 8983));
define('SOLR_SERVER_TIMEOUT', 10);

$options = array
(
	'hostname' => SOLR_SERVER_HOSTNAME,
	'port'     => SOLR_SERVER_PORT,
	'secure'   => SOLR_SECURE,
	'timeout'  => SOLR_SERVER_TIMEOUT,
/*
	'login'    => 'username',
	'password' => 'password',
*/

);

$client = new SolrClient($options);
$query = new SolrQuery('packettest');
$query->setFacet(true);
$query->addFacetField('envpart')->setFacetMinCount(2);

$updateResponse = null;

$response_array = null;

try
{
	$updateResponse = $client->query($query);

	$response_array = $updateResponse->getResponse();

} catch (Exception $e) {

	print_r($e);
}

$debug_info = $client->getDebug();

print_r($debug_info);

?>
 [2009-11-18 11:07 UTC] iekpo@php.net
Jason,

The Expect: header has been disabled in the last SVN commit

Check out 290918

http://svn.php.net/repository/pecl/solr/trunk -r290918

Hopefully this fixes the issue.
 [2009-11-18 11:33 UTC] jason at xlntads dot com
unfortunately setting the Expect: header to null hasn't 
changed anything for me.  It seems that the data being 
passed to CURLOPT_COPYPOSTFIELDS is not being sent to the 
server.  I'm looking for a workaround currently.  the 
version of libcurl that i am using is:

curl 7.19.6 (i686-pc-linux-gnu) libcurl/7.19.6 
OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 libssh2/0.17
Protocols: tftp ftp telnet dict ldap http file https ftps 
scp sftp 
Features: IDN IPv6 Largefile NTLM SSL libz
 [2009-11-18 11:48 UTC] iekpo@php.net
I am not sure what is causing that problem.

I use Solr with Glassfish and Tomcat and I am able to connect to remote servers across the internet without the observations that you have.

Try starting an instance of Solr by itself and test it to see if you can connect.

It is very weird from my perspective that Jetty is causing that issue.

I can assist you with setting up a Tomcat server to use with Solr.

I personally recommend Tomcat or Glassfish over Jetty.
 [2009-11-18 12:03 UTC] jason at xlntads dot com
this is really starting to look like a curl issue IMO.  
testing on the local machine works as it should:

About to connect() to 66.230.207.130 port 8983 (#0)
  Trying 66.230.207.130... connected
Connected to 66.230.207.130 (66.230.207.130) port 8983 (#0)
POST /solr/select/?wt=xml&version=2.2&indent=on HTTP/1.1
User-Agent: PHP Solr Client 0.9.7
Host: 66.230.207.130:8983
Accept: */*
Accept-Charset: utf-8
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 55

q=jason&facet=true&facet.field=envpart&facet.mincount=2HTTP/
1.1 200 OK
Date: Wed, 18 Nov 2009 16:57:05 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 4812

<?xml version="1.0" encoding="UTF-8"?>
<response>

<lst name="responseHeader">
 <int name="status">0</int>
....

curl version is:

curl 7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 
OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8
Protocols: tftp ftp telnet dict ldap ldaps http file https 
ftps 
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz 

I will keep trying things,
 [2009-11-19 05:37 UTC] wpeereboom at developmentit dot com
Same problem here. With only starting a new solrclient
code:
ini_set('display_errors','1');

define('SOLR_SERVER_HOSTNAME', 'localhost');
define('SOLR_SECURE', false);
define('SOLR_SERVER_PORT', 8080);
define('SOLR_SERVER_TIMEOUT', 10);

$options = array
(
	'hostname' => SOLR_SERVER_HOSTNAME,
	'port'     => SOLR_SERVER_PORT,
	'secure'   => SOLR_SECURE,
	'timeout'  => SOLR_SERVER_TIMEOUT,
);

$client = new SolrClient($options);


Output:
solr_string_alloc() [Re]allocated 64 bytes at 0x83762b0 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 262 solr_string_alloc() [Re]allocated 64 bytes at 0x8377214 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 264 solr_string_alloc() [Re]allocated 64 bytes at 0x837725c in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 265 solr_string_alloc() [Re]allocated 64 bytes at 0x83772a4 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 266 solr_string_alloc() [Re]allocated 64 bytes at 0x83772ec in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 267 solr_string_alloc() [Re]allocated 64 bytes at 0x8377334 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 268 solr_string_alloc() [Re]allocated 64 bytes at 0x837737c in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 334 solr_string_alloc() [Re]allocated 64 bytes at 0x83773c4 in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 403 solr_string_alloc() [Re]allocated 64 bytes at 0x837740c in zim_SolrClient___construct(), /tmp/pear/temp/solr/php_solr_client.c Line 412 solr_string_free_ex() Releasing 64 bytes at 0x837737c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 452 solr_string_free_ex() Releasing 64 bytes at 0x83773c4 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 454 solr_string_free_ex() Releasing 64 bytes at 0x837740c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 463 solr_string_free_ex() Releasing 64 bytes at 0x83762b0 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 464 solr_string_free_ex() Releasing 64 bytes at 0x8377214 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 472 solr_string_free_ex() Releasing 64 bytes at 0x837725c in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 473 solr_string_free_ex() Releasing 64 bytes at 0x83772a4 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 474 solr_string_free_ex() Releasing 64 bytes at 0x83772ec in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 475 solr_string_free_ex() Releasing 64 bytes at 0x8377334 in solr_free_options(), /tmp/pear/temp/solr/solr_functions_client.c Line 476



Running on:
Tomcat 5.5 | Yetty (same problems)
Curl: 7.19.7
PHP: 5.3.0

@jason: allready a workaround?
 [2009-11-19 09:20 UTC] iekpo@php.net
Please disable your debugging by compiling it without the solr-debug option to configure.

I have had some issues with tomcat and jetty on my godaddy servers.

So I would like to propose the following tests.

Set up an apache server on some port on the same machine where the Jetty or Tomcat server is installed and place the following XML content in it.

<?xml version="1.0" encoding="UTF-8"?>
<response>

<lst name="responseHeader">
 <int name="status">0</int>
 <int name="QTime">8</int>
 <lst name="params">
  <str name="facet">true</str>
  <str name="indent">on</str>
  <str name="facet.mincount">2</str>
  <str name="q">packettest</str>
  <str name="facet.field">envpart</str>
  <str name="wt">xml</str>
  <str name="version">2.2</str>
 </lst>
</lst>
<result name="response" numFound="0" start="0"/>
<lst name="facet_counts">
 <lst name="facet_queries"/>
 <lst name="facet_fields">
  <lst name="envpart"/>
 </lst>
 <lst name="facet_dates"/>
</lst>
</response>

Then try to connect to it using the Solr client.

I found out yesterday that with a normal httpd apache server this worked but with the Tomcat 6 server, it failed.

Please try this out and let me know what happens.
 [2009-11-22 23:15 UTC] iekpo@php.net
I am unable to reproduce this error on my end.

I have other people attempt to connect to Solr servers across the internet, and they connected successfully.

I am not sure what the exact source of the connection failure is.
 [2009-12-12 00:40 UTC] cw_pecl at wiedmann dot org
I seem to be having a similar problem connecting to 
localhost.  I built with curl 7.19.7 and am running Centos  
5.2 running in VMWare player.

About to connect() to localhost port 8983
  Trying 127.0.0.1... connected
Connected to localhost (127.0.0.1) port 8983
POST /solr/select/?wt=xml&version=2.2&indent=on HTTP/1.1
User-Agent: PHP Solr Client 0.9.8
Host: localhost:8983
Accept: */*
Accept-Charset: utf-8
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 74

Operation timed out after 3 seconds with 0 bytes received
Closing connection #0
 [2009-12-12 12:55 UTC] cw_pecl at wiedmann dot org
For me, this turns out to be a build issue.  The php binary 
I'm using is linked against libcurl.3.  If I replace the 
symlink for /usr/lib/libcurl.3 to the newer version I built 
for solr, the test works.

Is it necessary to rebuild php in order to use this module?
 [2009-12-12 12:56 UTC] cw_pecl at wiedmann dot org
Sorry - I mistyped.  I meant libcurl.so.3, of course.
 [2009-12-12 18:55 UTC] iekpo@php.net
Hi you do not have to rebuild php in order to use the module.

I think from what I have observed so far, it looks like there is a bug somewhere in libcurl.

I need to do some investigation to determine exactly which versions of libcurl are having this issue.

It also looks like there may be some issues with the headers exchanged between the licurl http client and the solr servlet containers.

If using a newer version of libcurl solves the problem, I think it would be better and safer if you rebuilt php so that there would not be any binary compatibility issues when using the CURL extension for other php code in your application.

Please let me know how it goes and also which version of libcurl worked for you.
 [2010-04-23 23:00 UTC] iekpo@php.net
I have used the extension to connect with servers remotely.

I was unable to reproduce this observation.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 03:01:28 2024 UTC