Pathologically Eclectic Rubbish Lister | |
PerlMonks |
LWP::UserAgent Get timing out after few requestby sannag (Sexton) |
on Aug 17, 2017 at 14:58 UTC ( [id://1197564]=perlquestion: print w/replies, xml ) | Need Help?? |
sannag has asked for the wisdom of the Perl Monks concerning the following question:
Update
************** I don't the underlying cause. I fixed the issue on my program by using REST::Client instead of LWP::UserAgent....details of the code are in one of my reply below *************** My Get request is timing out after processing 20 or 30 request...I have over 500 records to process. I did confirm that there is no limit on number of GET requested placed to API. I also tried using chrom extension postman to repeatably place GET request successfully. Yet when I place GET request though my perl program it failed after processing few requests. Any help is greatly appreciated error says following: 500 can't connect to api.xxx.com:443. (A connection attempt failed because the connected party did not properly respond after a periold of time, or established connection failed because connected host has failed to respond LWP::Protoclo::https::Socket: connect: a connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at C:/Dwimperl/perl/site/LWP/Protocol/http.pm"
Back to
Seekers of Perl Wisdom
|
|