Re: Service-now incidents are not creating after OS upgrade
[email protected] (Shlomi Fish) Fri, 15 Jun 2018 11:33:32 +0300
| Newsgroups | perl.libwww |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Thu, 14 Jun 2018 19:19:58 +0000 <[email protected]> wrote: > Hi All, >=20 > We have recently upgraded RHEL OS from 6.7 to 6.9. After upgrade we have > observed that service-now incidents are not creating. >=20 > We are using proxy to communicate. >=20 > Created simple script to make call to service-now, but it is failing to > connect. >=20 > #!/usr/bin/perl -w > use LWP::UserAgent; >=20 please see http://perl-begin.org/tutorials/bad-elements/ . > $ENV{https_proxy} =3D "http://rproxy-hdc.rwe.com:8080"; > $ENV{HTTPS_PROXY} =3D "http://rproxy-hdc.rwe.com:8080"; >=20 > my $ua =3D LWP::UserAgent->new; > $ua->env_proxy; >=20 > # declare the SOAP endpoint here > my $response =3D $ua -> > get('https://soap_user:[email protected]/?WSDL'); >=20 > if ($response->is_success) { > print "Connection success"; > } > else { > print "Connection failed"; > } >=20 > Script output: > [root@XXXX tmp]# perl test_lwp2.pl > 503 Service Unavailable at test_lwp2.pl line 29. > Connection failed There is no line 29 in your script. Can you show the actual code? > [root@XXXX tmp]# >=20 > We are using perl-libwww-perl-5.833-5 version. >=20 > Could you please help on how to proceed on this error ? >=20 >=20 > Regards, > Siva Vani >=20 --=20 ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/open-source/resources/tech-tips/ Chuck Norris can only convince you that you're deceased. Summer Glau can also convince you that you're alive, which is much harder. =E2=80=94 http://www.shlomifish.org/humour/bits/facts/Summer-Glau/ Please reply to list if it's a mailing list post - http://shlom.in/reply .