OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005258 [pm_lwp_protocol_https] block always 2015-11-13 22:58 2016-06-15 15:13
Reporter ggbce View Status public  
Assigned To dam
Priority normal Resolution unable to reproduce  
Status closed  
Summary 0005258: pm_lwp_protocol_https tell is installed but not working
Description In very short story, I installed "pm_lwp_protocol_https" required for my "fi_agent" that report through a GLPI server in https. But I got an error telling the "lwp protocol https" is not installed. I also tried with a basic Perl script that call a secure website and I got the same error like the Perl Module LWP protocol https is not installed.

I installed it by the normal method /opt/csw/bin/pkgutil -y -i pm_lwp_protocol_https and the setup is done successfully. It's like it installed... but not really installed (due to missing compilation or loaded modules Under Perl)
Additional Information - I'm using Sun Solaris 10 (SPARC) on T5120 server
- Perl seem to work fine
- I try to use a basic script that call a HTTP (not secure) site is working
- I try to use a basic script that call a HTTPS (secure) site is not working telling me: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
Tags No tags attached.
Attached Files zip file icon screenshots.zip [^] (125,279 bytes) 2015-11-13 22:58

- Relationships

-  Notes
(0011154)
dam (administrator)
2016-06-15 10:01

Works for me:

dam@login [login]:/home/dam/tmp > more lwp.pl
#!/opt/csw/bin/perl


use LWP::UserAgent;

$ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 1 });
$res = $ua->get("https://www.example.com"); [^]

if ($res->is_success) {
  print $res->decoded_content; # or whatever
} else {
  die $res->status_line;
}



dam@login [login]:/home/dam/tmp > ./lwp.pl
<!doctype html>
<html>
<head>
    <title>Example Domain</title>

    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <style type="text/css">
    body {
        background-color: #f0f0f2;
        margin: 0;
...
(0011156)
ggbce (reporter)
2016-06-15 15:11

Hi dam,

Thank you for you reply and verification. I tested again with your script and I got the same error.

I got an access to an another Sun SPARC server to test this same script... and it work !

Finally, the problem seem to be localized with a specific machine only. You can close this request.

Regards,

GGBCE
(0011157)
dam (administrator)
2016-06-15 15:13

Maybe you can remove/reinstall the package and see if the issue goes away.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker