Forums / PayPal Express Checkout support / EC Error - (28) Operation timed out with 0 out of -1 bytes received

EC Error - (28) Operation timed out with 0 out of -1 bytes received

Locked

Started by elcantodelospajaros on 6 Mar 2008, 1:42 PM · Views: 4,476

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Mar 2008, 1:42 PM
#1
elcantodelospajaros avatar

elcantodelospajaros

New Zenner

Join Date:
Mar 2008
Location:
Madrid, SPAIN
Posts:
4
Plugin Contributions:
0

EC Error - (28) Operation timed out with 0 out of -1 bytes received

Hi I'm getting this Express Checkout Error:

An error occurred when we tried to contact the payment processor. 
Please try again, select an alternate payment method, or contact the store owner for assistance. ()
 - (28) Operation timed out with 0 out of -1 bytes received

Here's the ouput of IPN Check,

IPNCHECK.PHP - Version 1.0

IPN TESTING - POSTING to PayPal via: ssl://www.paypal.com:443

IPN TESTING - Confirmation/Validation response: RESPONSE RECEIVED - Communications OKAY

Script finished.

Now this is the output of the curltest.php?ssl=1

28 Operation timed out with 0 out of -1 bytes received

Array
(
    [url] => "https://www.zen-cart.com/testcurl.php"
    [http_code] => 0
    [header_size] => 0
    [request_size] => 192
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 15.712871
    [namelookup_time] => 0.003362
    [connect_time] => 0.003457
    [pretransfer_time] => 0.713148
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
)

With regards to php support, here's an excerpt:

PHP Version 4.3.9

CURL support 	enabled
CURL Information 	libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6

MySQL Support	enabled
Active Persistent Links 	0
Active Links 	0
Client API version 	4.1.20
MYSQL_MODULE_TYPE 	external
MYSQL_SOCKET 	/var/lib/mysql/mysql.sock
MYSQL_INCLUDE 	-I/usr/include/mysql
MYSQL_LIBS 	-L/usr/lib/mysql -lmysqlclient

Directive	Local Value	Master Value
mysql.allow_persistent	Off	Off
mysql.connect_timeout	60	60
mysql.default_host	no value	no value
mysql.default_password	no value	no value
mysql.default_port	no value	no value
mysql.default_socket	no value	no value
mysql.default_user	no value	no value
mysql.max_links	Unlimited	Unlimited
mysql.max_persistent	Unlimited	Unlimited
mysql.trace_mode	Off	Off

I had a lot of trouble installing the cart, and had to comment the lines testing CURL. Now that I'm switching from IPN to CE, the CURL problem shows up again.

My service provider claims that there's no proxy configured.

Any idea? Appreciate your help. Thanks.

6 Mar 2008, 11:43 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: EC Error - (28) Operation timed out with 0 out of -1 bytes received

PayPal Express Checkout relies on CURL functioning properly.
If CURL is encountering timeouts, your host needs to fix the server configuration. If they don't know how to install and compile and test it to ensure that it's working, maybe you need to find a different host.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Mar 2008, 8:06 AM
#3
elcantodelospajaros avatar

elcantodelospajaros

New Zenner

Join Date:
Mar 2008
Location:
Madrid, SPAIN
Posts:
4
Plugin Contributions:
0

Re: EC Error - (28) Operation timed out with 0 out of -1 bytes received

DrByte, thanks.

Yeah I don't think this is the most suited host, but unfortunately I have to cope with that.

From the phpInfo I've posted, what do you think I should ask them for? This is the current CURL configuration:

CURL support 	enabled
CURL Information 	libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6

Thanks.

7 Mar 2008, 11:42 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: EC Error - (28) Operation timed out with 0 out of -1 bytes received

elcantodelospajaros:

CURL support enabled
CURL Information libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6


I wonder if this could be the issue: an outdated version of libcurl?
<http://www.zen-cart.com/forum/showthread.php?t=84503>

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Mar 2008, 11:51 AM
#5
elcantodelospajaros avatar

elcantodelospajaros

New Zenner

Join Date:
Mar 2008
Location:
Madrid, SPAIN
Posts:
4
Plugin Contributions:
0

Re: EC Error - (28) Operation timed out with 0 out of -1 bytes received

After complaining to the hosting provider for a second time it suddenly works.
I'm afraid they had some kind of proxy configured, though they won't admit it.

Thanks for your prompt response!