Could not parse chunk header #61

Open
szabgab opened this Issue Oct 10, 2015 · 5 comments

Projects

None yet

3 participants

@szabgab
Contributor
szabgab commented Oct 10, 2015

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/")'

@cosimo
Owner
cosimo commented Oct 22, 2015

Seems to work for me with current master and perl6 2015.09-433-g26617f9.
@szabgab, can you confirm?

@szabgab
Contributor
szabgab commented Oct 22, 2015

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 
@cosimo
Owner
cosimo commented Oct 22, 2015

Done now.

@cosimo
Owner
cosimo commented Oct 22, 2015

Travis runs stumble on the same error. Apparently that works fine for me. It's the IPv6 address resolution that seems to fail.

@jonathanstowe
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment