Public bug reported: When downloading data with LWP::UserAgent and using HTTPS for transport the data is truncated. Sometimes you get the full file and sometimes you get only the beginning of the file so this is hard to debug.
If you use wget or curl to download the same data then you get the full file. After a day of debugging we managed to pinpoint the problem and after some googling we found this bug report: https://rt.cpan.org/Public/Bug/Display.html?id=80670 And another bugreport for redhat: https://bugzilla.redhat.com/show_bug.cgi?id=768394 I looks like libnet-http-perl version 6.01 is ok but the problem is in version 6.02 I have downloaded version 6.06 from cpan and now our perl script can download the file every time. Please upgrade libnet-http-perl to version 6.06. ** Affects: libnet-http-perl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210429 Title: Net::HTTP chunk handling broken for non-blocking sockets To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libnet-http-perl/+bug/1210429/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs