Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itcharlie/7047355b323e04e1153fb4d233be3e7f to your computer and use it in GitHub Desktop.
Save itcharlie/7047355b323e04e1153fb4d233be3e7f to your computer and use it in GitHub Desktop.
HTTP::UserAgent failure to fetch https url
use HTTP::UserAgent;
use Config::INI;
my %config = Config::INI::parse_file('config.ini');
my $ua = HTTP::UserAgent.new();
my $url= "https://accounts.google.com/0/oauth2/auth";
my $response = $ua.get($url);
# Executing the script:
C:\Users\cgonzalez\Documents\GitHub\perl6-Net-OAuth> perl6 .\goauth.pl6
Cannot locate native library 'C:\rakudo\share\perl6\site\resources\251C905F7C62DF39C6D75AA52517CFA390EF1A46.dll': error 0xc1
in method setup at C:\rakudo\share\perl6\sources\075EFE4B4CDAAF73190194EA876F81A1F128D1A2 line 230
in method CALL-ME at C:\rakudo\share\perl6\sources\075EFE4B4CDAAF73190194EA876F81A1F128D1A2 line 241
in method new at C:\rakudo\share\perl6\site\sources\41232609B11A330F08B20E1AC6C67BDBDCF467C6 line 33
in method initialize at C:\rakudo\share\perl6\site\sources\2BEB1F81FD484B69C2081D67E7C8385D6659BA19 line 67
in method new at C:\rakudo\share\perl6\site\sources\2BEB1F81FD484B69C2081D67E7C8385D6659BA19 line 58
in method get-connection at C:\rakudo\share\perl6\site\sources\B1251A2AF9D13C6E4413F48E61D4BD9EC9D60F5F line 348
in method get-connection at C:\rakudo\share\perl6\site\sources\B1251A2AF9D13C6E4413F48E61D4BD9EC9D60F5F line 340
in method request at C:\rakudo\share\perl6\site\sources\B1251A2AF9D13C6E4413F48E61D4BD9EC9D60F5F line 156
in method get at C:\rakudo\share\perl6\site\sources\B1251A2AF9D13C6E4413F48E61D4BD9EC9D60F5F line 127
in method get at C:\rakudo\share\perl6\site\sources\B1251A2AF9D13C6E4413F48E61D4BD9EC9D60F5F line 130
in block <unit> at .\goauth.pl6 line 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment