Mantis - pm_lwp_protocol_https
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
5258 |
|
block |
always |
2015-11-13 22:58 |
2016-06-15 15:13 |
|
Reporter:
|
ggbce |
Platform:
|
|
|
Assigned To:
|
dam |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
|
|
Product Build:
|
|
Resolution:
|
unable to reproduce |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
|
|
|
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) |
Steps To Reproduce:
|
|
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) |
Relationships | |
Attached Files:
|
screenshots.zip [^] (125,279 bytes) 2015-11-13 22:58 |
|
Issue History |
Date Modified |
Username |
Field |
Change |
2015-11-13 22:58 |
ggbce |
New Issue |
|
2015-11-13 22:58 |
ggbce |
File Added: screenshots.zip |
|
2016-06-15 10:01 |
dam |
Note Added: 0011154 |
|
2016-06-15 10:01 |
dam |
Assigned To |
=> dam |
2016-06-15 10:01 |
dam |
Status |
new => feedback |
2016-06-15 15:11 |
ggbce |
Note Added: 0011156 |
|
2016-06-15 15:13 |
dam |
Note Added: 0011157 |
|
2016-06-15 15:13 |
dam |
Status |
feedback => closed |
2016-06-15 15:13 |
dam |
Resolution |
open => unable to reproduce |
Notes |
|
(0011154)
|
dam
|
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
|
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
|
2016-06-15 15:13
|
|
Maybe you can remove/reinstall the package and see if the issue goes away. |
|