X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org MIME-Version: 1.0 From: =?ISO-8859-1?Q?Bj=F6rn_Kautler?= Date: Thu, 1 Nov 2012 19:05:23 +0100 Message-ID: Subject: Problem with HTTPS in LWP module in Perl To: cygwin AT sourceware DOT org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qA1I66ka011039 Hi, I'm having a problem with https requests to "https://www.geocaching.com" in perl. Nothing was done at all, then I found out I need to install LWP::Protocol:https which I did with "cpan LWP::Protocol:https". Now according to Wireshark at least SSL communication is started. But after the "Client Hello" it just hangs until a timeout happens, waiting for the "Server Hello". With other HTTPS pages like "https://www.google.com" it works fine. The exact same Perl script works fine under Ubuntu. The https request to the same page works fine with curl under cygwin. If I change the SSL socket class to Net::SSL instead of IO::Socket::SSL, it also hangs after the "Client Hello", but then retries with SSLv3 instead of TLSv1 according to Wireshark and this at least works a bit better though not completely. So I guess something is weird in the Cygwin port of IO::Socket::SSL. :-/ Regards Björn -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple