perl6-lwp-simple
perl6-lwp-simple copied to clipboard
Could not parse chunk header
This command:
perl6 -MLWP::Simple -e 'say LWP::Simple.get("https://github.com/cosimo/perl6-lwp-simple/")'
generates this error:
in method parse_chunks at /Users/gabor/rakudo-star-2015.09/install/share/perl6/lib/LWP/Simple.pm:193
in method make_request at /Users/gabor/rakudo-star-2015.09/install/share/perl6/lib/LWP/Simple.pm:222
in method request_shell at /Users/gabor/rakudo-star-2015.09/install/share/perl6/lib/LWP/Simple.pm:70
in method get at /Users/gabor/rakudo-star-2015.09/install/share/perl6/lib/LWP/Simple.pm:29
in block <unit> at check_travis.pl:20
These work fine:
perl6 -MLWP::Simple -e 'say LWP::Simple.get("https://github.com/cosimo/")'
perl6 -MLWP::Simple -e 'say LWP::Simple.get("https://github.com/")'
Seems to work for me with current master and perl6 2015.09-433-g26617f9. @szabgab, can you confirm?
It worked though I got an apparently unrelated error. (and it is an older version of Rakudo. Maybe 2 weeks old.) Could you enable this repository on https://travis-ci.org/ , please?
===( 19;22 0/? 0/? 0/? 1/3 )===================================Failed to connect: host is unreachable
in block <unit> at t/socket-sanity.t:15
# Looks like you planned 3 tests, but ran 2
t/socket-sanity.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/3 subtests
Done now.
Travis runs stumble on the same error. Apparently that works fine for me. It's the IPv6 address resolution that seems to fail.
It would seem that if there is v6 available it will use this first and fail if it can't connect see https://rt.perl.org/Ticket/Display.html?id=126401