This error is the cause of a bug likely from your version of Net::HTTP
. There have been similar cases of this in the past. Download the newest version of this from CPAN or download the patch to fix this.
This bug could also be related to LWP::UserAgent cuts chunked response sent through HTTPS