CMS MADE SIMPLE FORGE

CGExtensions

 

[#8460] curl problem with gnutls

avatar
Created By: Tomáš Havlas (tomas.havlas)
Date Submitted: Sat Sep 29 17:21:56 -0400 2012

Assigned To: Robert Campbell (calguy1000)
Version: 1.31
CMSMS Version: None
Severity: Critical
Resolution: Invalid
State: Closed
Summary:
curl problem with gnutls
Detailed Description:
Hello,

I have problem using PayPal module, using IPN, I'm not able to verify
transaction, recieving following error in administrator log:
"Paypal IPN Transaction Verification failed -- GnuTLS recv error (-9): A TLS
packet with unexpected length was received."
I have found out that it is caused by one missing curl_opt.
I have added following code to file lib/http/class.http.php on line 883:
curl_setopt($ch, CURLOPT_SSLVERSION,     3);
After that I have working IPN with paypal module, also how I understood during
my search how to fix that, I have found out that this error is somehow server
dependand, so it doesn't have to occur on all servers.

Thanks


History

Comments
avatar
Date: 2015-01-30 00:40
Posted By: Robert Campbell (calguy1000)

no system information, can't fix this.
      
Updates

Updated: 2015-01-30 00:40
resolution_id: => 9
cmsms_version_id: 29778 => -1
state: Open => Closed