cURL / Mailing Lists / curl-users / Single Mail

curl-users

GnuTLS recv error (-9): A TLS packet with unexpected length was received. - with Paypal Website Payment Pro

From: Zachary Krebs <zkrebs_at_gmail.com>
Date: Mon, 31 Jan 2011 16:22:42 -0800

Thanks for considering my support request, and I hope I do not
agitate/irritate anyone by posting in the wrong place.
I looked here first: http://curl.haxx.se/mail/lib-2010-06/0169.html
and did not find a resolution.

I am attempting to use the Website Payment Pro Paypal module with Drupal CMS.

My system is:
Ubuntu 10.04 32-bit
libcurl 7.19.7
PHP 5.2.16 with Suhosin-Patch 0.9.7 (cli) (built: Dec 25 2010 19:12:01)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
Drupal 6
Nginx 0.9.3

When I attempt to complete a payment, I get an error in my log:
"GnuTLS recv error (-9): A TLS packet with unexpected length was received"

I searched all over Google, and another party stated "I will say this
about the Paypal WPP service...I have been on it since it was
available and find most (if not all) of our headache problems to be
related to a dependency between some platform library and curl."

Could someone point me in the right direction of getting this solved,
perhaps I need to update a library or piece of software?

https://bugs.launchpad.net/gwibber/+bug/626023/comments/28%a0was also
suggested, "The only way i managed to get rid of that error, was by
recompiling libcurl with OpenSSL instead of GnuTLS and then
recompiling python-pycurl against the new cURL library."

Thanks for your help,
Zachary
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-01