Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Business-PayPal-API CPAN distribution.

Report information
The Basics
Id: 107638
Status: resolved
Priority: 0/
Queue: Business-PayPal-API

People
Owner: Nobody in particular
Requestors: jt [...] plainblack.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: LWP::UserAgent 6.06 causes timeout in BPA
Date: Thu, 8 Oct 2015 17:21:10 -0500
To: bug-Business-PayPal-API [...] rt.cpan.org
From: JT Smith <jt [...] plainblack.com>
LWP::UserAgent 6.06 introduced the following default for timeout: $timeout = 3*60 unless defined $timeout; This causes the following error in Business:PayPal::API 500 Can't connect to api-3t.sandbox.paypal.com:443 at /data/apps/lib/perl5/site_perl/5.16.2/Business/PayPal/API.pm line 144. Because BPA sets an explicit 0 default, which means it immediately times out. I filed a bug with LWP as well as it’s their backward compatibility issue, but you might want to consider setting it to a more reasonable 30 or something like that.
On Thu Oct 08 18:21:26 2015, jt@plainblack.com wrote: Show quoted text
> LWP::UserAgent 6.06 introduced the following default for timeout: > > $timeout = 3*60 unless defined $timeout; > > This causes the following error in Business:PayPal::API > > 500 Can't connect to api-3t.sandbox.paypal.com:443 at > /data/apps/lib/perl5/site_perl/5.16.2/Business/PayPal/API.pm line 144. > > > Because BPA sets an explicit 0 default, which means it immediately > times out. I filed a bug with LWP as well as it’s their backward > compatibility issue, but you might want to consider setting it to a > more reasonable 30 or something like that.
Thanks for pointing this out! I'll set a more reasonable default and try to get a release out in a reasonable amount of time.
On Thu Oct 08 21:43:52 2015, OALDERS wrote: Show quoted text
> On Thu Oct 08 18:21:26 2015, jt@plainblack.com wrote:
> > LWP::UserAgent 6.06 introduced the following default for timeout: > > > > $timeout = 3*60 unless defined $timeout; > > > > This causes the following error in Business:PayPal::API > > > > 500 Can't connect to api-3t.sandbox.paypal.com:443 at > > /data/apps/lib/perl5/site_perl/5.16.2/Business/PayPal/API.pm line > > 144. > > > > > > Because BPA sets an explicit 0 default, which means it immediately > > times out. I filed a bug with LWP as well as it’s their backward > > compatibility issue, but you might want to consider setting it to a > > more reasonable 30 or something like that.
> > Thanks for pointing this out! I'll set a more reasonable default and > try to get a release out in a reasonable amount of time.
Fixed in 0.72