croservices / cro

Development tools for building services and distributed systems in Raku using the Cro libraries.
https://cro.services/
Artistic License 2.0
88 stars 35 forks source link

Cro::HTTP installation problem different error message on Windows 10 #142

Open jaffa4 opened 2 years ago

jaffa4 commented 2 years ago

zef install Cro::HTTP ===> Searching for: Cro::HTTP ===> Updating fez mirror: http://360.zef.pm/ ===> Updated fez mirror: http://360.zef.pm/ ===> Searching for missing dependencies: IO::Socket::Async::SSL, OO::Monitors, Base64, HTTP::HPACK, Cro::TLS:ver<0.8.7>, Crypt::Random, JSON::JWT, DateTime::Parse, Log::Timeline ===> Searching for missing dependencies: MIME::Base64, OpenSSL, Digest::HMAC, CBOR::Simple, if ===> Searching for missing dependencies: TinyFloats:ver<0.0.3+>, PathTools, Digest ===> Building: OpenSSL:ver<0.1.28> ===> Building [OK] for OpenSSL:ver<0.1.28> ===> Testing: PathTools:ver<0.1.1>:auth ===> Testing [OK] for PathTools:ver<0.1.1>:auth ===> Testing: OpenSSL:ver<0.1.28> [OpenSSL] # NETWORK_TESTING was not set [OpenSSL] # NETWORK_TESTING was not set ===> Testing [OK] for OpenSSL:ver<0.1.28> ===> Testing: IO::Socket::Async::SSL:ver<0.7.9>:auth ===> Testing [OK] for IO::Socket::Async::SSL:ver<0.7.9>:auth ===> Testing: OO::Monitors:ver<1.1.1> ===> Testing [OK] for OO::Monitors:ver<1.1.1> ===> Testing: Base64:ver<0.0.2>:auth ===> Testing [OK] for Base64:ver<0.0.2>:auth ===> Testing: HTTP::HPACK:ver<0.9.2> ===> Testing [OK] for HTTP::HPACK:ver<0.9.2> ===> Testing: Cro::TLS:ver<0.8.7> ===> Testing [OK] for Cro::TLS:ver<0.8.7> ===> Testing: if:ver<0.1.1> ===> Testing [OK] for if:ver<0.1.1> ===> Testing: Crypt::Random:ver<0.4.1> ===> Testing [OK] for Crypt::Random:ver<0.4.1> ===> Testing: MIME::Base64:ver<1.2.1> ===> Testing [OK] for MIME::Base64:ver<1.2.1> ===> Testing: Digest:ver<0.4.0> ===> Testing [OK] for Digest:ver<0.4.0> ===> Testing: Digest::HMAC:ver<1.0.2>:auth ===> Testing [OK] for Digest::HMAC:ver<1.0.2>:auth ===> Testing: JSON::JWT:ver<1.0> ===> Testing [OK] for JSON::JWT:ver<1.0> ===> Testing: DateTime::Parse:ver<0.9.1> ===> Testing [OK] for DateTime::Parse:ver<0.9.1> ===> Testing: TinyFloats:ver<0.0.3>:auth ===> Testing [OK] for TinyFloats:ver<0.0.3>:auth ===> Testing: CBOR::Simple:ver<0.1.1>:auth ===> Testing [OK] for CBOR::Simple:ver<0.1.1>:auth ===> Testing: Log::Timeline:ver<0.4> ===> Testing [OK] for Log::Timeline:ver<0.4> ===> Testing: Cro::HTTP:ver<0.8.7> [Cro::HTTP] # Failed test 'Correct responses logged' [Cro::HTTP] # at t\http-log-file.t line 67 [Cro::HTTP] # expected a match with: /'[OK] 200 / - ' ('127.0.0.1' || '::1') \n [Cro::HTTP] # '[OK] 200 /route - ' ('127.0.0.1' || '::1') \n [Cro::HTTP] # '[OK] 200 /route - ' ('127.0.0.1' || '::1') \n [Cro::HTTP] # '[OK] 200 /special/first - ' ('127.0.0.1' || '::1') \n/ [Cro::HTTP] # got: "" [Cro::HTTP] # Failed test 'Error responses logged' [Cro::HTTP] # at t\http-log-file.t line 73 [Cro::HTTP] # expected a match with: /'[ERROR] 500 /error - ' ('127.0.0.1' || '::1') \n/ [Cro::HTTP] # got: "" [Cro::HTTP] # You failed 2 tests of 2 [Cro::HTTP] HTTP/2 is requested, but ALPN is not supported [Cro::HTTP] in method new at C:\Users\Márton.zef\store\cro-http-0.8.7\CFBD9BC76488631AC193A443038EE51E10BCB504\lib\Cro\HTTP\Server.pm6 (Cro::HTTP::Server) line 133 [Cro::HTTP] in block at t\http-reverse-proxy.t line 46 [Cro::HTTP] Some exceptions were thrown in END blocks: [Cro::HTTP] X::Cro::Service::StopWithoutStart: The service was not started and the stop method is called on it, a missing .start? [Cro::HTTP] in method stop at C:\Users\Márton.raku\sources\3A23E0F2E9BE8F87E1CAFE1334ED243AB9D7CE1B (Cro::Service) line 31 [Cro::HTTP] in block at t\http-reverse-proxy.t line 55 [Cro::HTTP] HTTP/2 is requested, but ALPN is not supported [Cro::HTTP] in method new at C:\Users\Márton.zef\store\cro-http-0.8.7\CFBD9BC76488631AC193A443038EE51E10BCB504\lib\Cro\HTTP\Server.pm6 (Cro::HTTP::Server) line 133 [Cro::HTTP] in block at t\http-timeout.t line 48 [Cro::HTTP] Some exceptions were thrown in END blocks: [Cro::HTTP] X::Method::NotFound: No such method 'stop' for invocant of type 'Any'. Did you mean any of [Cro::HTTP] these: 'Slip', 'Str', 'skip', 'so'? [Cro::HTTP] in code at t\http-timeout.t line 52 ===> Testing [FAIL]: Cro::HTTP:ver<0.8.7> Aborting due to test failure: Cro::HTTP:ver<0.8.7> (use --force-test to override)