I got hold of an old modem so that I could dial up directly from my Linux
machine and that fixed the problem, so it looks like libwww can't handle
secure connections via a proxy server.
John
----- Original Message -----
From: "Lin, Peter " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 13, 2000 2:13 PM
Subject: HTTPS proxy setup
> John,
> Got your email in LWP maillist, I have the same problem.(see attached)
> If you have your problem fixed, can you send it to me.
> Peter
>
> >From: "John Mannix" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: HTTPS proxy setup
>
> >I'm trying to get lib-www-perl to post some form data to a secure server
> via a proxy server. I've tried several variations along the lines of:
> >
> >$ua = new LWP::UserAgent;
> >$ua->proxy(https => 'https://xxx.xxx.x.x:port');
> >$req = new HTTP::Request(POST => 'https://something.com');
> >$res = $ua->request($req);
> >print $res->as_string;
> >
> >If I don't set up the proxy I get an error message saying the site cannot
> be found, which is to be expected. When I set up the proxy the script
hangs.
> >
> >The proxy handles https ok when used from a browser. I've tried pointing
> the proxy at http:// and https:// but neither seems to work.
> >
> >Any idea what is going wrong?
> >
> >Thanks,
> >John
> >
> >-- Governor Technology ---------------------------------
> >Web and Internet Software Development
> >John Mannix MA (Cantab)
> >Telephone: +44 20 8857 9846
> >Facsimile: +44 20 8857 8839
> >Email: [EMAIL PROTECTED]
> >Web: www.governor.co.uk
>
> Peter C. Lin
> CDAS/MDMA Development
> * 626-967-8204 / PAX: 48204, * [EMAIL PROTECTED]
>