delorie.com/archives/browse.cgi | search |
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?= <Bjoern AT Kautler DOT net> |
Date: | Thu, 1 Nov 2012 19:05:23 +0100 |
Message-ID: | <CAKChYSqz8PXYhF3azLRVe=BcAQOC1ZnwzjLAxn7EWw-qKn398w@mail.gmail.com> |
Subject: | Problem with HTTPS in LWP module in Perl |
To: | cygwin AT sourceware DOT org |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |